Skip to content

Commit 6784c6c

Browse files
authored
Merge pull request #2207 from ImranR98/dev
- Fix "Forbidden" error for APKMirror (#1973) - Switch from title case to sentence case + minor wording change (#2195, #2197)
2 parents c87fc6f + b6ef153 commit 6784c6c

File tree

12 files changed

+179
-175
lines changed

12 files changed

+179
-175
lines changed

assets/translations/bs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
"appVerifierInstructionToast": "Dijeli sa AppVerifier-om, zatim se vratite kada ste spremni.",
316316
"wiki": "Pomoć/Wiki",
317317
"crowdsourcedConfigsLabel": "Konfiguracije aplikacije obezbeđene pomoću velikog broja ljudi (crowdsourcing) (koristite na svoju odgovornost)",
318-
"crowdsourcedConfigsShort": "Crowdsourced App Configs",
318+
"crowdsourcedConfigsShort": "Crowdsourced App Configurations",
319319
"allowInsecure": "Allow insecure HTTP requests",
320320
"stayOneVersionBehind": "Stay one version behind latest",
321321
"refreshBeforeDownload": "Refresh app details before download",

assets/translations/en-EO.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
"appVerifierInstructionToast": "Diskonigu kun AppVerifier, poste revenu ĉi tie kiam preta.",
316316
"wiki": "Helpo/Vikio",
317317
"crowdsourcedConfigsLabel": "Komunumaj apo-agordoj (uzu kun singardo)",
318-
"crowdsourcedConfigsShort": "Crowdsourced App Configs",
318+
"crowdsourcedConfigsShort": "Crowdsourced App Configurations",
319319
"allowInsecure": "Allow insecure HTTP requests",
320320
"stayOneVersionBehind": "Stay one version behind latest",
321321
"refreshBeforeDownload": "Refresh app details before download",

assets/translations/en.json

+147-147
Large diffs are not rendered by default.

assets/translations/hu.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
"appVerifierInstructionToast": "Ossza meg az AppVerifierrel, majd térjen vissza ide, ha kész.",
316316
"wiki": "Súgó/Wiki",
317317
"crowdsourcedConfigsLabel": "Crowdsource-ből származó alkalmazások beállítása (saját felelősségére használja)",
318-
"crowdsourcedConfigsShort": "Crowdsourced App Configs",
318+
"crowdsourcedConfigsShort": "Crowdsourced App Configurations",
319319
"allowInsecure": "Nem biztonságos HTTP-kérések engedélyezése",
320320
"stayOneVersionBehind": "Maradjon egy verzióval a legújabb mögött",
321321
"refreshBeforeDownload": "Az alkalmazás adatainak frissítése a letöltés előtt",

assets/translations/vi.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
"appVerifierInstructionToast": "Chia sẻ lên AppVerifier, sau đó quay lại đây khi sẵn sàng.",
316316
"wiki": "Trợ giúp/Wiki",
317317
"crowdsourcedConfigsLabel": "Crowdsourced App Configurations (use at your own risk)",
318-
"crowdsourcedConfigsShort": "Crowdsourced App Configs",
318+
"crowdsourcedConfigsShort": "Crowdsourced App Configurations",
319319
"allowInsecure": "Allow insecure HTTP requests",
320320
"stayOneVersionBehind": "Stay one version behind latest",
321321
"refreshBeforeDownload": "Refresh app details before download",

lib/app_sources/apkmirror.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ class APKMirror extends AppSource {
7272
true
7373
? additionalSettings['filterReleaseTitlesByRegEx']
7474
: null;
75-
Response res = await sourceRequest('$standardUrl/feed', additionalSettings);
75+
Response res =
76+
await sourceRequest('$standardUrl/feed/', additionalSettings);
7677
if (res.statusCode == 200) {
7778
var items = parse(res.body).querySelectorAll('item');
7879
dynamic targetRelease;

lib/app_sources/tencent.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Tencent extends AppSource {
6565
var releaseDate =
6666
json['app_detail_records'][appId]['app_info']['update_time'];
6767
var apkName = Uri.parse(apkUrl).queryParameters['fsname'] ??
68-
'${appId}_${version}.apk';
68+
'${appId}_$version.apk';
6969

7070
return APKDetails(
7171
version, [MapEntry(apkName, apkUrl)], AppNames(author, appName),

lib/pages/import_export.dart

+3-2
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,9 @@ class _ImportExportPageState extends State<ImportExportPage> {
490490
searchSource[0]);
491491
}
492492
},
493-
child: Text(tr('searchX',
494-
args: [tr('source')])))),
493+
child: Text(tr('searchX', args: [
494+
tr('source').toLowerCase()
495+
])))),
495496
],
496497
),
497498
const SizedBox(height: 8),

lib/providers/apps_provider.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,9 @@ class AppsProvider with ChangeNotifier {
800800
if (newInfo == null) {
801801
try {
802802
file.file.deleteSync(recursive: true);
803-
additionalAPKs.forEach((a) => a.file.deleteSync(recursive: true));
803+
for (var a in additionalAPKs) {
804+
a.file.deleteSync(recursive: true);
805+
}
804806
} catch (e) {
805807
//
806808
} finally {

lib/providers/source_provider.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ class App {
363363
otherAssetUrls: otherAssetUrls);
364364

365365
factory App.fromJson(Map<String, dynamic> json) {
366-
Map<String, dynamic> originalJSON = new Map.from(json);
366+
Map<String, dynamic> originalJSON = Map.from(json);
367367
try {
368368
json = appJSONCompatibilityModifiers(json);
369369
} catch (e) {

pubspec.lock

+16-16
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ packages:
8080
dependency: transitive
8181
description:
8282
name: archive
83-
sha256: "0c64e928dcbefddecd234205422bcfc2b5e6d31be0b86fef0d0dd48d7b4c9742"
83+
sha256: "7dcbd0f87fe5f61cb28da39a1a8b70dbc106e2fe0516f7836eb7bb2948481a12"
8484
url: "https://pub.dev"
8585
source: hosted
86-
version: "4.0.4"
86+
version: "4.0.5"
8787
args:
8888
dependency: transitive
8989
description:
@@ -104,10 +104,10 @@ packages:
104104
dependency: "direct main"
105105
description:
106106
name: background_fetch
107-
sha256: e9f26ae54d88310b7ac2a68f2f9fcee0081a4d5f11100f233a70702021e7ac4f
107+
sha256: "442e82f508708be89fd0cc7e1dc3b27bc7c6c8c39a47967ccb7ed1c57b9108b5"
108108
url: "https://pub.dev"
109109
source: hosted
110-
version: "1.3.7"
110+
version: "1.3.8"
111111
battery_plus:
112112
dependency: "direct main"
113113
description:
@@ -304,10 +304,10 @@ packages:
304304
dependency: "direct main"
305305
description:
306306
name: file_picker
307-
sha256: ee11ce89f8937c39181bc88d57a455972f7545b86150d8f287d0d9cf95bcdf0a
307+
sha256: "09b474c0c8117484b80cbebc043801ff91e05cfbd2874d512825c899e1754694"
308308
url: "https://pub.dev"
309309
source: hosted
310-
version: "9.1.0"
310+
version: "9.2.3"
311311
fixnum:
312312
dependency: transitive
313313
description:
@@ -580,10 +580,10 @@ packages:
580580
dependency: transitive
581581
description:
582582
name: image
583-
sha256: "13d3349ace88f12f4a0d175eb5c12dcdd39d35c4c109a8a13dfeb6d0bd9e31c3"
583+
sha256: "4e973fcf4caae1a4be2fa0a13157aa38a8f9cb049db6529aa00b4d71abc4d928"
584584
url: "https://pub.dev"
585585
source: hosted
586-
version: "4.5.3"
586+
version: "4.5.4"
587587
intl:
588588
dependency: transitive
589589
description:
@@ -860,10 +860,10 @@ packages:
860860
dependency: "direct main"
861861
description:
862862
name: provider
863-
sha256: c8a055ee5ce3fd98d6fc872478b03823ffdb448699c6ebdbbc71d59b596fd48c
863+
sha256: "489024f942069c2920c844ee18bb3d467c69e48955a4f32d1677f71be103e310"
864864
url: "https://pub.dev"
865865
source: hosted
866-
version: "6.1.2"
866+
version: "6.1.4"
867867
share_plus:
868868
dependency: "direct main"
869869
description:
@@ -884,10 +884,10 @@ packages:
884884
dependency: "direct main"
885885
description:
886886
name: shared_preferences
887-
sha256: "846849e3e9b68f3ef4b60c60cf4b3e02e9321bc7f4d8c4692cf87ffa82fc8a3a"
887+
sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"
888888
url: "https://pub.dev"
889889
source: hosted
890-
version: "2.5.2"
890+
version: "2.5.3"
891891
shared_preferences_android:
892892
dependency: transitive
893893
description:
@@ -950,8 +950,8 @@ packages:
950950
description:
951951
path: "."
952952
ref: master
953-
resolved-ref: "25acc02612c2e0fcae40d312e047ac48106f8f6b"
954-
url: "https://github.com/re7gog/shizuku_apk_installer"
953+
resolved-ref: c4349ceb03ae7293987cc0290ef06761e62c082e
954+
url: "https://github.com/wilver06w/shizuku_apk_installer"
955955
source: git
956956
version: "0.0.1"
957957
sky_engine:
@@ -1195,10 +1195,10 @@ packages:
11951195
dependency: transitive
11961196
description:
11971197
name: webview_flutter_android
1198-
sha256: "631093a7fbd93e9690ac61d8c8f3e857efbc189fc33f712b9ad6c01a623517ef"
1198+
sha256: e09150b28a07933839adef0e4a088bb43e8c8d9e6b93025b01882d4067a58ab0
11991199
url: "https://pub.dev"
12001200
source: hosted
1201-
version: "4.3.3"
1201+
version: "4.3.4"
12021202
webview_flutter_platform_interface:
12031203
dependency: transitive
12041204
description:

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1616
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
1717
# In Windows, build-name is used as the major, minor, and patch parts
1818
# of the product and file versions while build-number is used as the build suffix.
19-
version: 1.1.47+2304
19+
version: 1.1.48+2305
2020

2121
environment:
2222
sdk: ^3.6.0
@@ -80,7 +80,7 @@ dependencies:
8080
ref: master
8181
shizuku_apk_installer:
8282
git:
83-
url: https://github.com/re7gog/shizuku_apk_installer
83+
url: https://github.com/wilver06w/shizuku_apk_installer
8484
ref: master
8585

8686
markdown: any

0 commit comments

Comments
 (0)