Fixed bugfix with GitHub track-only Apps with no APK

This commit is contained in:
Imran Remtulla
2022-11-25 23:12:15 -05:00
parent 9b5b212e96
commit 086b2b949f
9 changed files with 21 additions and 12 deletions

View File

@@ -56,7 +56,8 @@ class FDroid extends AppSource {
@override
Future<APKDetails> getLatestAPKDetails(
String standardUrl, List<String> additionalData) async {
String standardUrl, List<String> additionalData,
{bool trackOnly = false}) async {
String? appId = tryInferringAppId(standardUrl);
return getAPKUrlsFromFDroidPackagesAPIResponse(
await get(Uri.parse('https://f-droid.org/api/v1/packages/$appId')),