Revision 100764d0
Added by Leszek Koltunski almost 3 years ago
build.gradle | ||
---|---|---|
15 | 15 |
applicationId "org.distorted.magic" |
16 | 16 |
minSdkVersion 21 |
17 | 17 |
targetSdkVersion 31 |
18 |
versionCode 44
|
|
19 |
versionName "1.9.2"
|
|
18 |
versionCode 45
|
|
19 |
versionName "1.9.3"
|
|
20 | 20 |
} |
21 | 21 |
|
22 | 22 |
buildTypes { |
... | ... | |
37 | 37 |
api project(':distorted-objectlib') |
38 | 38 |
api project(':distorted-flags') |
39 | 39 |
|
40 |
implementation 'com.google.firebase:firebase-analytics:20.0.0'
|
|
41 |
implementation 'com.google.firebase:firebase-crashlytics:18.2.4'
|
|
40 |
implementation 'com.google.firebase:firebase-analytics:20.0.2'
|
|
41 |
implementation 'com.google.firebase:firebase-crashlytics:18.2.6'
|
|
42 | 42 |
implementation 'com.google.android.play:core:1.10.2' |
43 | 43 |
implementation 'androidx.appcompat:appcompat:1.4.0' |
44 | 44 |
implementation 'com.google.android.material:material:1.4.0' |
src/main/java/org/distorted/network/RubikNetwork.java | ||
---|---|---|
514 | 514 |
String reclist = scores.getRecordList("&o=","&l=","&t="); |
515 | 515 |
String country = scores.getCountry(); |
516 | 516 |
long epoch = System.currentTimeMillis(); |
517 |
String salt = "cuboid";
|
|
517 |
String salt = "cubold";
|
|
518 | 518 |
|
519 | 519 |
String renderer = DistortedLibrary.getDriverRenderer(); |
520 | 520 |
String version = DistortedLibrary.getDriverVersion(); |
... | ... | |
528 | 528 |
url2 += "&d="+renderer+"&s="+version; |
529 | 529 |
url2 += reclist+"&c="+country+"&f="+epoch+"&oo="+getObjectList(); |
530 | 530 |
url2 += "&min=0&max="+MAX_LEVEL+"&lo="+MAX_PLACES; |
531 |
String hash = computeHash( url2, salt.getBytes() ); |
|
531 |
String hash = computeHash( url2+"d", salt.getBytes() );
|
|
532 | 532 |
|
533 | 533 |
return url1 + "?" + url2 + "&h=" + hash; |
534 | 534 |
} |
Also available in: Unified diff
Up version to 1.9.3