apkpure: determine APK/XAPK only by asset type, ignore APKs

apks install resulted in "incompatible" error with some apps on testing
This commit is contained in:
bernikr
2025-05-19 19:14:11 +02:00
parent 369127806f
commit 5b6299496f

View File

@ -83,9 +83,6 @@ class APKPure extends AppSource {
}
String type = e['asset']['type'];
if (e['is_a_p_ks'] == true) {
type = 'APK';
}
var downloadUri = Uri.parse("https://d.cdnpure.com/b/$type/$appId");
var queryParameters = {