Project

General

Profile

« Previous | Next » 

Revision 1fa599b8

Added by Leszek Koltunski over 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:

build.gradle
9 9
            keyAlias = 'distorted'
10 10
        }
11 11
    }
12
    compileSdkVersion 33
12
    compileSdkVersion 32
13 13

  
14 14
    defaultConfig {
15 15
        applicationId "org.distorted.magic"
16 16
        minSdkVersion 21
17
        targetSdkVersion 33
17
        targetSdkVersion 32
18 18
        versionCode 72
19 19
        versionName "1.12.5"
20 20
    }
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