Better partial APK hash as pseudo-version (related to #1101)

This commit is contained in:
Imran Remtulla
2024-01-18 20:45:06 -05:00
parent 595d5dc283
commit bb07000280
2 changed files with 20 additions and 3 deletions

View File

@@ -310,7 +310,7 @@ class HTML extends AppSource {
: rel);
version ??= additionalSettings['supportFixedAPKURL'] != true
? rel.hashCode.toString()
: (await checkDownloadHash(rel)).toString();
: (await checkPartialDownloadHashDynamc(rel)).toString();
return APKDetails(version, [rel].map((e) => MapEntry(e, e)).toList(),
AppNames(uri.host, tr('app')));
}