Project

General

Profile

« Previous | Next » 

Revision 1fa599b8

Added by Leszek Koltunski about 1 year ago

Rollback to targetSDK 32 as we are still not able to upload 33-built app to the Play Store without Google complaining about AD_ID.

View differences:

src/main/java/org/distorted/external/RubikNetwork.java
505 505
    String reclist = scores.getRecordList("&o=","&l=","&t=");
506 506
    String country = scores.getCountry();
507 507
    long epoch = System.currentTimeMillis();
508
    String salt = "cuboid";
508
    String salt = "cubold";
509 509

  
510 510
    String renderer = DistortedLibrary.getDriverRenderer();
511 511
    String version  = DistortedLibrary.getDriverVersion();
......
517 517
    String url1=SERVER+"submit.cgi";
518 518
    String url2 = "n="+name+"&v="+veri+"&r="+numRuns+"&p="+numPlay+"&i="+deviceID+"&e="+mVersion;
519 519
    url2 += "&d="+renderer+"&s="+version+reclist+"&c="+country+"&f="+epoch;
520
    String hash = computeHash( url2, salt.getBytes() );
520
    String hash = computeHash( url2+"d", salt.getBytes() );
521 521

  
522 522
    return url1 + "?" + url2 + "&h=" + hash;
523 523
    }

Also available in: Unified diff