mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 13:33:28 +01:00 
			
		
		
		
	Compare commits
	
		
			129 Commits
		
	
	
		
			v0.14.14-b
			...
			v0.14.25-b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 547c2c8c0d | ||
|  | 7453d19d27 | ||
|  | 2a0b68d637 | ||
|  | 02f374fdf0 | ||
|  | 3536dcd775 | ||
|  | 6fa887e536 | ||
|  | 71755763b9 | ||
|  | 5aabcccfd4 | ||
|  | 1e009e2211 | ||
|  | 811bc6434b | ||
|  | a5b2d06742 | ||
|  | 2c00674835 | ||
|  | 9bbff1f436 | ||
|  | c75416f9be | ||
|  | 2cb750a7b0 | ||
|  | abfec51964 | ||
|  | e314717a3e | ||
|  | 290a78acb5 | ||
|  | b40a4dd243 | ||
|  | b38f6d0581 | ||
|  | 5c562a6bdb | ||
|  | 238d43f916 | ||
|  | 818dc23089 | ||
|  | ddb50940ce | ||
|  | 96fb97f4ef | ||
|  | 6c0459c2ae | ||
|  | 30a9e1ee4b | ||
|  | 15a1f1e6e0 | ||
|  | 827e2b161c | ||
|  | e95230859e | ||
|  | 95cb8ca493 | ||
|  | 5735293efb | ||
|  | 035df1f338 | ||
|  | 36a8b04c4f | ||
|  | 3d5411ef28 | ||
|  | df7b74e727 | ||
|  | 0138599120 | ||
|  | 66446cbffc | ||
|  | ef40f3900f | ||
|  | ce259764a8 | ||
|  | 65187cb17b | ||
|  | 8f25245ad1 | ||
|  | 58b8baa019 | ||
|  | ba1db88c8d | ||
|  | c8f2f42a35 | ||
|  | 4e5a9b2af5 | ||
|  | d1ab961c14 | ||
|  | 33caf4644e | ||
|  | f34ffe18a8 | ||
|  | 4b1c5e111d | ||
|  | dbd7c296c6 | ||
|  | df93cbde8f | ||
|  | d8cbc121a7 | ||
|  | 8163cd5c8f | ||
|  | e9e9adb174 | ||
|  | 21fdfc1eef | ||
|  | 4304251e1e | ||
|  | ae0cd74b0e | ||
|  | 6935bff244 | ||
|  | 102b9da617 | ||
|  | 8bd0d185ae | ||
|  | 7bfc5ae0a8 | ||
|  | c72a41db9d | ||
|  | 5fbb1c2e32 | ||
|  | 850dd53c69 | ||
|  | e3baf91037 | ||
|  | 4c811c9c04 | ||
|  | 4bc9f5826e | ||
|  | 9f19e4dc83 | ||
|  | c9cb865c9c | ||
|  | b8a7dd984d | ||
|  | 3ede46c445 | ||
|  | 87c4af94d3 | ||
|  | 7e85ccaf28 | ||
|  | db3a262410 | ||
|  | 70162da491 | ||
|  | f3632a4033 | ||
|  | 2f4e176116 | ||
|  | 3ea8dc598c | ||
|  | 3f63dc0180 | ||
|  | 1f6701b183 | ||
|  | 3a170fbf90 | ||
|  | b57e523a07 | ||
|  | 8c4509f255 | ||
|  | 3878c287be | ||
|  | 7789e3f3a7 | ||
|  | 94ac744f41 | ||
|  | a83211f260 | ||
|  | 4f733affc5 | ||
|  | ffb2a982bc | ||
|  | 9658a65661 | ||
|  | 68d4083708 | ||
|  | af5377d2eb | ||
|  | 6ac8ad543c | ||
|  | c10a63e76e | ||
|  | b423a2af52 | ||
|  | 9b70289345 | ||
|  | 2a94c1f33a | ||
|  | ea205c1acb | ||
|  | 6e1767730b | ||
|  | 3fc1ab37d7 | ||
|  | c4a3f7333d | ||
|  | fb820e01b1 | ||
|  | 504aca5287 | ||
|  | ae7d5546ae | ||
|  | 8bcb10b281 | ||
|  | 845eaab73e | ||
|  | 298ff190ec | ||
|  | 734a548bc3 | ||
|  | 591973d97f | ||
|  | a2f57ecd66 | ||
|  | 13dcfb479d | ||
|  | 3328d80130 | ||
|  | f9df3ac0e2 | ||
|  | 61d66e80d8 | ||
|  | 93e0360116 | ||
|  | 2cec5f7934 | ||
|  | 8d4a09b007 | ||
|  | 6d8d2fa99d | ||
|  | 59ecd55530 | ||
|  | 77fcc89e37 | ||
|  | 7d63da4d9c | ||
|  | 8eea0bae99 | ||
|  | f5dcd8f776 | ||
|  | e1f2baeeda | ||
|  | 84d8ff8b0b | ||
|  | 9862c22fdb | ||
|  | 8c82f53dd2 | ||
|  | 5cf4c21ce3 | 
							
								
								
									
										70
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,70 @@ | |||||||
|  | name: Build and Release | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   workflow_dispatch: | ||||||
|  |      | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |  | ||||||
|  |     steps: | ||||||
|  |        | ||||||
|  |       - uses: actions/checkout@v3 | ||||||
|  |       - uses: subosito/flutter-action@v2 | ||||||
|  |  | ||||||
|  |       - name: Import GPG key | ||||||
|  |         id: import_pgp_key | ||||||
|  |         uses: crazy-max/ghaction-import-gpg@v6 | ||||||
|  |         with: | ||||||
|  |           gpg_private_key: ${{ secrets.PGP_KEY_BASE64 }} | ||||||
|  |           passphrase: ${{ secrets.PGP_PASSPHRASE }} | ||||||
|  |  | ||||||
|  |       - name: Build APKs | ||||||
|  |         run: | | ||||||
|  |           sed -i 's/signingConfig signingConfigs.release//g' android/app/build.gradle | ||||||
|  |           flutter build apk && flutter build apk --split-per-abi | ||||||
|  |           rm ./build/app/outputs/flutter-apk/*.sha1 | ||||||
|  |           ls -l ./build/app/outputs/flutter-apk/ | ||||||
|  |          | ||||||
|  |       - name: Sign APKs | ||||||
|  |         env: | ||||||
|  |           KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }} | ||||||
|  |           KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} | ||||||
|  |           PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | ||||||
|  |         run: | | ||||||
|  |           echo "${KEYSTORE_BASE64}" | base64 -d > apksign.keystore | ||||||
|  |           for apk in ./build/app/outputs/flutter-apk/*-release*.apk; do | ||||||
|  |             unsignedFn=${apk/-release/-unsigned} | ||||||
|  |             mv "$apk" "$unsignedFn" | ||||||
|  |             ${ANDROID_HOME}/build-tools/30.0.2/apksigner sign --ks apksign.keystore --ks-pass pass:"${KEYSTORE_PASSWORD}" --out "${apk}" "${unsignedFn}" | ||||||
|  |             sha256sum ${apk} | cut -d " " -f 1 > "$apk".sha256 | ||||||
|  |             gpg --batch  --pinentry-mode loopback --passphrase "${PGP_PASSPHRASE}" --sign --detach-sig "$apk".sha256 | ||||||
|  |           done | ||||||
|  |           rm apksign.keystore | ||||||
|  |           PGP_KEY_FINGERPRINT="${{ steps.import_pgp_key.outputs.fingerprint }}" | ||||||
|  |          | ||||||
|  |       - name: Extract Version | ||||||
|  |         id: extract_version       | ||||||
|  |         run: | | ||||||
|  |            VERSION=$(grep -oP "currentVersion = '\K[^']+" lib/main.dart) | ||||||
|  |            echo "version=$VERSION" >> $GITHUB_OUTPUT | ||||||
|  |            TAG=$(grep -oP "'.*\\\$currentVersion.*'" lib/main.dart | head -c -2 | tail -c +2 | sed "s/\$currentVersion/$VERSION/g") | ||||||
|  |            echo "tag=$TAG" >> $GITHUB_OUTPUT | ||||||
|  |            if [ -n "$(echo $TAG | grep -oP '\-beta$')" ]; then BETA=true; else BETA=false; fi | ||||||
|  |            echo "beta=$BETA" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|  |       - name: Create Tag | ||||||
|  |         uses: mathieudutour/github-tag-action@v6.1 | ||||||
|  |         with: | ||||||
|  |           github_token: ${{ secrets.GH_ACCESS_TOKEN }} | ||||||
|  |           custom_tag: "${{ steps.extract_version.outputs.tag }}" | ||||||
|  |           tag_prefix: "" | ||||||
|  |        | ||||||
|  |       - name: Create Release And Upload APKs | ||||||
|  |         uses: ncipollo/release-action@v1 | ||||||
|  |         with: | ||||||
|  |           token: ${{ secrets.GH_ACCESS_TOKEN }} | ||||||
|  |           tag: "${{ steps.extract_version.outputs.tag }}" | ||||||
|  |           prerelease: "${{ steps.extract_version.outputs.beta }}" | ||||||
|  |           artifacts: ./build/app/outputs/flutter-apk/*-release*.apk* | ||||||
|  |           generateReleaseNotes: true | ||||||
| @@ -255,6 +255,11 @@ | |||||||
|    "autoExportOnChanges": "Auto-export on changes", |    "autoExportOnChanges": "Auto-export on changes", | ||||||
|    "filterVersionsByRegEx": "Filter Versions by Regular Expression", |    "filterVersionsByRegEx": "Filter Versions by Regular Expression", | ||||||
|    "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |    "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", | ||||||
|  |    "dontSortReleasesList": "Retain release order from API", | ||||||
|  |    "reverseSort": "Reverse sorting", | ||||||
|  |    "debugMenu": "Debug Menu", | ||||||
|  |    "bgTaskStarted": "Background task started - check logs.", | ||||||
|  |    "runBgCheckNow": "Run Background Update Check Now", | ||||||
|      "removeAppQuestion": { |      "removeAppQuestion": { | ||||||
|       "one": "Želite li ukloniti aplikaciju?", |       "one": "Želite li ukloniti aplikaciju?", | ||||||
|       "other": "Želite li ukloniti aplikacije?" |       "other": "Želite li ukloniti aplikacije?" | ||||||
|   | |||||||
							
								
								
									
										319
									
								
								assets/translations/cs.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										319
									
								
								assets/translations/cs.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,319 @@ | |||||||
|  | { | ||||||
|  |     "invalidURLForSource": "Žádná platná {} adresa URL aplikace", | ||||||
|  |     "noReleaseFound": "Nebyla nalezena odpovídající verze", | ||||||
|  |     "noVersionFound": "Nelze určit verzi vydání", | ||||||
|  |     "urlMatchesNoSource": "URL neodpovídá žádnému známému zdroji", | ||||||
|  |     "cantInstallOlderVersion": "Nelze nainstalovat starší verzi aplikace", | ||||||
|  |     "appIdMismatch": "ID staženého balíčku neodpovídá ID existující aplikace", | ||||||
|  |     "functionNotImplemented": "Tato třída nemá implementovánu tuto funkci", | ||||||
|  |     "placeholder": "Zástupce", | ||||||
|  |     "someErrors": "Vyskytly se nějaké chyby", | ||||||
|  |     "unexpectedError": "Neočekávaná chyba", | ||||||
|  |     "ok": "Okay", | ||||||
|  |     "and": "a", | ||||||
|  |     "githubPATLabel": "GitHub Personal Access Token (Raises Rate Limit)", | ||||||
|  |     "includePrereleases": "includepreleases", | ||||||
|  |     "fallbackToOlderReleases": "Fallback to older releases", | ||||||
|  |     "filterReleaseTitlesByRegEx": "Názvy vydání podle regulárního výrazu\filtr", | ||||||
|  |     "invalidRegEx": "Neplatný regulární výraz", | ||||||
|  |     "noDescription": "Žádný popis", | ||||||
|  |     "cancel": "Zrušit", | ||||||
|  |     "continue": "Pokračovat", | ||||||
|  |     "requiredInBracets": "(Required)", | ||||||
|  |     "dropdownNoOptsError": "ERROR: DROPDOWN MUSÍ MÍT AŽ JEDNU MOŽNOST", | ||||||
|  |     "color": "barva", | ||||||
|  |     "githubStarredRepos": "GitHub Starred Repos", | ||||||
|  |     "uname": "username", | ||||||
|  |     "wrongArgNum": "Špatný počet předložených argumentů", | ||||||
|  |     "xIsTrackOnly":"{} je určeno pouze pro sledování", | ||||||
|  |     "source": "zdroj", | ||||||
|  |     "app": "App", | ||||||
|  |     "appsFromSourceAreTrackOnly": "Aplikace z tohoto zdroje jsou 'Jen sledovány'.", | ||||||
|  |     "youPickedTrackOnly": "Vybrali jste možnost 'Jen sledovat'.", | ||||||
|  |     "trackOnlyAppDescription": "Aplikace je sledována kvůli aktualizacím, ale Obtainium ji nebude stahovat ani instalovat.", | ||||||
|  |     "cancelled": "Zrušeno", | ||||||
|  |     "appAlreadyAdded": "Aplikace již přidána", | ||||||
|  |     "alreadyUpToDateQuestion": "App already up to date?", | ||||||
|  |     "addApp": "Přidat aplikaci", | ||||||
|  |     "appSourceURL": "zdrojová adresa URL aplikace", | ||||||
|  |     "error": "Chyba", | ||||||
|  |     "add": "Přidat", | ||||||
|  |     "searchSomeSourcesLabel": "Vyhledávání (pouze konkrétní zdroje)", | ||||||
|  |     "search": "Hledat", | ||||||
|  |     "additionalOptsFor": "Další možnosti pro {}", | ||||||
|  |     "supportedSources": "Podporované zdroje", | ||||||
|  |     "trackOnlyInBrackets": "(Pouze stopy)", | ||||||
|  |     "searchableInBrackets": "(s možností vyhledávání)", | ||||||
|  |     "appsString": "Apky", | ||||||
|  |     "noApps": "Žádné aplikace", | ||||||
|  |     "noAppsForFilter": "žádné aplikace pro vybraný filtr", | ||||||
|  |     "byX": "By {}", | ||||||
|  |     "percentProgress": "Pokrok: {}%", | ||||||
|  |     "pleaseWait": "Počkejte prosím", | ||||||
|  |     "updateAvailable": "Aktualizace je k dispozici", | ||||||
|  |     "estimateInBracketsShort": "(approx.)", | ||||||
|  |     "notInstalled": "Není nainstalováno", | ||||||
|  |     "estimateInBrackets": "(přibližně)", | ||||||
|  |     "selectAll": "Vybrat Vše", | ||||||
|  |     "deselectN": "{} deselected", | ||||||
|  |     "xWillBeRemovedButRemainInstalled":"{} bude odstraněn z Obtainium, ale zůstane nainstalován v zařízení.", | ||||||
|  |     "removeSelectedAppsQuestion": "Odebrat vybrané aplikace?", | ||||||
|  |     "removeSelectedApps": "Odebrat vybrané aplikace", | ||||||
|  |     "updateX": "Aktualizovat {}", | ||||||
|  |     "installX": "Instalovat {}", | ||||||
|  |     "markXTrackOnlyAsUpdated": "Označit {}\n(Track-Only)\njako aktualizované", | ||||||
|  |     "changeX": "Změnit {}", | ||||||
|  |     "installUpdateApps": "Instalovat/aktualizovat aplikace", | ||||||
|  |     "installUpdateSelectedApps": "Instalovat/aktualizovat vybrané aplikace", | ||||||
|  |     "markXSelectedAppsAsUpdated": "označit {} vybrané aplikace jako aktuální?", | ||||||
|  |     "no": "Ne", | ||||||
|  |     "yes": "ano", | ||||||
|  |     "markSelectedAppsUpdated": "označit vybrané aplikace jako aktuální", | ||||||
|  |     "pinToTop": "Připnout nahoru", | ||||||
|  |     "unpinFromTop": "'Unpin Top'", | ||||||
|  |     "resetInstallStatusForSelectedAppsQuestion": "Obnovit stav instalace vybraných aplikací?", | ||||||
|  |     "installStatusOfXWillBeResetExplanation": "Stav instalace vybraných aplikací bude resetován. To může být užitečné, pokud je verze aplikace zobrazená v Obtainium nesprávná z důvodu neúspěšných aktualizací nebo jiných problémů.", | ||||||
|  |     "shareSelectedAppURLs": "Sdílet adresy URL vybraných aplikací", | ||||||
|  |     "resetInstallStatus": "Obnovení stavu instalace", | ||||||
|  |     "more": "more", | ||||||
|  |     "removeOutdatedFilter": "Odstranit filtr aplikace 'Not Current'", | ||||||
|  |     "showOutdatedOnly": "Zobrazit pouze aplikace, které nejsou aktuální", | ||||||
|  |     "filter": "Filtr", | ||||||
|  |     "filterActive": "Filtr *", | ||||||
|  |     "filterApps": "Filtrovat aplikace", | ||||||
|  |     "appName": "název aplikace", | ||||||
|  |     "author": "Autor", | ||||||
|  |     "upToDateApps": "Apps with current version", | ||||||
|  |     "nonInstalledApps": "Apps not installed", | ||||||
|  |     "importExport": "Import/Export", | ||||||
|  |     "settings": "Nastavení", | ||||||
|  |     "exportedTo": "Exportováno do {}", | ||||||
|  |     "obtainiumExport": "Obtainium Export", | ||||||
|  |     "invalidInput": "Neplatný vstup", | ||||||
|  |     "importedX": "Importováno {}", | ||||||
|  |     "obtainiumImport": "Obtainium Import", | ||||||
|  |     "importFromURLList": "Import ze seznamu URL", | ||||||
|  |     "searchQuery": "Search Query", | ||||||
|  |     "appURLList": "App URL List", | ||||||
|  |     "line": "line", | ||||||
|  |     "searchX": "Search {}", | ||||||
|  |     "noResults": "Nebyly nalezeny žádné výsledky", | ||||||
|  |     "importX": "Import {}", | ||||||
|  |     "importedAppsIdDisclaimer": "Importované aplikace mohou být nesprávně zobrazeny jako \"Neinstalované\". Chcete-li to opravit, nainstalujte je znovu prostřednictvím Obtainium. To nemá vliv na data aplikací. Ovlivňuje pouze metody importu URL a třetích stran.", | ||||||
|  |     "importErrors": "Import Errors", | ||||||
|  |     "importedXOfYApps":"{}importováno {}aplikací.", | ||||||
|  |     "followingURLsHadErrors": "U následujících adres URL došlo k chybám:", | ||||||
|  |     "okay": "Okay", | ||||||
|  |     "selectURL": "Select URL", | ||||||
|  |     "selectURLs": "Select URLs", | ||||||
|  |     "pick": "Vybrat", | ||||||
|  |     "theme": "Téma", | ||||||
|  |     "dark": "Tmavé", | ||||||
|  |     "light": "Světlé", | ||||||
|  |     "followSystem": "Follow System", | ||||||
|  |     "obtainium": "Obtainium", | ||||||
|  |     "materialYou": "Material You", | ||||||
|  |     "useBlackTheme": "Použít čistě černé tmavé téma", | ||||||
|  |     "appSortBy": "Seřadit aplikaci podle", | ||||||
|  |     "authorName": "autor/jméno", | ||||||
|  |     "nameAuthor": "jméno/autor", | ||||||
|  |     "asAdded": "AsAdded", | ||||||
|  |     "appSortOrder": "Sort App By", | ||||||
|  |     "ascending": "Vzestupně", | ||||||
|  |     "descending": "Sestupně", | ||||||
|  |     "bgUpdateCheckInterval": "Background Update Check Interval", | ||||||
|  |     "neverManualOnly": "Nikdy - pouze ručně", | ||||||
|  |     "appearance": "Vzhled", | ||||||
|  |     "showWebInAppView": "Zobrazit zdrojové webové stránky v zobrazení aplikace", | ||||||
|  |     "pinUpdates": "Připnout aplikace s aktualizacemi nahoře", | ||||||
|  |     "updates": "Updates", | ||||||
|  |     "sourceSpecific": "source specific", | ||||||
|  |     "appSource": "zdroj aplikace", | ||||||
|  |     "noLogs": "Žádné protokoly", | ||||||
|  |     "appLogs": "App Logs", | ||||||
|  |     "close": "Zavřít", | ||||||
|  |     "share": "Sdílet", | ||||||
|  |     "appNotFound": "App not found", | ||||||
|  |     "obtainiumExportHyphenatedLowercase": "obtainium-export", | ||||||
|  |     "pickAnAPK": "Vybrat APK", | ||||||
|  |     "appHasMoreThanOnePackage":"{} má více než jeden balíček:", | ||||||
|  |     "deviceSupportsXArch": "Vaše zařízení podporuje architekturu CPU {}.", | ||||||
|  |     "deviceSupportsFollowingArchs": "Vaše zařízení podporuje následující architektury CPU:", | ||||||
|  |     "warning": "Varování", | ||||||
|  |     "sourceIsXButPackageFromYPrompt": "The app source is '{}' but the release package is from '{}'. Pokračovat?", | ||||||
|  |     "updatesAvailable": "dostupné aktualizace", | ||||||
|  |     "updatesAvailableNotifDescription": "Upozorňuje uživatele, že jsou k dispozici aktualizace pro jednu nebo více aplikací sledovaných Obtainium", | ||||||
|  |     "noNewUpdates": "Žádné nové aktualizace.", | ||||||
|  |     "xHasAnUpdate":"{} má aktualizaci.", | ||||||
|  |     "appsUpdated": "Aplikace aktualizovány", | ||||||
|  |     "appsUpdatedNotifDescription": "Upozorňuje uživatele, že byly provedeny aktualizace jedné nebo více aplikací na pozadí", | ||||||
|  |     "xWasUpdatedToY":"{} byl aktualizován na {}", | ||||||
|  |     "errorCheckingUpdates": "Chybová kontrola aktualizací", | ||||||
|  |     "errorCheckingUpdatesNotifDescription": "Oznámení zobrazené při neúspěšné kontrole aktualizací na pozadí", | ||||||
|  |     "appsRemoved": "Odstraněné aplikace", | ||||||
|  |     "appsRemovedNotifDescription": "Oznámení uživateli, že jedna nebo více aplikací byly odstraněny z důvodu chyb při načítání", | ||||||
|  |     "xWasRemovedDueToErrorY":"{} byla odstraněna z důvodu následující chyby: {}", | ||||||
|  |     "completeAppInstallation": "Dokončit instalaci aplikace", | ||||||
|  |     "obtainiumMustBeOpenToInstallApps": "Obtainium musí být otevřeno, aby bylo možné instalovat aplikace", | ||||||
|  |     "completeAppInstallationNotifDescription": "Vyzvat uživatele k návratu do Obtainium pro dokončení instalace aplikací", | ||||||
|  |     "checkingForUpdates": "Zkontrolovat aktualizace", | ||||||
|  |     "checkingForUpdatesNotifDescription": "Dočasné oznámení zobrazené při kontrole aktualizací", | ||||||
|  |     "pleaseAllowInstallPerm": "Povolte prosím Obtainium instalovat aplikace", | ||||||
|  |     "trackOnly": "Jen sledovat", | ||||||
|  |     "errorWithHttpStatusCode": "error {}", | ||||||
|  |     "versionCorrectionDisabled": "Oprava verze zakázána (zásuvný modul zřejmě nefunguje)", | ||||||
|  |     "unknown": "Unknown", | ||||||
|  |     "none": "None", | ||||||
|  |     "never": "Nikdy", | ||||||
|  |     "latestVersionX": "Nejnovější verze: {}", | ||||||
|  |     "installedVersionX": "Nainstalovaná verze: {}", | ||||||
|  |     "lastUpdateCheckX": "Poslední kontrola aktualizace: {}", | ||||||
|  |     "remove": "Odebrat", | ||||||
|  |     "yesMarkUpdated": "Ano, označit jako aktualizované", | ||||||
|  |     "fdroid": "F-Droid Official", | ||||||
|  |     "appIdOrName": "App ID or Name", | ||||||
|  |     "appId": "App ID", | ||||||
|  |     "appWithIdOrNameNotFound": "Žádná aplikace s tímto ID nebo názvem nebyla nalezena", | ||||||
|  |     "reposHaveMultipleApps": "Repozitáře mohou obsahovat více aplikací", | ||||||
|  |     "fdroidThirdPartyRepo": "F-Droid Third-Party Repo", | ||||||
|  |     "steam": "Steam", | ||||||
|  |     "steamMobile": "Steam Mobile", | ||||||
|  |     "steamChat": "Steam Chat", | ||||||
|  |     "install": "Install", | ||||||
|  |     "markInstalled": "Označit jako nainstalovaný", | ||||||
|  |     "update": "Aktualizovat", | ||||||
|  |     "markUpdated": "Označit jako aktuální", | ||||||
|  |     "additionalOptions": "Additional Options", | ||||||
|  |     "disableVersionDetection": "Zakázat detekci verze", | ||||||
|  |     "noVersionDetectionExplanation": "Tato volba by měla být použita pouze u aplikací, kde detekce verzí nefunguje správně.", | ||||||
|  |     "downloadingX": "download {}", | ||||||
|  |     "downloadNotifDescription": "Informuje uživatele o průběhu stahování aplikace", | ||||||
|  |     "noAPKFound": "Žádná APK nebyla nalezena", | ||||||
|  |     "noVersionDetection": "Žádná detekce verze", | ||||||
|  |     "categorize": "Kategorizovat", | ||||||
|  |     "categories": "Kategorie", | ||||||
|  |     "category": "kategorie", | ||||||
|  |     "noCategory": "Žádná kategorie", | ||||||
|  |     "noCategories": "Žádné kategorie", | ||||||
|  |     "deleteCategoriesQuestion": "Smazat kategorie?", | ||||||
|  |     "categoryDeleteWarning": "Všechny aplikace v odstraněných kategoriích budou nastaveny na nekategorizované.", | ||||||
|  |     "addCategory": "přidat kategorii", | ||||||
|  |     "label": "štítek", | ||||||
|  |     "language": "Jazyk", | ||||||
|  |     "copiedToClipboard": "zkopírováno do schránky", | ||||||
|  |     "storagePermissionDenied": "povolení k ukládání odepřeno", | ||||||
|  |     "selectedCategorizeWarning": "Toto nahradí všechna stávající nastavení kategorií pro vybrané aplikace.", | ||||||
|  |     "filterAPKsByRegEx": "Filtrovat APK podle regulárního výrazu", | ||||||
|  |     "removeFromObtainium": "Odebrat z Obtainium", | ||||||
|  |     "uninstallFromDevice": "Odinstalovat ze zařízení", | ||||||
|  |     "onlyWorksWithNonVersionDetectApps": "Funguje pouze pro aplikace s vypnutou detekcí verze.", | ||||||
|  |     "releaseDateAsVersion": "Použít datum vydání jako verzi", | ||||||
|  |     "releaseDateAsVersionExplanation": "Tato možnost by měla být použita pouze u aplikací, u kterých detekce verze nefunguje správně, ale je k dispozici datum vydání.", | ||||||
|  |     "changes": "Změny", | ||||||
|  |     "releaseDate": "datum vydání", | ||||||
|  |     "importFromURLsInFile": "Importovat adresy URL ze souboru (např. OPML)", | ||||||
|  |     "versionDetection": "detekce verze", | ||||||
|  |     "standardVersionDetection": "standardní detekce verze", | ||||||
|  |     "groupByCategory": "Seskupit podle kategorie", | ||||||
|  |     "autoApkFilterByArch": "Pokud je to možné, pokuste se filtrovat soubory APK podle architektury procesoru", | ||||||
|  |     "overrideSource": "Přepsat zdroj", | ||||||
|  |     "dontShowAgain": "Nezobrazovat znovu", | ||||||
|  |     "dontShowTrackOnlyWarnings": "Nezobrazovat varování pro 'Track Only'", | ||||||
|  |     "dontShowAPKOriginWarnings": "Nezobrazovat varování pro původ APK", | ||||||
|  |     "moveNonInstalledAppsToBottom": "Přesunout nenainstalované aplikace na konec zobrazení Aplikace", | ||||||
|  |     "gitlabPATLabel": "GitLab Personal Access Token\n(Umožňuje vyhledávání a lepší zjišťování APK)", | ||||||
|  |     "about": "About", | ||||||
|  |     "requiresCredentialsInSettings": "Vyžaduje další pověření (v nastavení)", | ||||||
|  |     "checkOnStart": "Zkontrolovat jednou při spuštění", | ||||||
|  |     "tryInferAppIdFromCode": "Pokusit se určit ID aplikace ze zdrojového kódu", | ||||||
|  |     "removeOnExternalUninstall": "Automaticky odstranit externě odinstalované aplikace", | ||||||
|  |     "pickHighestVersionCode": "Automaticky vybrat APK s kódem nejvyšší verze", | ||||||
|  |     "checkUpdateOnDetailPage": "Zkontrolovat aktualizace při otevření stránky s podrobnostmi aplikace", | ||||||
|  |     "disablePageTransitions": "Zakázat animace pro přechody stránek", | ||||||
|  |     "reversePageTransitions": "Obrátit animace pro přechody stránek", | ||||||
|  |     "minStarCount": "Minimální počet hvězdiček", | ||||||
|  |     "addInfoBelow": "Přidat tuto informaci na konec stránky", | ||||||
|  |     "addInfoInSettings": "Přidat tuto informaci do nastavení.", | ||||||
|  |     "githubSourceNote": "Omezení rychlosti GitHub lze obejít pomocí klíče API.", | ||||||
|  |     "gitlabSourceNote": "Extrakce GitLab APK nemusí fungovat bez klíče API", | ||||||
|  |     "sortByFileNamesNotLinks": "Řadit podle názvů souborů místo celých odkazů", | ||||||
|  |     "filterReleaseNotesByRegEx": "Filtrovat poznámky k vydání podle regulárního výrazu", | ||||||
|  |     "customLinkFilterRegex": "Vlastní filtr odkazů APK podle regulárního výrazu (výchozí '.apk$')", | ||||||
|  |     "appsPossiblyUpdated": "Byly provedeny pokusy o aktualizaci aplikací", | ||||||
|  |     "appsPossiblyUpdatedNotifDescription": "Upozorňuje uživatele, že na pozadí mohly být provedeny aktualizace jedné nebo více aplikací", | ||||||
|  |     "xWasPossiblyUpdatedToY":"{} mohlo být aktualizováno na {}.", | ||||||
|  |     "enableBackgroundUpdates": "Povolit aktualizace na pozadí", | ||||||
|  |     "backgroundUpdateReqsExplanation": "Aktualizace na pozadí nemusí být možné pro všechny aplikace.", | ||||||
|  |     "backgroundUpdateLimitsExplanation": "Úspěšnost instalace na pozadí lze určit pouze v případě, že je otevřen Obtainium.", | ||||||
|  |     "verifyLatestTag": "Ověřit značku 'latest'", | ||||||
|  |     "intermediateLinkRegex": "Filter for an 'Intermediate' Link to Visit First", | ||||||
|  |     "intermediateLinkNotFound": "Intermediate link not found", | ||||||
|  |     "exemptFromBackgroundUpdates": "Vyloučit aktualizace na pozadí (pokud jsou povoleny)", | ||||||
|  |     "bgUpdatesOnWiFiOnly": "Zakázat aktualizace na pozadí, pokud není přítomna Wi-Fi", | ||||||
|  |     "autoSelectHighestVersionCode": "Automatický výběr nejvyššího kódu verze APK", | ||||||
|  |     "versionExtractionRegEx": "Version Extraction RegEx", | ||||||
|  |     "matchGroupToUse": "Match Group to Use", | ||||||
|  |     "highlightTouchTargets": "Zvýraznit méně zjevné cíle dotyku", | ||||||
|  |     "pickExportDir": "Vybrat adresář pro export", | ||||||
|  |     "autoExportOnChanges": "Automatický export při změnách", | ||||||
|  |     "filterVersionsByRegEx": "Filtrovat verze podle regulárního výrazu", | ||||||
|  |     "trySelectingSuggestedVersionCode": "Zkusit vybrat navrhovaný kód verze APK", | ||||||
|  |     "dontSortReleasesList": "Retain release order from API", | ||||||
|  |     "reverseSort": "Reverse sorting", | ||||||
|  |     "debugMenu": "Debug Menu", | ||||||
|  |     "bgTaskStarted": "Background task started - check logs.", | ||||||
|  |     "runBgCheckNow": "Run Background Update Check Now", | ||||||
|  |     "removeAppQuestion": { | ||||||
|  |         "one": "Odstranit Apku?", | ||||||
|  |         "other": "Odstranit Apky?" | ||||||
|  |     }, | ||||||
|  |     "tooManyRequestsTryAgainInMinutes": { | ||||||
|  |         "one": "Příliš mnoho požadavků (omezená rychlost) - zkuste to znovu za {} minutu", | ||||||
|  |         "other": "Příliš mnoho požadavků (omezená rychlost) - zkuste to znovu za {} minut" | ||||||
|  |     }, | ||||||
|  |     "bgUpdateGotErrorRetryInMinutes": { | ||||||
|  |         "one": "Při kontrole aktualizace na pozadí byla zjištěna chyba {}, opakování pokusu bude naplánováno za {} minut", | ||||||
|  |         "other": "Během kontroly aktualizace na pozadí byla zjištěna chyba {}, opakování bude naplánováno za {} minut" | ||||||
|  |     }, | ||||||
|  |     "bgCheckFoundUpdatesWillNotifyIfNeeded": { | ||||||
|  |         "one": "Při kontrole aktualizací na pozadí nalezena {}aktualizace - v případě potřeby upozorní uživatele", | ||||||
|  |         "other": "Kontrola aktualizací na pozadí našla {} aktualizací - v případě potřeby upozorní uživatele" | ||||||
|  |     }, | ||||||
|  |     "apps": { | ||||||
|  |         "one":"{} App", | ||||||
|  |         "other":"{} apps" | ||||||
|  |     }, | ||||||
|  |     "url": { | ||||||
|  |         "jedna": "{} URL", | ||||||
|  |         "other": "{} URLs" | ||||||
|  |     }, | ||||||
|  |     "minute": { | ||||||
|  |         "one":"{} minute", | ||||||
|  |         "other": "{} minutes" | ||||||
|  |     }, | ||||||
|  |     "hour": { | ||||||
|  |         "jedna": "{} hodina", | ||||||
|  |         "other": "{} hours" | ||||||
|  |     }, | ||||||
|  |     "day": { | ||||||
|  |         "jedna": "{} den", | ||||||
|  |         "other": "{} dny" | ||||||
|  |     }, | ||||||
|  |     "clearedNLogsBeforeXAfterY": { | ||||||
|  |         "one":"{n} log vymazán (před = {před}, po = {po})", | ||||||
|  |         "other": "{n} logů vymazáno (před = {před}, po = {po})" | ||||||
|  |     }, | ||||||
|  |     "xAndNMoreUpdatesAvailable": { | ||||||
|  |         "one":"{} a 1 další aplikace mají aktualizace.", | ||||||
|  |         "other":"{} a {} další aplikace mají aktualizace." | ||||||
|  |     }, | ||||||
|  |     "xAndNMoreUpdatesInstalled": { | ||||||
|  |         "one":"{} a {} další aplikace mají aktualizace.", | ||||||
|  |         "další":"{} a {} další aplikace byly aktualizovány." | ||||||
|  |     }, | ||||||
|  |     "xAndNMoreUpdatesPossiblyInstalled": { | ||||||
|  |         "one":"{} a {} další aplikace byly možná aktualizovány", | ||||||
|  |         "other":"{} a {} další aplikace mohly být aktualizovány." | ||||||
|  |     } | ||||||
|  | } | ||||||
|  |  | ||||||
| @@ -28,8 +28,8 @@ | |||||||
|     "xIsTrackOnly": "{} ist nur zur Nachverfolgung", |     "xIsTrackOnly": "{} ist nur zur Nachverfolgung", | ||||||
|     "source": "Quelle", |     "source": "Quelle", | ||||||
|     "app": "App", |     "app": "App", | ||||||
|     "appsFromSourceAreTrackOnly": "Apps aus dieser Quelle sind 'Nur Nachverfolgen'.", |     "appsFromSourceAreTrackOnly": "Apps aus dieser Quelle sind nur zum Nachverfolgen.", | ||||||
|     "youPickedTrackOnly": "Sie haben die Option 'Nur Nachverfolgen' gewählt.", |     "youPickedTrackOnly": "Sie haben die Option „Nur Nachverfolgen“ gewählt.", | ||||||
|     "trackOnlyAppDescription": "Die App wird auf Updates überwacht, aber Obtainium wird sie nicht herunterladen oder installieren.", |     "trackOnlyAppDescription": "Die App wird auf Updates überwacht, aber Obtainium wird sie nicht herunterladen oder installieren.", | ||||||
|     "cancelled": "Abgebrochen", |     "cancelled": "Abgebrochen", | ||||||
|     "appAlreadyAdded": "App bereits hinzugefügt", |     "appAlreadyAdded": "App bereits hinzugefügt", | ||||||
| @@ -38,7 +38,7 @@ | |||||||
|     "appSourceURL": "Quell-URL der App", |     "appSourceURL": "Quell-URL der App", | ||||||
|     "error": "Fehler", |     "error": "Fehler", | ||||||
|     "add": "Hinzufügen", |     "add": "Hinzufügen", | ||||||
|     "searchSomeSourcesLabel": "Suche (nur bestimmte Quellen)", |     "searchSomeSourcesLabel": "Suche (nur für bestimmte Quellen)", | ||||||
|     "search": "Suchen", |     "search": "Suchen", | ||||||
|     "additionalOptsFor": "Zusatzoptionen für {}", |     "additionalOptsFor": "Zusatzoptionen für {}", | ||||||
|     "supportedSources": "Unterstützte Quellen", |     "supportedSources": "Unterstützte Quellen", | ||||||
| @@ -70,7 +70,7 @@ | |||||||
|     "yes": "Ja", |     "yes": "Ja", | ||||||
|     "markSelectedAppsUpdated": "Markiere ausgewählte Apps als aktuell", |     "markSelectedAppsUpdated": "Markiere ausgewählte Apps als aktuell", | ||||||
|     "pinToTop": "Oben anheften", |     "pinToTop": "Oben anheften", | ||||||
|     "unpinFromTop": "'Oben anheften' aufheben", |     "unpinFromTop": "„Oben anheften“ aufheben", | ||||||
|     "resetInstallStatusForSelectedAppsQuestion": "Installationsstatus für ausgewählte Apps zurücksetzen?", |     "resetInstallStatusForSelectedAppsQuestion": "Installationsstatus für ausgewählte Apps zurücksetzen?", | ||||||
|     "installStatusOfXWillBeResetExplanation": "Der Installationsstatus der ausgewählten Apps wird zurückgesetzt. Dies kann hilfreich sein, wenn die in Obtainium angezeigte App-Version aufgrund fehlgeschlagener Aktualisierungen oder anderer Probleme falsch ist.", |     "installStatusOfXWillBeResetExplanation": "Der Installationsstatus der ausgewählten Apps wird zurückgesetzt. Dies kann hilfreich sein, wenn die in Obtainium angezeigte App-Version aufgrund fehlgeschlagener Aktualisierungen oder anderer Probleme falsch ist.", | ||||||
|     "shareSelectedAppURLs": "Ausgewählte App-URLs teilen", |     "shareSelectedAppURLs": "Ausgewählte App-URLs teilen", | ||||||
| @@ -122,15 +122,15 @@ | |||||||
|     "ascending": "Aufsteigend", |     "ascending": "Aufsteigend", | ||||||
|     "descending": "Absteigend", |     "descending": "Absteigend", | ||||||
|     "bgUpdateCheckInterval": "Prüfintervall für Hintergrundaktualisierung", |     "bgUpdateCheckInterval": "Prüfintervall für Hintergrundaktualisierung", | ||||||
|     "neverManualOnly": "Nie - nur manuell", |     "neverManualOnly": "Nie – nur manuell", | ||||||
|     "appearance": "Aussehen", |     "appearance": "Aussehen", | ||||||
|     "showWebInAppView": "Quellwebseite in der App-Ansicht anzeigen", |     "showWebInAppView": "Quellwebseite in der App-Ansicht anzeigen", | ||||||
|     "pinUpdates": "Apps mit Aktualisierungen oben anheften", |     "pinUpdates": "Apps mit Aktualisierungen oben anheften", | ||||||
|     "updates": "Aktualisierungen", |     "updates": "Aktualisierungen", | ||||||
|     "sourceSpecific": "Quellenspezifisch", |     "sourceSpecific": "Quellenspezifisch", | ||||||
|     "appSource": "App-Quelle", |     "appSource": "App-Quelle", | ||||||
|     "noLogs": "Keine Protokolle", |     "noLogs": "Keine Logs", | ||||||
|     "appLogs": "App Protokolle", |     "appLogs": "App-Logs", | ||||||
|     "close": "Schließen", |     "close": "Schließen", | ||||||
|     "share": "Teilen", |     "share": "Teilen", | ||||||
|     "appNotFound": "App nicht gefunden", |     "appNotFound": "App nicht gefunden", | ||||||
| @@ -175,7 +175,7 @@ | |||||||
|     "appId": "App ID", |     "appId": "App ID", | ||||||
|     "appWithIdOrNameNotFound": "Es wurde keine App mit dieser ID oder diesem Namen gefunden", |     "appWithIdOrNameNotFound": "Es wurde keine App mit dieser ID oder diesem Namen gefunden", | ||||||
|     "reposHaveMultipleApps": "Repos können mehrere Apps enthalten", |     "reposHaveMultipleApps": "Repos können mehrere Apps enthalten", | ||||||
|     "fdroidThirdPartyRepo": "F-Droid Third-Party Repo", |     "fdroidThirdPartyRepo": "F-Droid Drittparteienrepo", | ||||||
|     "steam": "Steam", |     "steam": "Steam", | ||||||
|     "steamMobile": "Steam Mobile", |     "steamMobile": "Steam Mobile", | ||||||
|     "steamChat": "Steam Chat", |     "steamChat": "Steam Chat", | ||||||
| @@ -244,32 +244,37 @@ | |||||||
|     "xWasPossiblyUpdatedToY": "{} wurde möglicherweise aktualisiert auf {}.", |     "xWasPossiblyUpdatedToY": "{} wurde möglicherweise aktualisiert auf {}.", | ||||||
|     "backgroundUpdateReqsExplanation": "Die Hintergrundaktualisierung ist möglicherweise nicht für alle Apps möglich.", |     "backgroundUpdateReqsExplanation": "Die Hintergrundaktualisierung ist möglicherweise nicht für alle Apps möglich.", | ||||||
|     "backgroundUpdateLimitsExplanation": "Der Erfolg einer Hintergrundinstallation kann nur festgestellt werden, wenn Obtainium geöffnet wird.", |     "backgroundUpdateLimitsExplanation": "Der Erfolg einer Hintergrundinstallation kann nur festgestellt werden, wenn Obtainium geöffnet wird.", | ||||||
|     "verifyLatestTag": "Überprüfe das 'latest' Tag", |     "verifyLatestTag": "Überprüfe das „latest“ Tag", | ||||||
|     "exemptFromBackgroundUpdates": "Ausschluss von Hintergrundaktualisierungen (falls aktiviert)", |     "exemptFromBackgroundUpdates": "Ausschluss von Hintergrundaktualisierungen (falls aktiviert)", | ||||||
|     "bgUpdatesOnWiFiOnly": "Hintergrundaktualisierungen deaktivieren, wenn kein WLAN vorhanden ist", |     "bgUpdatesOnWiFiOnly": "Hintergrundaktualisierungen deaktivieren, wenn kein WLAN vorhanden ist", | ||||||
|     "autoSelectHighestVersionCode": "Auto-select highest versionCode APK", |     "autoSelectHighestVersionCode": "Automatisch höchste APK-Code-Version auswählen", | ||||||
|     "versionExtractionRegEx": "Version Extraction RegEx", |     "versionExtractionRegEx": "Versions-Extraktion RegEx", | ||||||
|     "matchGroupToUse": "Match Group to Use", |     "matchGroupToUse": "Zu verwendende Gruppe abgleichen", | ||||||
|     "highlightTouchTargets": "Highlight less obvious touch targets", |     "highlightTouchTargets": "Weniger offensichtliche Ziele hervorheben", | ||||||
|     "pickExportDir": "Pick Export Directory", |     "pickExportDir": "Export-Verzeichnis wählen", | ||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "Automatischer Export bei Änderung", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Versionen nach regulären Ausdrücken filtern", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Versuchen, die vorgeschlagene APK-Code-Version auszuwählen", | ||||||
|  |     "dontSortReleasesList": "Retain release order from API", | ||||||
|  |     "reverseSort": "Umgekehrtes Sortieren", | ||||||
|  |     "debugMenu": "Debug Menü", | ||||||
|  |     "bgTaskStarted": "Hintergrundaufgabe gestartet – Logs prüfen.", | ||||||
|  |     "runBgCheckNow": "Hintergrundaktualisierungsprüfung jetzt durchführen", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "App entfernen?", |         "one": "App entfernen?", | ||||||
|         "other": "Apps entfernen?" |         "other": "Apps entfernen?" | ||||||
|     }, |     }, | ||||||
|     "tooManyRequestsTryAgainInMinutes": { |     "tooManyRequestsTryAgainInMinutes": { | ||||||
|         "one": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minute erneut", |         "one": "Zu viele Anfragen (Rate begrenzt) – versuchen Sie es in {} Minute erneut", | ||||||
|         "other": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minuten erneut" |         "other": "Zu viele Anfragen (Rate begrenzt) – versuchen Sie es in {} Minuten erneut" | ||||||
|     }, |     }, | ||||||
|     "bgUpdateGotErrorRetryInMinutes": { |     "bgUpdateGotErrorRetryInMinutes": { | ||||||
|         "one": "Bei der Aktualisierungsprüfung im Hintergrund wurde ein {} festgestellt, eine erneute Prüfung wird in {} Minute geplant", |         "one": "Bei der Aktualisierungsprüfung im Hintergrund wurde ein {} festgestellt, eine erneute Prüfung wird in {} Minute geplant", | ||||||
|         "other": "Bei der Aktualisierungsprüfung im Hintergrund wurde ein {} festgestellt, eine erneute Prüfung wird in {} Minuten geplant" |         "other": "Bei der Aktualisierungsprüfung im Hintergrund wurde ein {} festgestellt, eine erneute Prüfung wird in {} Minuten geplant" | ||||||
|     }, |     }, | ||||||
|     "bgCheckFoundUpdatesWillNotifyIfNeeded": { |     "bgCheckFoundUpdatesWillNotifyIfNeeded": { | ||||||
|         "one": "Hintergrundaktualisierungsprüfung fand {} Aktualisierung - benachrichtigt den Benutzer, falls erforderlich", |         "one": "Die Hintergrundaktualisierungsprüfung fand {} Aktualisierung – benachrichtigt den Benutzer, falls erforderlich", | ||||||
|         "other": "Hintergrundaktualisierungsprüfung fand {} Aktualisierungen - benachrichtigt den Benutzer, falls erforderlich" |         "other": "Die Hintergrundaktualisierungsprüfung fand {} Aktualisierungen – benachrichtigt den Benutzer, falls erforderlich" | ||||||
|     }, |     }, | ||||||
|     "apps": { |     "apps": { | ||||||
|         "one": "{} App", |         "one": "{} App", | ||||||
| @@ -292,8 +297,8 @@ | |||||||
|         "other": "{} Tage" |         "other": "{} Tage" | ||||||
|     }, |     }, | ||||||
|     "clearedNLogsBeforeXAfterY": { |     "clearedNLogsBeforeXAfterY": { | ||||||
|         "one": "{n} Protokoll gelöscht (vorher = {vorher}, nachher = {nachher})", |         "one": "{n} Log gelöscht (vorher = {vorher}, nachher = {nachher})", | ||||||
|         "other": "{n} Protokolle gelöscht (vorher = {vorher}, nachher = {nachher})" |         "other": "{n} Logs gelöscht (vorher = {vorher}, nachher = {nachher})" | ||||||
|     }, |     }, | ||||||
|     "xAndNMoreUpdatesAvailable": { |     "xAndNMoreUpdatesAvailable": { | ||||||
|         "one": "{} und 1 weitere App haben Aktualisierungen.", |         "one": "{} und 1 weitere App haben Aktualisierungen.", | ||||||
|   | |||||||
| @@ -258,6 +258,11 @@ | |||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "Auto-export on changes", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Filter Versions by Regular Expression", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", | ||||||
|  |     "dontSortReleasesList": "Retain release order from API", | ||||||
|  |     "reverseSort": "Reverse sorting", | ||||||
|  |     "debugMenu": "Debug Menu", | ||||||
|  |     "bgTaskStarted": "Background task started - check logs.", | ||||||
|  |     "runBgCheckNow": "Run Background Update Check Now", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Remove App?", |         "one": "Remove App?", | ||||||
|         "other": "Remove Apps?" |         "other": "Remove Apps?" | ||||||
|   | |||||||
| @@ -255,6 +255,11 @@ | |||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "Auto-export on changes", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Filter Versions by Regular Expression", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", | ||||||
|  |     "dontSortReleasesList": "Retain release order from API", | ||||||
|  |     "reverseSort": "Reverse sorting", | ||||||
|  |     "debugMenu": "Debug Menu", | ||||||
|  |     "bgTaskStarted": "Background task started - check logs.", | ||||||
|  |     "runBgCheckNow": "Run Background Update Check Now", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "¿Eliminar Aplicación?", |         "one": "¿Eliminar Aplicación?", | ||||||
|         "other": "¿Eliminar Aplicaciones?" |         "other": "¿Eliminar Aplicaciones?" | ||||||
|   | |||||||
| @@ -255,6 +255,11 @@ | |||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "Auto-export on changes", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Filter Versions by Regular Expression", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", | ||||||
|  |     "dontSortReleasesList": "Retain release order from API", | ||||||
|  |     "reverseSort": "Reverse sorting", | ||||||
|  |     "debugMenu": "Debug Menu", | ||||||
|  |     "bgTaskStarted": "Background task started - check logs.", | ||||||
|  |     "runBgCheckNow": "Run Background Update Check Now", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "برنامه حذف شود؟", |         "one": "برنامه حذف شود؟", | ||||||
|         "other": "برنامه ها حذف شوند؟" |         "other": "برنامه ها حذف شوند؟" | ||||||
|   | |||||||
| @@ -255,6 +255,11 @@ | |||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "Auto-export on changes", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Filter Versions by Regular Expression", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", | ||||||
|  |     "dontSortReleasesList": "Retain release order from API", | ||||||
|  |     "reverseSort": "Reverse sorting", | ||||||
|  |     "debugMenu": "Debug Menu", | ||||||
|  |     "bgTaskStarted": "Background task started - check logs.", | ||||||
|  |     "runBgCheckNow": "Run Background Update Check Now", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Supprimer l'application ?", |         "one": "Supprimer l'application ?", | ||||||
|         "other": "Supprimer les applications ?" |         "other": "Supprimer les applications ?" | ||||||
|   | |||||||
| @@ -246,14 +246,20 @@ | |||||||
|     "verifyLatestTag": "Ellenőrizze a „legújabb” címkét", |     "verifyLatestTag": "Ellenőrizze a „legújabb” címkét", | ||||||
|     "exemptFromBackgroundUpdates": "Mentes a háttérben történő frissítések alól (ha engedélyezett)", |     "exemptFromBackgroundUpdates": "Mentes a háttérben történő frissítések alól (ha engedélyezett)", | ||||||
|     "bgUpdatesOnWiFiOnly": "Tiltsa le a háttérben frissítéseket, ha nincs Wi-Fi-n", |     "bgUpdatesOnWiFiOnly": "Tiltsa le a háttérben frissítéseket, ha nincs Wi-Fi-n", | ||||||
|     "autoSelectHighestVersionCode": "Auto-select highest versionCode APK", |     "autoSelectHighestVersionCode": "A legmagasabb verziószámú APK auto. kiválasztása", | ||||||
|     "versionExtractionRegEx": "Version Extraction RegEx", |     "versionExtractionRegEx": "Verzió kibontása reguláris kifejezéssel", | ||||||
|     "matchGroupToUse": "Match Group to Use", |     "matchGroupToUse": "Párosítsa a csoportot a használathoz", | ||||||
|     "highlightTouchTargets": "Highlight less obvious touch targets", |     "highlightTouchTargets": "Emelje ki a kevésbé nyilvánvaló érintési célokat", | ||||||
|     "pickExportDir": "Pick Export Directory", |     "pickExportDir": "Válassza az Exportálási könyvtárat", | ||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "Auto-exportálás a változások után", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Verziók szűrése reguláris kifejezéssel", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Próbálja ki a javasolt verziókódú APK-t", | ||||||
|  |     "dontSortReleasesList": "Az API-ból származó kiadási sorrend megőrzése", | ||||||
|  |     "reverseSort": "Fordított rendezés", | ||||||
|  |     "debugMenu": "Hibakereső menü", | ||||||
|  |     "bgTaskStarted": "A háttérfeladat elindult – ellenőrizze a naplókat.", | ||||||
|  |     "enableBackgroundUpdates": "Frissítések a háttérben", | ||||||
|  |     "runBgCheckNow": "Futtassa a Háttérben frissítés ellenőrzését most", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Eltávolítja az alkalmazást?", |         "one": "Eltávolítja az alkalmazást?", | ||||||
|         "other": "Eltávolítja az alkalmazást?" |         "other": "Eltávolítja az alkalmazást?" | ||||||
|   | |||||||
| @@ -255,6 +255,11 @@ | |||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "Auto-export on changes", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Filter Versions by Regular Expression", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", | ||||||
|  |     "dontSortReleasesList": "Retain release order from API", | ||||||
|  |     "reverseSort": "Reverse sorting", | ||||||
|  |     "debugMenu": "Debug Menu", | ||||||
|  |     "bgTaskStarted": "Background task started - check logs.", | ||||||
|  |     "runBgCheckNow": "Run Background Update Check Now", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Rimuovere l'app?", |         "one": "Rimuovere l'app?", | ||||||
|         "other": "Rimuovere le app?" |         "other": "Rimuovere le app?" | ||||||
|   | |||||||
| @@ -144,7 +144,7 @@ | |||||||
|     "updatesAvailable": "アップデートが利用可能", |     "updatesAvailable": "アップデートが利用可能", | ||||||
|     "updatesAvailableNotifDescription": "Obtainiumが追跡している1つまたは複数のアプリのアップデートが利用可能であることをユーザーに通知する", |     "updatesAvailableNotifDescription": "Obtainiumが追跡している1つまたは複数のアプリのアップデートが利用可能であることをユーザーに通知する", | ||||||
|     "noNewUpdates": "新しいアップデートはありません", |     "noNewUpdates": "新しいアップデートはありません", | ||||||
|     "xHasAnUpdate": "{} のアップデートが利用可能です", |     "xHasAnUpdate": "{} のアップデートが利用可能です。", | ||||||
|     "appsUpdated": "アプリをアップデートしました", |     "appsUpdated": "アプリをアップデートしました", | ||||||
|     "appsUpdatedNotifDescription": "1つまたは複数のAppのアップデートがバックグラウンドで適用されたことをユーザーに通知する", |     "appsUpdatedNotifDescription": "1つまたは複数のAppのアップデートがバックグラウンドで適用されたことをユーザーに通知する", | ||||||
|     "xWasUpdatedToY": "{} が {} にアップデートされました", |     "xWasUpdatedToY": "{} が {} にアップデートされました", | ||||||
| @@ -241,21 +241,28 @@ | |||||||
|     "customLinkFilterRegex": "正規表現によるカスタムリンクフィルター (デフォルト '.apk$')", |     "customLinkFilterRegex": "正規表現によるカスタムリンクフィルター (デフォルト '.apk$')", | ||||||
|     "appsPossiblyUpdated": "アプリのアップデートを試行", |     "appsPossiblyUpdated": "アプリのアップデートを試行", | ||||||
|     "appsPossiblyUpdatedNotifDescription": "1つまたは複数のアプリのアップデートがバックグラウンドで適用された可能性があることをユーザーに通知する", |     "appsPossiblyUpdatedNotifDescription": "1つまたは複数のアプリのアップデートがバックグラウンドで適用された可能性があることをユーザーに通知する", | ||||||
|     "xWasPossiblyUpdatedToY": "{} が {} にアップデートされた可能性があります", |     "xWasPossiblyUpdatedToY": "{} が {} にアップデートされた可能性があります。", | ||||||
|     "enableBackgroundUpdates": "バックグラウンドアップデートを有効化する", |     "enableBackgroundUpdates": "バックグラウンドアップデートを有効化する", | ||||||
|     "backgroundUpdateReqsExplanation": "バックグラウンドアップデートは、すべてのアプリで可能とは限りません。", |     "backgroundUpdateReqsExplanation": "バックグラウンドアップデートは、すべてのアプリで可能とは限りません。", | ||||||
|     "backgroundUpdateLimitsExplanation": "バックグラウンドアップデートが成功したかどうかは、Obtainiumを起動したときにしか判断できません。", |     "backgroundUpdateLimitsExplanation": "バックグラウンドアップデートが成功したかどうかは、Obtainiumを起動したときにしか判断できません。", | ||||||
|     "verifyLatestTag": "'latest'タグを確認する", |     "verifyLatestTag": "'latest'タグを確認する", | ||||||
|  |     "intermediateLinkRegex": "最初にアクセスする「中間」リンクをフィルタリングする", | ||||||
|  |     "intermediateLinkNotFound": "中間リンクが見つかりませんでした", | ||||||
|     "exemptFromBackgroundUpdates": "バックグラウンドアップデートを行わない (有効な場合)", |     "exemptFromBackgroundUpdates": "バックグラウンドアップデートを行わない (有効な場合)", | ||||||
|     "bgUpdatesOnWiFiOnly": "WiFiを使用していない場合,バックグラウンドアップデートを無効にする", |     "bgUpdatesOnWiFiOnly": "WiFiを使用していない場合,バックグラウンドアップデートを無効にする", | ||||||
|     "autoSelectHighestVersionCode": "Auto-select highest versionCode APK", |     "autoSelectHighestVersionCode": "最も高いバージョンコードのAPKを自動で選択する", | ||||||
|     "versionExtractionRegEx": "Version Extraction RegEx", |     "versionExtractionRegEx": "バージョン抽出の正規表現", | ||||||
|     "matchGroupToUse": "Match Group to Use", |     "matchGroupToUse": "使用するマッチしたグループ", | ||||||
|     "highlightTouchTargets": "Highlight less obvious touch targets", |     "highlightTouchTargets": "目立たないタップ可能な対象をハイライトする", | ||||||
|     "pickExportDir": "Pick Export Directory", |     "pickExportDir": "エクスポートディレクトリを選択", | ||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "変更があった際に自動でエクスポートする", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "正規表現でバージョンをフィルタリングする", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "提案されたバージョンコードのAPKを選択する", | ||||||
|  |     "dontSortReleasesList": "Retain release order from API", | ||||||
|  |     "reverseSort": "Reverse sorting", | ||||||
|  |     "debugMenu": "Debug Menu", | ||||||
|  |     "bgTaskStarted": "Background task started - check logs.", | ||||||
|  |     "runBgCheckNow": "Run Background Update Check Now", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "アプリを削除しますか?", |         "one": "アプリを削除しますか?", | ||||||
|         "other": "アプリを削除しますか?" |         "other": "アプリを削除しますか?" | ||||||
| @@ -297,15 +304,15 @@ | |||||||
|         "other": "{n} 個のログをクリアしました (前 = {before}, 後 = {after})" |         "other": "{n} 個のログをクリアしました (前 = {before}, 後 = {after})" | ||||||
|     }, |     }, | ||||||
|     "xAndNMoreUpdatesAvailable": { |     "xAndNMoreUpdatesAvailable": { | ||||||
|         "one": "{} とさらに {} 個のアプリのアップデートが利用可能です", |         "one": "{} とさらに {} 個のアプリのアップデートが利用可能です。", | ||||||
|         "other": "{} とさらに {} 個のアプリのアップデートが利用可能です" |         "other": "{} とさらに {} 個のアプリのアップデートが利用可能です。" | ||||||
|     }, |     }, | ||||||
|     "xAndNMoreUpdatesInstalled": { |     "xAndNMoreUpdatesInstalled": { | ||||||
|         "one": "{} とさらに {} 個のアプリがアップデートされました", |         "one": "{} とさらに {} 個のアプリがアップデートされました。", | ||||||
|         "other": "{} とさらに {} 個のアプリがアップデートされました" |         "other": "{} とさらに {} 個のアプリがアップデートされました。" | ||||||
|     }, |     }, | ||||||
|     "xAndNMoreUpdatesPossiblyInstalled": { |     "xAndNMoreUpdatesPossiblyInstalled": { | ||||||
|         "one": "{} とさらに 1 個のアプリがアップデートされた可能性があります", |         "one": "{} とさらに 1 個のアプリがアップデートされた可能性があります。", | ||||||
|         "other": "{} とさらに {} 個のアプリがアップデートされた可能性があります" |         "other": "{} とさらに {} 個のアプリがアップデートされた可能性があります。" | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -34,10 +34,10 @@ | |||||||
|     "githubStarredRepos": "Repozytoria GitHub oznaczone gwiazdką", |     "githubStarredRepos": "Repozytoria GitHub oznaczone gwiazdką", | ||||||
|     "uname": "Nazwa użytkownika", |     "uname": "Nazwa użytkownika", | ||||||
|     "wrongArgNum": "Nieprawidłowa liczba podanych argumentów", |     "wrongArgNum": "Nieprawidłowa liczba podanych argumentów", | ||||||
|     "xIsTrackOnly": "{} jest tylko obserwowana", |     "xIsTrackOnly": "{} jest tylko obserwowane", | ||||||
|     "source": "Źródło", |     "source": "Źródło", | ||||||
|     "app": "Aplikacja", |     "app": "Aplikacja", | ||||||
|     "appsFromSourceAreTrackOnly": "Aplikacje z tego źródła są „Obserwowane”.", |     "appsFromSourceAreTrackOnly": "Aplikacje z tego źródła są „tylko obserwowane”.", | ||||||
|     "youPickedTrackOnly": "Wybrano opcję „Tylko obserwuj”.", |     "youPickedTrackOnly": "Wybrano opcję „Tylko obserwuj”.", | ||||||
|     "trackOnlyAppDescription": "Aplikacja będzie obserwowana pod kątem aktualizacji, ale Obtainium nie będzie w stanie jej pobrać ani zainstalować.", |     "trackOnlyAppDescription": "Aplikacja będzie obserwowana pod kątem aktualizacji, ale Obtainium nie będzie w stanie jej pobrać ani zainstalować.", | ||||||
|     "cancelled": "Anulowano", |     "cancelled": "Anulowano", | ||||||
| @@ -52,7 +52,7 @@ | |||||||
|     "additionalOptsFor": "Dodatkowe opcje dla {}", |     "additionalOptsFor": "Dodatkowe opcje dla {}", | ||||||
|     "supportedSources": "Obsługiwane źródła", |     "supportedSources": "Obsługiwane źródła", | ||||||
|     "trackOnlyInBrackets": "(tylko obserwowane)", |     "trackOnlyInBrackets": "(tylko obserwowane)", | ||||||
|     "searchableInBrackets": "(Wyszukiwalne)", |     "searchableInBrackets": "(wyszukiwalne)", | ||||||
|     "appsString": "Aplikacje", |     "appsString": "Aplikacje", | ||||||
|     "noApps": "Brak aplikacji", |     "noApps": "Brak aplikacji", | ||||||
|     "noAppsForFilter": "Brak aplikacji dla filtra", |     "noAppsForFilter": "Brak aplikacji dla filtra", | ||||||
| @@ -70,7 +70,7 @@ | |||||||
|     "removeSelectedApps": "Usuń wybrane aplikacje", |     "removeSelectedApps": "Usuń wybrane aplikacje", | ||||||
|     "updateX": "Zaktualizuj {}", |     "updateX": "Zaktualizuj {}", | ||||||
|     "installX": "Zainstaluj {}", |     "installX": "Zainstaluj {}", | ||||||
|     "markXTrackOnlyAsUpdated": "Oznacz {}\n(Tylko obserwowana)\njako zaktualizowaną", |     "markXTrackOnlyAsUpdated": "Oznacz {}\n(tylko obserwowana)\njako zaktualizowaną", | ||||||
|     "changeX": "Zmień {}", |     "changeX": "Zmień {}", | ||||||
|     "installUpdateApps": "Instaluj/aktualizuj aplikacje", |     "installUpdateApps": "Instaluj/aktualizuj aplikacje", | ||||||
|     "installUpdateSelectedApps": "Zainstaluj/zaktualizuj wybrane aplikacje", |     "installUpdateSelectedApps": "Zainstaluj/zaktualizuj wybrane aplikacje", | ||||||
| @@ -259,8 +259,13 @@ | |||||||
|     "highlightTouchTargets": "Wyróżnij mniej oczywiste elementy dotykowe", |     "highlightTouchTargets": "Wyróżnij mniej oczywiste elementy dotykowe", | ||||||
|     "pickExportDir": "Wybierz katalog eksportu", |     "pickExportDir": "Wybierz katalog eksportu", | ||||||
|     "autoExportOnChanges": "Automatyczny eksport po wprowadzeniu zmian", |     "autoExportOnChanges": "Automatyczny eksport po wprowadzeniu zmian", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Filtruj wersje według wyrażenia regularnego", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Spróbuj wybierać sugerowany kod wersji APK", | ||||||
|  |     "dontSortReleasesList": "Utrzymaj kolejność wydań z interfejsu API", | ||||||
|  |     "reverseSort": "Odwrotne sortowanie", | ||||||
|  |     "debugMenu": "Menu debugowania", | ||||||
|  |     "bgTaskStarted": "Uruchomiono zadanie w tle - sprawdź logi.", | ||||||
|  |     "runBgCheckNow": "Wymuś sprawdzenie aktualizacji w tle", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Usunąć aplikację?", |         "one": "Usunąć aplikację?", | ||||||
|         "few": "Usunąć aplikacje?", |         "few": "Usunąć aplikacje?", | ||||||
|   | |||||||
| @@ -128,7 +128,7 @@ | |||||||
|     "pinUpdates": "Fixar atualizações no topo da visão de Apps", |     "pinUpdates": "Fixar atualizações no topo da visão de Apps", | ||||||
|     "updates": "Atualizações", |     "updates": "Atualizações", | ||||||
|     "sourceSpecific": "Específico a fonte", |     "sourceSpecific": "Específico a fonte", | ||||||
|     "appSource": "Fonte de Apps", |     "appSource": "Fonte do App", | ||||||
|     "noLogs": "Sem Logs", |     "noLogs": "Sem Logs", | ||||||
|     "appLogs": "Logs do App", |     "appLogs": "Logs do App", | ||||||
|     "close": "Fechar", |     "close": "Fechar", | ||||||
| @@ -250,14 +250,19 @@ | |||||||
|     "intermediateLinkNotFound": "Link intermediário não encontrado", |     "intermediateLinkNotFound": "Link intermediário não encontrado", | ||||||
|     "exemptFromBackgroundUpdates": "Isento de atualizações em segundo plano (se ativadas)", |     "exemptFromBackgroundUpdates": "Isento de atualizações em segundo plano (se ativadas)", | ||||||
|     "bgUpdatesOnWiFiOnly": "Desative atualizações em segundo plano quando não estiver em WiFi", |     "bgUpdatesOnWiFiOnly": "Desative atualizações em segundo plano quando não estiver em WiFi", | ||||||
|     "autoSelectHighestVersionCode": "Auto-select highest versionCode APK", |     "autoSelectHighestVersionCode": "Auto-selecionar o maior codigo de versão", | ||||||
|     "versionExtractionRegEx": "Version Extraction RegEx", |     "versionExtractionRegEx": "RegEx para Extração de Versão", | ||||||
|     "matchGroupToUse": "Match Group to Use", |     "matchGroupToUse": "Grupo de Seleção para Usar", | ||||||
|     "highlightTouchTargets": "Highlight less obvious touch targets", |     "highlightTouchTargets": "Destaque areas de toque menos óbvias", | ||||||
|     "pickExportDir": "Pick Export Directory", |     "pickExportDir": "Escolher Diretorio de Exportação", | ||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "autoExportOnChanges": "Auto-exportar em mudanças", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "filterVersionsByRegEx": "Filtrar Versões por Expressão Regular", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "trySelectingSuggestedVersionCode": "Tente selecionar a versão sugerida", | ||||||
|  |     "dontSortReleasesList": "Reter a ordem de lançamento da API", | ||||||
|  |     "reverseSort": "Ordenação reversa", | ||||||
|  |     "debugMenu": "Menu Debug", | ||||||
|  |     "bgTaskStarted": "Tarefa em segundo plano iniciada - verifique os logs.", | ||||||
|  |     "runBgCheckNow": "Execute a verificação de atualização em segundo plano agora", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Remover App?", |         "one": "Remover App?", | ||||||
|         "other": "Remover Apps?" |         "other": "Remover Apps?" | ||||||
| @@ -236,25 +236,33 @@ | |||||||
|     "addInfoInSettings": "Добавьте эту информацию в Настройки.", |     "addInfoInSettings": "Добавьте эту информацию в Настройки.", | ||||||
|     "githubSourceNote": "Лимит запросов GitHub можно обойти, используя ключ API.", |     "githubSourceNote": "Лимит запросов GitHub можно обойти, используя ключ API.", | ||||||
|     "gitlabSourceNote": "Извлечение APK из GitLab может не работать без ключа API.", |     "gitlabSourceNote": "Извлечение APK из GitLab может не работать без ключа API.", | ||||||
|     "sortByFileNamesNotLinks": "Sort by file names instead of full links", |     "sortByFileNamesNotLinks": "Сортировать по именам файлов, а не по полным ссылкам", | ||||||
|     "filterReleaseNotesByRegEx": "Filter Release Notes by Regular Expression", |     "filterReleaseNotesByRegEx": "Фильтровать примечания к выпуску по регулярному выражению", | ||||||
|     "customLinkFilterRegex": "Custom APK Link Filter by Regular Expression (Default '.apk$')", |     "customLinkFilterRegex": "Пользовательский фильтр ссылок APK по регулярному выражению (по умолчанию '.apk$')", | ||||||
|     "appsPossiblyUpdated": "App Updates Attempted", |     "appsPossiblyUpdated": "Попытки обновления приложений", | ||||||
|     "appsPossiblyUpdatedNotifDescription": "Notifies the user that updates to one or more Apps were potentially applied in the background", |     "appsPossiblyUpdatedNotifDescription": "Уведомляет пользователя о возможных обновлениях одного или нескольких приложений в фоновом режиме", | ||||||
|     "xWasPossiblyUpdatedToY": "{} may have been updated to {}.", |     "xWasPossiblyUpdatedToY": "{} возможно был обновлен до {}.", | ||||||
|     "backgroundUpdateReqsExplanation": "Background updates may not be possible for all apps.", |     "enableBackgroundUpdates": "Включить обновления в фоне", | ||||||
|     "backgroundUpdateLimitsExplanation": "The success of a background install can only be determined when Obtainium is opened.", |     "backgroundUpdateReqsExplanation": "Фоновые обновления могут быть невозможны для всех приложений.", | ||||||
|     "verifyLatestTag": "Verify the 'latest' tag", |     "backgroundUpdateLimitsExplanation": "Успех фоновой установки можно определить только после открытия Obtainium.", | ||||||
|     "exemptFromBackgroundUpdates": "Exempt from background updates (if enabled)", |     "verifyLatestTag": "Проверьте тег 'последний'", | ||||||
|     "bgUpdatesOnWiFiOnly": "Disable background updates when not on WiFi", |     "intermediateLinkRegex": "Фильтр ссылок 'промежуточного' типа для приоритетного посещения", | ||||||
|     "autoSelectHighestVersionCode": "Auto-select highest versionCode APK", |     "intermediateLinkNotFound": "Промежуточная ссылка не найдена", | ||||||
|     "versionExtractionRegEx": "Version Extraction RegEx", |     "exemptFromBackgroundUpdates": "Исключить из фоновых обновлений (если включено)", | ||||||
|     "matchGroupToUse": "Match Group to Use", |     "bgUpdatesOnWiFiOnly": "Отключить фоновые обновления, если нет соединения с Wi-Fi", | ||||||
|     "highlightTouchTargets": "Highlight less obvious touch targets", |     "autoSelectHighestVersionCode": "Автоматически выбирать APK с наивысшим кодом версии", | ||||||
|     "pickExportDir": "Pick Export Directory", |     "versionExtractionRegEx": "Регулярное выражение для извлечения версии", | ||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "matchGroupToUse": "Выберите группу для использования", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "highlightTouchTargets": "Выделить менее очевидные элементы управления касанием", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "pickExportDir": "Выбрать каталог для экспорта", | ||||||
|  |     "autoExportOnChanges": "Автоэкспорт при изменениях", | ||||||
|  |     "filterVersionsByRegEx": "Фильтровать версии по регулярному выражению", | ||||||
|  |     "trySelectingSuggestedVersionCode": "Попробуйте выбрать предложенный код версии APK", | ||||||
|  |     "dontSortReleasesList": "Сохранить порядок выпусков от API", | ||||||
|  |     "reverseSort": "Обратная сортировка", | ||||||
|  |     "debugMenu": "Меню Отладки", | ||||||
|  |     "bgTaskStarted": "Фоновая задача начата - проверьте журналы.", | ||||||
|  |     "runBgCheckNow": "Запустить проверку фонового обновления сейчас", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Удалить приложение?", |         "one": "Удалить приложение?", | ||||||
|         "other": "Удалить приложения?" |         "other": "Удалить приложения?" | ||||||
| @@ -300,11 +308,11 @@ | |||||||
|         "other": "У {} и ещё {} приложений есть обновления." |         "other": "У {} и ещё {} приложений есть обновления." | ||||||
|     }, |     }, | ||||||
|     "xAndNMoreUpdatesInstalled": { |     "xAndNMoreUpdatesInstalled": { | ||||||
|         "one": "{} и еще 1 приложение были обновлены.", |         "one": "{} и ещё 1 приложение были обновлены.", | ||||||
|         "other": "{} и еще {} приложений были обновлены." |         "other": "{} и ещё {} приложений были обновлены." | ||||||
|     }, |     }, | ||||||
|     "xAndNMoreUpdatesPossiblyInstalled": { |     "xAndNMoreUpdatesPossiblyInstalled": { | ||||||
|         "one": "{} and 1 more app may have been updated.", |         "one": "{} и ещё 1 приложение могли быть обновлены.", | ||||||
|         "other": "{} and {} more apps may have been updated." |         "other": "{} и ещё {} приложений могли быть обновлены." | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -51,9 +51,9 @@ | |||||||
|     "percentProgress": "进度:{}%", |     "percentProgress": "进度:{}%", | ||||||
|     "pleaseWait": "请稍候", |     "pleaseWait": "请稍候", | ||||||
|     "updateAvailable": "更新可用", |     "updateAvailable": "更新可用", | ||||||
|     "estimateInBracketsShort": "(推测)", |     "estimateInBracketsShort": "(推测)", | ||||||
|     "notInstalled": "未安装", |     "notInstalled": "未安装", | ||||||
|     "estimateInBrackets": "(推测)", |     "estimateInBrackets": "(推测)", | ||||||
|     "selectAll": "全选", |     "selectAll": "全选", | ||||||
|     "deselectN": "取消选择 {}", |     "deselectN": "取消选择 {}", | ||||||
|     "xWillBeRemovedButRemainInstalled": "{} 将从 Obtainium 中删除,但仍安装在您的设备中。", |     "xWillBeRemovedButRemainInstalled": "{} 将从 Obtainium 中删除,但仍安装在您的设备中。", | ||||||
| @@ -238,24 +238,31 @@ | |||||||
|     "gitlabSourceNote": "未使用访问令牌时可能无法从 GitLab 获取 APK 文件。", |     "gitlabSourceNote": "未使用访问令牌时可能无法从 GitLab 获取 APK 文件。", | ||||||
|     "sortByFileNamesNotLinks": "使用文件名代替链接进行排序", |     "sortByFileNamesNotLinks": "使用文件名代替链接进行排序", | ||||||
|     "filterReleaseNotesByRegEx": "使用正则表达式筛选发行说明", |     "filterReleaseNotesByRegEx": "使用正则表达式筛选发行说明", | ||||||
|     "customLinkFilterRegex": "使用正则表达式自定义链接筛选(默认模式为“.apk$”)", |     "customLinkFilterRegex": "使用正则表达式筛选自定义来源 APK 文件链接\n(未填写时,默认匹配模式为“.apk$”)", | ||||||
|     "appsPossiblyUpdated": "已尝试更新应用", |     "appsPossiblyUpdated": "已尝试更新应用", | ||||||
|     "appsPossiblyUpdatedNotifDescription": "当应用已尝试在后台更新时发送通知", |     "appsPossiblyUpdatedNotifDescription": "当应用已尝试在后台更新时发送通知", | ||||||
|     "xWasPossiblyUpdatedToY": "已尝试将 {} 更新至 {}。", |     "xWasPossiblyUpdatedToY": "已尝试将“{}”更新至 {}。", | ||||||
|     "enableBackgroundUpdates": "启用后台更新", |     "enableBackgroundUpdates": "启用后台更新", | ||||||
|     "backgroundUpdateReqsExplanation": "后台更新未必适用于所有的应用。", |     "backgroundUpdateReqsExplanation": "后台更新未必适用于所有的应用。", | ||||||
|     "backgroundUpdateLimitsExplanation": "只有在启动 Obtainium 时才能确认安装是否成功。", |     "backgroundUpdateLimitsExplanation": "只有在启动 Obtainium 时才能确认安装是否成功。", | ||||||
|     "verifyLatestTag": "验证“Latest”标签", |     "verifyLatestTag": "验证“Latest”标签", | ||||||
|     "exemptFromBackgroundUpdates": "Exempt from background updates (if enabled)", |     "intermediateLinkRegex": "筛选一个首先访问的“中转”链接(正则表达式)", | ||||||
|     "bgUpdatesOnWiFiOnly": "Disable background updates when not on WiFi", |     "intermediateLinkNotFound": "未找到“中转”链接", | ||||||
|     "autoSelectHighestVersionCode": "Auto-select highest versionCode APK", |     "exemptFromBackgroundUpdates": "单独禁用后台更新(若已经全局启用)", | ||||||
|     "versionExtractionRegEx": "Version Extraction RegEx", |     "bgUpdatesOnWiFiOnly": "未连接 Wi-Fi 时禁用后台更新", | ||||||
|     "matchGroupToUse": "Match Group to Use", |     "autoSelectHighestVersionCode": "自动选择版本号最高的 APK 文件", | ||||||
|     "highlightTouchTargets": "Highlight less obvious touch targets", |     "versionExtractionRegEx": "获取版本号的正则表达式", | ||||||
|     "pickExportDir": "Pick Export Directory", |     "matchGroupToUse": "引用的捕获组", | ||||||
|     "autoExportOnChanges": "Auto-export on changes", |     "highlightTouchTargets": "突出展示不明显的触摸区域", | ||||||
|     "filterVersionsByRegEx": "Filter Versions by Regular Expression", |     "pickExportDir": "选择导出文件夹", | ||||||
|     "trySelectingSuggestedVersionCode": "Try selecting suggested versionCode APK", |     "autoExportOnChanges": "数据变更时自动导出", | ||||||
|  |     "filterVersionsByRegEx": "使用正则表达式筛选版本号", | ||||||
|  |     "trySelectingSuggestedVersionCode": "尝试选择推荐版本的 APK 文件", | ||||||
|  |     "dontSortReleasesList": "保持来自 API 的发行顺序", | ||||||
|  |     "reverseSort": "反转排序", | ||||||
|  |     "debugMenu": "调试选项", | ||||||
|  |     "bgTaskStarted": "后台任务已启动 - 详见日志", | ||||||
|  |     "runBgCheckNow": "立即进行后台更新检查", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "是否删除应用?", |         "one": "是否删除应用?", | ||||||
|         "other": "是否删除应用?" |         "other": "是否删除应用?" | ||||||
|   | |||||||
| @@ -21,16 +21,20 @@ parseDateTimeMMMddCommayyyy(String? dateString) { | |||||||
| class APKPure extends AppSource { | class APKPure extends AppSource { | ||||||
|   APKPure() { |   APKPure() { | ||||||
|     host = 'apkpure.com'; |     host = 'apkpure.com'; | ||||||
|  |     allowSubDomains = true; | ||||||
|  |     naiveStandardVersionDetection = true; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   @override |   @override | ||||||
|   String sourceSpecificStandardizeURL(String url) { |   String sourceSpecificStandardizeURL(String url) { | ||||||
|     RegExp standardUrlRegExB = RegExp('^https?://m.$host/+[^/]+/+[^/]+'); |     RegExp standardUrlRegExB = | ||||||
|  |         RegExp('^https?://m.$host/+[^/]+/+[^/]+(/+[^/]+)?'); | ||||||
|     RegExpMatch? match = standardUrlRegExB.firstMatch(url.toLowerCase()); |     RegExpMatch? match = standardUrlRegExB.firstMatch(url.toLowerCase()); | ||||||
|     if (match != null) { |     if (match != null) { | ||||||
|       url = 'https://$host/${Uri.parse(url).path}'; |       url = 'https://$host${Uri.parse(url).path}'; | ||||||
|     } |     } | ||||||
|     RegExp standardUrlRegExA = RegExp('^https?://$host/+[^/]+/+[^/]+'); |     RegExp standardUrlRegExA = | ||||||
|  |         RegExp('^https?://$host/+[^/]+/+[^/]+(/+[^/]+)?'); | ||||||
|     match = standardUrlRegExA.firstMatch(url.toLowerCase()); |     match = standardUrlRegExA.firstMatch(url.toLowerCase()); | ||||||
|     if (match == null) { |     if (match == null) { | ||||||
|       throw InvalidURLError(name); |       throw InvalidURLError(name); | ||||||
|   | |||||||
| @@ -9,6 +9,7 @@ class Aptoide extends AppSource { | |||||||
|     host = 'aptoide.com'; |     host = 'aptoide.com'; | ||||||
|     name = tr('Aptoide'); |     name = tr('Aptoide'); | ||||||
|     allowSubDomains = true; |     allowSubDomains = true; | ||||||
|  |     naiveStandardVersionDetection = true; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   @override |   @override | ||||||
|   | |||||||
| @@ -11,6 +11,7 @@ class FDroid extends AppSource { | |||||||
|   FDroid() { |   FDroid() { | ||||||
|     host = 'f-droid.org'; |     host = 'f-droid.org'; | ||||||
|     name = tr('fdroid'); |     name = tr('fdroid'); | ||||||
|  |     naiveStandardVersionDetection = true; | ||||||
|     canSearch = true; |     canSearch = true; | ||||||
|     additionalSourceAppSpecificSettingFormItems = [ |     additionalSourceAppSpecificSettingFormItems = [ | ||||||
|       [ |       [ | ||||||
| @@ -25,7 +26,7 @@ class FDroid extends AppSource { | |||||||
|       ], |       ], | ||||||
|       [ |       [ | ||||||
|         GeneratedFormSwitch('trySelectingSuggestedVersionCode', |         GeneratedFormSwitch('trySelectingSuggestedVersionCode', | ||||||
|             label: tr('trySelectingSuggestedVersionCode'), defaultValue: true) |             label: tr('trySelectingSuggestedVersionCode')) | ||||||
|       ], |       ], | ||||||
|       [ |       [ | ||||||
|         GeneratedFormSwitch('autoSelectHighestVersionCode', |         GeneratedFormSwitch('autoSelectHighestVersionCode', | ||||||
| @@ -57,81 +58,6 @@ class FDroid extends AppSource { | |||||||
|     return Uri.parse(standardUrl).pathSegments.last; |     return Uri.parse(standardUrl).pathSegments.last; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   APKDetails getAPKUrlsFromFDroidPackagesAPIResponse( |  | ||||||
|       Response res, String apkUrlPrefix, String standardUrl, |  | ||||||
|       {bool autoSelectHighestVersionCode = false, |  | ||||||
|       bool trySelectingSuggestedVersionCode = false, |  | ||||||
|       String? filterVersionsByRegEx}) { |  | ||||||
|     if (res.statusCode == 200) { |  | ||||||
|       var response = jsonDecode(res.body); |  | ||||||
|       List<dynamic> releases = response['packages'] ?? []; |  | ||||||
|       if (releases.isEmpty) { |  | ||||||
|         throw NoReleasesError(); |  | ||||||
|       } |  | ||||||
|       String? version; |  | ||||||
|       Iterable<dynamic> releaseChoices = []; |  | ||||||
|       // Grab the versionCode suggested if the user chose to do that |  | ||||||
|       // Only do so at this stage if the user has no release filter |  | ||||||
|       if (trySelectingSuggestedVersionCode && |  | ||||||
|           response['suggestedVersionCode'] != null && |  | ||||||
|           filterVersionsByRegEx == null) { |  | ||||||
|         var suggestedReleases = releases.where((element) => |  | ||||||
|             element['versionCode'] == response['suggestedVersionCode']); |  | ||||||
|         if (suggestedReleases.isNotEmpty) { |  | ||||||
|           releaseChoices = suggestedReleases; |  | ||||||
|           version = suggestedReleases.first['versionName']; |  | ||||||
|         } |  | ||||||
|       } |  | ||||||
|       // Apply the release filter if any |  | ||||||
|       if (filterVersionsByRegEx != null) { |  | ||||||
|         version = null; |  | ||||||
|         releaseChoices = []; |  | ||||||
|         for (var i = 0; i < releases.length; i++) { |  | ||||||
|           if (RegExp(filterVersionsByRegEx) |  | ||||||
|               .hasMatch(releases[i]['versionName'])) { |  | ||||||
|             version = releases[i]['versionName']; |  | ||||||
|           } |  | ||||||
|         } |  | ||||||
|         if (version == null) { |  | ||||||
|           throw NoVersionError(); |  | ||||||
|         } |  | ||||||
|       } |  | ||||||
|       // Default to the highest version |  | ||||||
|       version ??= releases[0]['versionName']; |  | ||||||
|       if (version == null) { |  | ||||||
|         throw NoVersionError(); |  | ||||||
|       } |  | ||||||
|       // If a suggested release was not already picked, pick all those with the selected version |  | ||||||
|       if (releaseChoices.isEmpty) { |  | ||||||
|         releaseChoices = |  | ||||||
|             releases.where((element) => element['versionName'] == version); |  | ||||||
|       } |  | ||||||
|       // For the remaining releases, use the toggles to auto-select one if possible |  | ||||||
|       if (releaseChoices.length > 1) { |  | ||||||
|         if (autoSelectHighestVersionCode) { |  | ||||||
|           releaseChoices = [releaseChoices.first]; |  | ||||||
|         } else if (trySelectingSuggestedVersionCode && |  | ||||||
|             response['suggestedVersionCode'] != null) { |  | ||||||
|           var suggestedReleases = releaseChoices.where((element) => |  | ||||||
|               element['versionCode'] == response['suggestedVersionCode']); |  | ||||||
|           if (suggestedReleases.isNotEmpty) { |  | ||||||
|             releaseChoices = suggestedReleases; |  | ||||||
|           } |  | ||||||
|         } |  | ||||||
|       } |  | ||||||
|       if (releaseChoices.isEmpty) { |  | ||||||
|         throw NoReleasesError(); |  | ||||||
|       } |  | ||||||
|       List<String> apkUrls = releaseChoices |  | ||||||
|           .map((e) => '${apkUrlPrefix}_${e['versionCode']}.apk') |  | ||||||
|           .toList(); |  | ||||||
|       return APKDetails(version, getApkUrlsFromUrls(apkUrls), |  | ||||||
|           AppNames(name, Uri.parse(standardUrl).pathSegments.last)); |  | ||||||
|     } else { |  | ||||||
|       throw getObtainiumHttpError(res); |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   @override |   @override | ||||||
|   Future<APKDetails> getLatestAPKDetails( |   Future<APKDetails> getLatestAPKDetails( | ||||||
|     String standardUrl, |     String standardUrl, | ||||||
| @@ -143,6 +69,7 @@ class FDroid extends AppSource { | |||||||
|         await sourceRequest('https://$host/api/v1/packages/$appId'), |         await sourceRequest('https://$host/api/v1/packages/$appId'), | ||||||
|         'https://$host/repo/$appId', |         'https://$host/repo/$appId', | ||||||
|         standardUrl, |         standardUrl, | ||||||
|  |         name, | ||||||
|         autoSelectHighestVersionCode: |         autoSelectHighestVersionCode: | ||||||
|             additionalSettings['autoSelectHighestVersionCode'] == true, |             additionalSettings['autoSelectHighestVersionCode'] == true, | ||||||
|         trySelectingSuggestedVersionCode: |         trySelectingSuggestedVersionCode: | ||||||
| @@ -185,3 +112,78 @@ class FDroid extends AppSource { | |||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | APKDetails getAPKUrlsFromFDroidPackagesAPIResponse( | ||||||
|  |     Response res, String apkUrlPrefix, String standardUrl, String sourceName, | ||||||
|  |     {bool autoSelectHighestVersionCode = false, | ||||||
|  |     bool trySelectingSuggestedVersionCode = false, | ||||||
|  |     String? filterVersionsByRegEx}) { | ||||||
|  |   if (res.statusCode == 200) { | ||||||
|  |     var response = jsonDecode(res.body); | ||||||
|  |     List<dynamic> releases = response['packages'] ?? []; | ||||||
|  |     if (releases.isEmpty) { | ||||||
|  |       throw NoReleasesError(); | ||||||
|  |     } | ||||||
|  |     String? version; | ||||||
|  |     Iterable<dynamic> releaseChoices = []; | ||||||
|  |     // Grab the versionCode suggested if the user chose to do that | ||||||
|  |     // Only do so at this stage if the user has no release filter | ||||||
|  |     if (trySelectingSuggestedVersionCode && | ||||||
|  |         response['suggestedVersionCode'] != null && | ||||||
|  |         filterVersionsByRegEx == null) { | ||||||
|  |       var suggestedReleases = releases.where((element) => | ||||||
|  |           element['versionCode'] == response['suggestedVersionCode']); | ||||||
|  |       if (suggestedReleases.isNotEmpty) { | ||||||
|  |         releaseChoices = suggestedReleases; | ||||||
|  |         version = suggestedReleases.first['versionName']; | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |     // Apply the release filter if any | ||||||
|  |     if (filterVersionsByRegEx != null) { | ||||||
|  |       version = null; | ||||||
|  |       releaseChoices = []; | ||||||
|  |       for (var i = 0; i < releases.length; i++) { | ||||||
|  |         if (RegExp(filterVersionsByRegEx) | ||||||
|  |             .hasMatch(releases[i]['versionName'])) { | ||||||
|  |           version = releases[i]['versionName']; | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |       if (version == null) { | ||||||
|  |         throw NoVersionError(); | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |     // Default to the highest version | ||||||
|  |     version ??= releases[0]['versionName']; | ||||||
|  |     if (version == null) { | ||||||
|  |       throw NoVersionError(); | ||||||
|  |     } | ||||||
|  |     // If a suggested release was not already picked, pick all those with the selected version | ||||||
|  |     if (releaseChoices.isEmpty) { | ||||||
|  |       releaseChoices = | ||||||
|  |           releases.where((element) => element['versionName'] == version); | ||||||
|  |     } | ||||||
|  |     // For the remaining releases, use the toggles to auto-select one if possible | ||||||
|  |     if (releaseChoices.length > 1) { | ||||||
|  |       if (autoSelectHighestVersionCode) { | ||||||
|  |         releaseChoices = [releaseChoices.first]; | ||||||
|  |       } else if (trySelectingSuggestedVersionCode && | ||||||
|  |           response['suggestedVersionCode'] != null) { | ||||||
|  |         var suggestedReleases = releaseChoices.where((element) => | ||||||
|  |             element['versionCode'] == response['suggestedVersionCode']); | ||||||
|  |         if (suggestedReleases.isNotEmpty) { | ||||||
|  |           releaseChoices = suggestedReleases; | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |     if (releaseChoices.isEmpty) { | ||||||
|  |       throw NoReleasesError(); | ||||||
|  |     } | ||||||
|  |     List<String> apkUrls = releaseChoices | ||||||
|  |         .map((e) => '${apkUrlPrefix}_${e['versionCode']}.apk') | ||||||
|  |         .toList(); | ||||||
|  |     return APKDetails(version, getApkUrlsFromUrls(apkUrls), | ||||||
|  |         AppNames(sourceName, Uri.parse(standardUrl).pathSegments.last)); | ||||||
|  |   } else { | ||||||
|  |     throw getObtainiumHttpError(res); | ||||||
|  |   } | ||||||
|  | } | ||||||
|   | |||||||
| @@ -22,7 +22,6 @@ class GitHub extends AppSource { | |||||||
|           label: tr('githubPATLabel'), |           label: tr('githubPATLabel'), | ||||||
|           password: true, |           password: true, | ||||||
|           required: false, |           required: false, | ||||||
|           hint: tr('githubPATFormat'), |  | ||||||
|           belowWidgets: [ |           belowWidgets: [ | ||||||
|             const SizedBox( |             const SizedBox( | ||||||
|               height: 4, |               height: 4, | ||||||
| @@ -73,9 +72,10 @@ class GitHub extends AppSource { | |||||||
|               } |               } | ||||||
|             ]) |             ]) | ||||||
|       ], |       ], | ||||||
|  |       [GeneratedFormSwitch('verifyLatestTag', label: tr('verifyLatestTag'))], | ||||||
|       [ |       [ | ||||||
|         GeneratedFormSwitch('verifyLatestTag', |         GeneratedFormSwitch('dontSortReleasesList', | ||||||
|             label: tr('verifyLatestTag'), defaultValue: false) |             label: tr('dontSortReleasesList')) | ||||||
|       ] |       ] | ||||||
|     ]; |     ]; | ||||||
|  |  | ||||||
| @@ -231,6 +231,8 @@ class GitHub extends AppSource { | |||||||
|             ? additionalSettings['filterReleaseNotesByRegEx'] |             ? additionalSettings['filterReleaseNotesByRegEx'] | ||||||
|             : null; |             : null; | ||||||
|     bool verifyLatestTag = additionalSettings['verifyLatestTag'] == true; |     bool verifyLatestTag = additionalSettings['verifyLatestTag'] == true; | ||||||
|  |     bool dontSortReleasesList = | ||||||
|  |         additionalSettings['dontSortReleasesList'] == true; | ||||||
|     String? latestTag; |     String? latestTag; | ||||||
|     if (verifyLatestTag) { |     if (verifyLatestTag) { | ||||||
|       var temp = requestUrl.split('?'); |       var temp = requestUrl.split('?'); | ||||||
| @@ -266,32 +268,36 @@ class GitHub extends AppSource { | |||||||
|           rel?['published_at'] != null |           rel?['published_at'] != null | ||||||
|               ? DateTime.parse(rel['published_at']) |               ? DateTime.parse(rel['published_at']) | ||||||
|               : null; |               : null; | ||||||
|       releases.sort((a, b) { |       if (dontSortReleasesList) { | ||||||
|         // See #478 and #534 |         releases = releases.reversed.toList(); | ||||||
|         if (a == b) { |       } else { | ||||||
|           return 0; |         releases.sort((a, b) { | ||||||
|         } else if (a == null) { |           // See #478 and #534 | ||||||
|           return -1; |           if (a == b) { | ||||||
|         } else if (b == null) { |             return 0; | ||||||
|           return 1; |           } else if (a == null) { | ||||||
|         } else { |             return -1; | ||||||
|           var nameA = a['tag_name'] ?? a['name']; |           } else if (b == null) { | ||||||
|           var nameB = b['tag_name'] ?? b['name']; |             return 1; | ||||||
|           var stdFormats = findStandardFormatsForVersion(nameA, true) |  | ||||||
|               .intersection(findStandardFormatsForVersion(nameB, true)); |  | ||||||
|           if (stdFormats.isNotEmpty) { |  | ||||||
|             var reg = RegExp(stdFormats.first); |  | ||||||
|             var matchA = reg.firstMatch(nameA); |  | ||||||
|             var matchB = reg.firstMatch(nameB); |  | ||||||
|             return compareAlphaNumeric( |  | ||||||
|                 (nameA as String).substring(matchA!.start, matchA.end), |  | ||||||
|                 (nameB as String).substring(matchB!.start, matchB.end)); |  | ||||||
|           } else { |           } else { | ||||||
|             return (getReleaseDateFromRelease(a) ?? DateTime(1)) |             var nameA = a['tag_name'] ?? a['name']; | ||||||
|                 .compareTo(getReleaseDateFromRelease(b) ?? DateTime(0)); |             var nameB = b['tag_name'] ?? b['name']; | ||||||
|  |             var stdFormats = findStandardFormatsForVersion(nameA, true) | ||||||
|  |                 .intersection(findStandardFormatsForVersion(nameB, true)); | ||||||
|  |             if (stdFormats.isNotEmpty) { | ||||||
|  |               var reg = RegExp(stdFormats.first); | ||||||
|  |               var matchA = reg.firstMatch(nameA); | ||||||
|  |               var matchB = reg.firstMatch(nameB); | ||||||
|  |               return compareAlphaNumeric( | ||||||
|  |                   (nameA as String).substring(matchA!.start, matchA.end), | ||||||
|  |                   (nameB as String).substring(matchB!.start, matchB.end)); | ||||||
|  |             } else { | ||||||
|  |               return (getReleaseDateFromRelease(a) ?? DateTime(1)) | ||||||
|  |                   .compareTo(getReleaseDateFromRelease(b) ?? DateTime(0)); | ||||||
|  |             } | ||||||
|           } |           } | ||||||
|         } |         }); | ||||||
|       }); |       } | ||||||
|       if (latestTag != null && |       if (latestTag != null && | ||||||
|           releases.isNotEmpty && |           releases.isNotEmpty && | ||||||
|           latestTag != |           latestTag != | ||||||
|   | |||||||
| @@ -93,6 +93,7 @@ class HTML extends AppSource { | |||||||
|         GeneratedFormSwitch('sortByFileNamesNotLinks', |         GeneratedFormSwitch('sortByFileNamesNotLinks', | ||||||
|             label: tr('sortByFileNamesNotLinks')) |             label: tr('sortByFileNamesNotLinks')) | ||||||
|       ], |       ], | ||||||
|  |       [GeneratedFormSwitch('reverseSort', label: tr('reverseSort'))], | ||||||
|       [ |       [ | ||||||
|         GeneratedFormTextField('customLinkFilterRegex', |         GeneratedFormTextField('customLinkFilterRegex', | ||||||
|             label: tr('customLinkFilterRegex'), |             label: tr('customLinkFilterRegex'), | ||||||
| @@ -107,7 +108,7 @@ class HTML extends AppSource { | |||||||
|       [ |       [ | ||||||
|         GeneratedFormTextField('intermediateLinkRegex', |         GeneratedFormTextField('intermediateLinkRegex', | ||||||
|             label: tr('intermediateLinkRegex'), |             label: tr('intermediateLinkRegex'), | ||||||
|             hint: '([0-9]+\.)*[0-9]+/\$', |             hint: '([0-9]+.)*[0-9]+/\$', | ||||||
|             required: false, |             required: false, | ||||||
|             additionalValidators: [(value) => regExValidator(value)]) |             additionalValidators: [(value) => regExValidator(value)]) | ||||||
|       ], |       ], | ||||||
| @@ -119,11 +120,14 @@ class HTML extends AppSource { | |||||||
|         GeneratedFormTextField('matchGroupToUse', |         GeneratedFormTextField('matchGroupToUse', | ||||||
|             label: tr('matchGroupToUse'), |             label: tr('matchGroupToUse'), | ||||||
|             required: false, |             required: false, | ||||||
|             hint: '1', |             hint: '0', | ||||||
|             textInputType: const TextInputType.numberWithOptions(), |             textInputType: const TextInputType.numberWithOptions(), | ||||||
|             additionalValidators: [ |             additionalValidators: [ | ||||||
|               (value) { |               (value) { | ||||||
|                 value ??= '1'; |                 if (value?.isEmpty == true) { | ||||||
|  |                   value = null; | ||||||
|  |                 } | ||||||
|  |                 value ??= '0'; | ||||||
|                 return intValidator(value); |                 return intValidator(value); | ||||||
|               } |               } | ||||||
|             ]) |             ]) | ||||||
| @@ -192,6 +196,9 @@ class HTML extends AppSource { | |||||||
|           ? compareAlphaNumeric(a.split('/').where((e) => e.isNotEmpty).last, |           ? compareAlphaNumeric(a.split('/').where((e) => e.isNotEmpty).last, | ||||||
|               b.split('/').where((e) => e.isNotEmpty).last) |               b.split('/').where((e) => e.isNotEmpty).last) | ||||||
|           : compareAlphaNumeric(a, b)); |           : compareAlphaNumeric(a, b)); | ||||||
|  |       if (additionalSettings['reverseSort'] == true) { | ||||||
|  |         links = links.reversed.toList(); | ||||||
|  |       } | ||||||
|       if ((additionalSettings['apkFilterRegEx'] as String?)?.isNotEmpty == |       if ((additionalSettings['apkFilterRegEx'] as String?)?.isNotEmpty == | ||||||
|           true) { |           true) { | ||||||
|         var reg = RegExp(additionalSettings['apkFilterRegEx']); |         var reg = RegExp(additionalSettings['apkFilterRegEx']); | ||||||
| @@ -209,8 +216,12 @@ class HTML extends AppSource { | |||||||
|         if (match.isEmpty) { |         if (match.isEmpty) { | ||||||
|           throw NoVersionError(); |           throw NoVersionError(); | ||||||
|         } |         } | ||||||
|         version = match.last |         String matchGroupString = | ||||||
|             .group(int.parse(additionalSettings['matchGroupToUse'] as String)); |             (additionalSettings['matchGroupToUse'] as String).trim(); | ||||||
|  |         if (matchGroupString.isEmpty) { | ||||||
|  |           matchGroupString = "0"; | ||||||
|  |         } | ||||||
|  |         version = match.last.group(int.parse(matchGroupString)); | ||||||
|         if (version?.isEmpty == true) { |         if (version?.isEmpty == true) { | ||||||
|           throw NoVersionError(); |           throw NoVersionError(); | ||||||
|         } |         } | ||||||
|   | |||||||
| @@ -6,16 +6,22 @@ class IzzyOnDroid extends AppSource { | |||||||
|   late FDroid fd; |   late FDroid fd; | ||||||
|  |  | ||||||
|   IzzyOnDroid() { |   IzzyOnDroid() { | ||||||
|     host = 'android.izzysoft.de'; |     host = 'izzysoft.de'; | ||||||
|     fd = FDroid(); |     fd = FDroid(); | ||||||
|     additionalSourceAppSpecificSettingFormItems = |     additionalSourceAppSpecificSettingFormItems = | ||||||
|         fd.additionalSourceAppSpecificSettingFormItems; |         fd.additionalSourceAppSpecificSettingFormItems; | ||||||
|  |     allowSubDomains = true; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   @override |   @override | ||||||
|   String sourceSpecificStandardizeURL(String url) { |   String sourceSpecificStandardizeURL(String url) { | ||||||
|     RegExp standardUrlRegEx = RegExp('^https?://$host/repo/apk/[^/]+'); |     RegExp standardUrlRegExA = RegExp('^https?://android.$host/repo/apk/[^/]+'); | ||||||
|     RegExpMatch? match = standardUrlRegEx.firstMatch(url.toLowerCase()); |     RegExpMatch? match = standardUrlRegExA.firstMatch(url.toLowerCase()); | ||||||
|  |     if (match == null) { | ||||||
|  |       RegExp standardUrlRegExB = | ||||||
|  |           RegExp('^https?://apt.$host/fdroid/index/apk/[^/]+'); | ||||||
|  |       match = standardUrlRegExB.firstMatch(url.toLowerCase()); | ||||||
|  |     } | ||||||
|     if (match == null) { |     if (match == null) { | ||||||
|       throw InvalidURLError(name); |       throw InvalidURLError(name); | ||||||
|     } |     } | ||||||
| @@ -34,11 +40,12 @@ class IzzyOnDroid extends AppSource { | |||||||
|     Map<String, dynamic> additionalSettings, |     Map<String, dynamic> additionalSettings, | ||||||
|   ) async { |   ) async { | ||||||
|     String? appId = await tryInferringAppId(standardUrl); |     String? appId = await tryInferringAppId(standardUrl); | ||||||
|     return fd.getAPKUrlsFromFDroidPackagesAPIResponse( |     return getAPKUrlsFromFDroidPackagesAPIResponse( | ||||||
|         await sourceRequest( |         await sourceRequest( | ||||||
|             'https://apt.izzysoft.de/fdroid/api/v1/packages/$appId'), |             'https://apt.izzysoft.de/fdroid/api/v1/packages/$appId'), | ||||||
|         'https://android.izzysoft.de/frepo/$appId', |         'https://android.izzysoft.de/frepo/$appId', | ||||||
|         standardUrl, |         standardUrl, | ||||||
|  |         name, | ||||||
|         autoSelectHighestVersionCode: |         autoSelectHighestVersionCode: | ||||||
|             additionalSettings['autoSelectHighestVersionCode'] == true, |             additionalSettings['autoSelectHighestVersionCode'] == true, | ||||||
|         trySelectingSuggestedVersionCode: |         trySelectingSuggestedVersionCode: | ||||||
|   | |||||||
| @@ -8,6 +8,7 @@ class Uptodown extends AppSource { | |||||||
|   Uptodown() { |   Uptodown() { | ||||||
|     host = 'uptodown.com'; |     host = 'uptodown.com'; | ||||||
|     allowSubDomains = true; |     allowSubDomains = true; | ||||||
|  |     naiveStandardVersionDetection = true; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   @override |   @override | ||||||
| @@ -79,4 +80,20 @@ class Uptodown extends AppSource { | |||||||
|         version, getApkUrlsFromUrls([apkUrl]), AppNames(author, appName), |         version, getApkUrlsFromUrls([apkUrl]), AppNames(author, appName), | ||||||
|         releaseDate: relDate); |         releaseDate: relDate); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |   @override | ||||||
|  |   Future<String> apkUrlPrefetchModifier( | ||||||
|  |       String apkUrl, String standardUrl) async { | ||||||
|  |     var res = await sourceRequest(apkUrl); | ||||||
|  |     if (res.statusCode != 200) { | ||||||
|  |       throw getObtainiumHttpError(res); | ||||||
|  |     } | ||||||
|  |     var html = parse(res.body); | ||||||
|  |     var finalUrl = | ||||||
|  |         (html.querySelector('.post-download')?.attributes['data-url']); | ||||||
|  |     if (finalUrl == null) { | ||||||
|  |       throw NoAPKError(); | ||||||
|  |     } | ||||||
|  |     return finalUrl; | ||||||
|  |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -16,14 +16,13 @@ class WhatsApp extends AppSource { | |||||||
|   @override |   @override | ||||||
|   Future<String> apkUrlPrefetchModifier( |   Future<String> apkUrlPrefetchModifier( | ||||||
|       String apkUrl, String standardUrl) async { |       String apkUrl, String standardUrl) async { | ||||||
|     Response res = await sourceRequest('https://www.whatsapp.com/android'); |     Response res = await sourceRequest('$standardUrl/android'); | ||||||
|     if (res.statusCode == 200) { |     if (res.statusCode == 200) { | ||||||
|       var targetLinks = parse(res.body) |       var targetLinks = parse(res.body) | ||||||
|           .querySelectorAll('a') |           .querySelectorAll('a') | ||||||
|           .map((e) => e.attributes['href'] ?? '') |           .map((e) => e.attributes['href'] ?? '') | ||||||
|           .where((e) => e.isNotEmpty) |           .where((e) => e.isNotEmpty) | ||||||
|           .where((e) => |           .where((e) => e.contains('WhatsApp.apk')) | ||||||
|               e.contains('content.whatsapp.net') && e.contains('WhatsApp.apk')) |  | ||||||
|           .toList(); |           .toList(); | ||||||
|       if (targetLinks.isEmpty) { |       if (targetLinks.isEmpty) { | ||||||
|         throw NoAPKError(); |         throw NoAPKError(); | ||||||
| @@ -39,37 +38,16 @@ class WhatsApp extends AppSource { | |||||||
|     String standardUrl, |     String standardUrl, | ||||||
|     Map<String, dynamic> additionalSettings, |     Map<String, dynamic> additionalSettings, | ||||||
|   ) async { |   ) async { | ||||||
|     Response res = await sourceRequest('https://www.whatsapp.com/android'); |     // This is a CDN link that is consistent per version | ||||||
|     if (res.statusCode == 200) { |     // But it has query params that change constantly | ||||||
|       var targetElements = parse(res.body) |     Uri apkUri = | ||||||
|           .querySelectorAll('p') |         Uri.parse(await apkUrlPrefetchModifier(standardUrl, standardUrl)); | ||||||
|           .where((element) => element.innerHtml.contains('Version ')) |     var unusableApkUrl = '${apkUri.origin}/${apkUri.path}'; | ||||||
|           .toList(); |     // So we use the param-less URL is a pseudo-version to add the app and check for updates | ||||||
|       if (targetElements.isEmpty) { |     // See #357 for why we can't scrape the version number directly | ||||||
|         throw NoVersionError(); |     // But we re-fetch the URL again with its latest query params at the actual download time | ||||||
|       } |     String version = unusableApkUrl.hashCode.toString(); | ||||||
|       var vLines = targetElements[0] |     return APKDetails(version, getApkUrlsFromUrls([unusableApkUrl]), | ||||||
|           .innerHtml |         AppNames('Meta', 'WhatsApp')); | ||||||
|           .split('\n') |  | ||||||
|           .where((element) => element.contains('Version ')) |  | ||||||
|           .toList(); |  | ||||||
|       if (vLines.isEmpty) { |  | ||||||
|         throw NoVersionError(); |  | ||||||
|       } |  | ||||||
|       var versionMatch = RegExp('[0-9]+(\\.[0-9]+)+').firstMatch(vLines[0]); |  | ||||||
|       if (versionMatch == null) { |  | ||||||
|         throw NoVersionError(); |  | ||||||
|       } |  | ||||||
|       String version = |  | ||||||
|           vLines[0].substring(versionMatch.start, versionMatch.end); |  | ||||||
|       return APKDetails( |  | ||||||
|           version, |  | ||||||
|           getApkUrlsFromUrls([ |  | ||||||
|             'https://www.whatsapp.com/android?v=$version&=thisIsaPlaceholder&a=realURLPrefetchedAtDownloadTime' |  | ||||||
|           ]), |  | ||||||
|           AppNames('Meta', 'WhatsApp')); |  | ||||||
|     } else { |  | ||||||
|       throw getObtainiumHttpError(res); |  | ||||||
|     } |  | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,3 +1,5 @@ | |||||||
|  | import 'dart:io'; | ||||||
|  |  | ||||||
| import 'package:android_package_installer/android_package_installer.dart'; | import 'package:android_package_installer/android_package_installer.dart'; | ||||||
| import 'package:easy_localization/easy_localization.dart'; | import 'package:easy_localization/easy_localization.dart'; | ||||||
| import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||||
| @@ -65,25 +67,38 @@ class NotImplementedError extends ObtainiumError { | |||||||
| } | } | ||||||
|  |  | ||||||
| class MultiAppMultiError extends ObtainiumError { | class MultiAppMultiError extends ObtainiumError { | ||||||
|   Map<String, List<String>> content = {}; |   Map<String, dynamic> rawErrors = {}; | ||||||
|  |   Map<String, List<String>> idsByErrorString = {}; | ||||||
|  |   Map<String, String> appIdNames = {}; | ||||||
|  |  | ||||||
|   MultiAppMultiError() : super(tr('placeholder'), unexpected: true); |   MultiAppMultiError() : super(tr('placeholder'), unexpected: true); | ||||||
|  |  | ||||||
|   add(String appId, String string) { |   add(String appId, dynamic error, {String? appName}) { | ||||||
|     var tempIds = content.remove(string); |     if (error is SocketException) { | ||||||
|  |       error = error.message; | ||||||
|  |     } | ||||||
|  |     rawErrors[appId] = error; | ||||||
|  |     var string = error.toString(); | ||||||
|  |     var tempIds = idsByErrorString.remove(string); | ||||||
|     tempIds ??= []; |     tempIds ??= []; | ||||||
|     tempIds.add(appId); |     tempIds.add(appId); | ||||||
|     content.putIfAbsent(string, () => tempIds!); |     idsByErrorString.putIfAbsent(string, () => tempIds!); | ||||||
|  |     if (appName != null) { | ||||||
|  |       appIdNames[appId] = appName; | ||||||
|  |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |   String errorString(String appId, {bool includeIdsWithNames = false}) => | ||||||
|  |       '${appIdNames.containsKey(appId) ? '${appIdNames[appId]}${includeIdsWithNames ? ' ($appId)' : ''}' : appId}: ${rawErrors[appId].toString()}'; | ||||||
|  |  | ||||||
|  |   String errorsAppsString(String errString, List<String> appIds, | ||||||
|  |           {bool includeIdsWithNames = false}) => | ||||||
|  |       '$errString [${list2FriendlyString(appIds.map((id) => appIdNames.containsKey(id) == true ? '${appIdNames[id]}${includeIdsWithNames ? ' ($id)' : ''}' : id).toList())}]'; | ||||||
|  |  | ||||||
|   @override |   @override | ||||||
|   String toString() { |   String toString() => idsByErrorString.entries | ||||||
|     String finalString = ''; |       .map((e) => errorsAppsString(e.key, e.value)) | ||||||
|     for (var e in content.keys) { |       .join('\n\n'); | ||||||
|       finalString += '$e: ${content[e].toString()}\n\n'; |  | ||||||
|     } |  | ||||||
|     return finalString; |  | ||||||
|   } |  | ||||||
| } | } | ||||||
|  |  | ||||||
| showError(dynamic e, BuildContext context) { | showError(dynamic e, BuildContext context) { | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart'; | |||||||
| // ignore: implementation_imports | // ignore: implementation_imports | ||||||
| import 'package:easy_localization/src/localization.dart'; | import 'package:easy_localization/src/localization.dart'; | ||||||
|  |  | ||||||
| const String currentVersion = '0.14.14'; | const String currentVersion = '0.14.25'; | ||||||
| const String currentReleaseTag = | const String currentReleaseTag = | ||||||
|     'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES |     'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES | ||||||
|  |  | ||||||
| @@ -27,7 +27,7 @@ const int bgUpdateCheckAlarmId = 666; | |||||||
|  |  | ||||||
| List<MapEntry<Locale, String>> supportedLocales = const [ | List<MapEntry<Locale, String>> supportedLocales = const [ | ||||||
|   MapEntry(Locale('en'), 'English'), |   MapEntry(Locale('en'), 'English'), | ||||||
|   MapEntry(Locale('zh'), '汉语'), |   MapEntry(Locale('zh'), '简体中文'), | ||||||
|   MapEntry(Locale('it'), 'Italiano'), |   MapEntry(Locale('it'), 'Italiano'), | ||||||
|   MapEntry(Locale('ja'), '日本語'), |   MapEntry(Locale('ja'), '日本語'), | ||||||
|   MapEntry(Locale('hu'), 'Magyar'), |   MapEntry(Locale('hu'), 'Magyar'), | ||||||
| @@ -38,7 +38,8 @@ List<MapEntry<Locale, String>> supportedLocales = const [ | |||||||
|   MapEntry(Locale('pl'), 'Polski'), |   MapEntry(Locale('pl'), 'Polski'), | ||||||
|   MapEntry(Locale('ru'), 'Русский язык'), |   MapEntry(Locale('ru'), 'Русский язык'), | ||||||
|   MapEntry(Locale('bs'), 'Bosanski'), |   MapEntry(Locale('bs'), 'Bosanski'), | ||||||
|   // MapEntry(Locale('br'), 'Brasileiro'), |   MapEntry(Locale('pt'), 'Brasileiro'), | ||||||
|  |   MapEntry(Locale('cs'), 'Česky'), | ||||||
| ]; | ]; | ||||||
| const fallbackLocale = Locale('en'); | const fallbackLocale = Locale('en'); | ||||||
| const localeDir = 'assets/translations'; | const localeDir = 'assets/translations'; | ||||||
|   | |||||||
| @@ -152,7 +152,7 @@ class _AppPageState extends State<AppPage> { | |||||||
|           mainAxisAlignment: MainAxisAlignment.center, |           mainAxisAlignment: MainAxisAlignment.center, | ||||||
|           crossAxisAlignment: CrossAxisAlignment.stretch, |           crossAxisAlignment: CrossAxisAlignment.stretch, | ||||||
|           children: [ |           children: [ | ||||||
|             const SizedBox(height: 125), |             const SizedBox(height: 20), | ||||||
|             app?.icon != null |             app?.icon != null | ||||||
|                 ? Row(mainAxisAlignment: MainAxisAlignment.center, children: [ |                 ? Row(mainAxisAlignment: MainAxisAlignment.center, children: [ | ||||||
|                     Image.memory( |                     Image.memory( | ||||||
| @@ -464,8 +464,17 @@ class _AppPageState extends State<AppPage> { | |||||||
|           ], |           ], | ||||||
|         )); |         )); | ||||||
|      |      | ||||||
|  |     appScreenAppBar() => AppBar( | ||||||
|  |       leading: IconButton( | ||||||
|  |         icon: const Icon(Icons.arrow_back), | ||||||
|  |         onPressed: () { | ||||||
|  |           Navigator.pop(context); | ||||||
|  |         }, | ||||||
|  |       ), | ||||||
|  |     ); | ||||||
|  |  | ||||||
|     return Scaffold( |     return Scaffold( | ||||||
|         appBar: settingsProvider.showAppWebpage ? AppBar() : null, |         appBar: settingsProvider.showAppWebpage ? AppBar() : appScreenAppBar(), | ||||||
|         backgroundColor: Theme.of(context).colorScheme.surface, |         backgroundColor: Theme.of(context).colorScheme.surface, | ||||||
|         body: RefreshIndicator( |         body: RefreshIndicator( | ||||||
|             child: settingsProvider.showAppWebpage |             child: settingsProvider.showAppWebpage | ||||||
|   | |||||||
| @@ -68,7 +68,7 @@ class AppsPageState extends State<AppsPage> { | |||||||
|         refreshingSince = DateTime.now(); |         refreshingSince = DateTime.now(); | ||||||
|       }); |       }); | ||||||
|       return appsProvider.checkUpdates().catchError((e) { |       return appsProvider.checkUpdates().catchError((e) { | ||||||
|         showError(e, context); |         showError(e is Map ? e['errors'] : e, context); | ||||||
|         return <App>[]; |         return <App>[]; | ||||||
|       }).whenComplete(() { |       }).whenComplete(() { | ||||||
|         setState(() { |         setState(() { | ||||||
| @@ -833,7 +833,7 @@ class AppsPageState extends State<AppsPage> { | |||||||
|                 items: const [], |                 items: const [], | ||||||
|                 initValid: true, |                 initValid: true, | ||||||
|                 message: tr('installStatusOfXWillBeResetExplanation', |                 message: tr('installStatusOfXWillBeResetExplanation', | ||||||
|                     args: [plural('app', selectedAppIds.length)]), |                     args: [plural('apps', selectedAppIds.length)]), | ||||||
|               ); |               ); | ||||||
|             }); |             }); | ||||||
|         if (values != null) { |         if (values != null) { | ||||||
|   | |||||||
| @@ -102,11 +102,12 @@ class _ImportExportPageState extends State<ImportExportPage> { | |||||||
|       }); |       }); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     runObtainiumExport() async { |     runObtainiumExport({bool pickOnly = false}) async { | ||||||
|       HapticFeedback.selectionClick(); |       HapticFeedback.selectionClick(); | ||||||
|       appsProvider |       appsProvider | ||||||
|           .exportApps( |           .exportApps( | ||||||
|               pickOnly: (await settingsProvider.getExportDir()) == null, |               pickOnly: | ||||||
|  |                   pickOnly || (await settingsProvider.getExportDir()) == null, | ||||||
|               sp: settingsProvider) |               sp: settingsProvider) | ||||||
|           .then((String? result) { |           .then((String? result) { | ||||||
|         if (result != null) { |         if (result != null) { | ||||||
| @@ -216,7 +217,8 @@ class _ImportExportPageState extends State<ImportExportPage> { | |||||||
|               if (errors.isEmpty) { |               if (errors.isEmpty) { | ||||||
|                 // ignore: use_build_context_synchronously |                 // ignore: use_build_context_synchronously | ||||||
|                 showError( |                 showError( | ||||||
|                     tr('importedX', args: [plural('app', selectedUrls.length)]), |                     tr('importedX', | ||||||
|  |                         args: [plural('apps', selectedUrls.length)]), | ||||||
|                     context); |                     context); | ||||||
|               } else { |               } else { | ||||||
|                 // ignore: use_build_context_synchronously |                 // ignore: use_build_context_synchronously | ||||||
| @@ -273,7 +275,7 @@ class _ImportExportPageState extends State<ImportExportPage> { | |||||||
|             if (errors.isEmpty) { |             if (errors.isEmpty) { | ||||||
|               // ignore: use_build_context_synchronously |               // ignore: use_build_context_synchronously | ||||||
|               showError( |               showError( | ||||||
|                   tr('importedX', args: [plural('app', selectedUrls.length)]), |                   tr('importedX', args: [plural('apps', selectedUrls.length)]), | ||||||
|                   context); |                   context); | ||||||
|             } else { |             } else { | ||||||
|               // ignore: use_build_context_synchronously |               // ignore: use_build_context_synchronously | ||||||
| @@ -320,21 +322,38 @@ class _ImportExportPageState extends State<ImportExportPage> { | |||||||
|                                     onPressed: appsProvider.apps.isEmpty || |                                     onPressed: appsProvider.apps.isEmpty || | ||||||
|                                             importInProgress |                                             importInProgress | ||||||
|                                         ? null |                                         ? null | ||||||
|                                         : runObtainiumExport, |                                         : () { | ||||||
|                                     child: Text(tr(snapshot.data != null |                                             runObtainiumExport(pickOnly: true); | ||||||
|                                         ? 'obtainiumExport' |                                           }, | ||||||
|                                         : 'pickExportDir')), |                                     child: Text(tr('pickExportDir')), | ||||||
|                                   )), |                                   )), | ||||||
|                                   const SizedBox( |                                   const SizedBox( | ||||||
|                                     width: 16, |                                     width: 16, | ||||||
|                                   ), |                                   ), | ||||||
|  |                                   Expanded( | ||||||
|  |                                       child: TextButton( | ||||||
|  |                                     style: outlineButtonStyle, | ||||||
|  |                                     onPressed: appsProvider.apps.isEmpty || | ||||||
|  |                                             importInProgress || | ||||||
|  |                                             snapshot.data == null | ||||||
|  |                                         ? null | ||||||
|  |                                         : runObtainiumExport, | ||||||
|  |                                     child: Text(tr('obtainiumExport')), | ||||||
|  |                                   )), | ||||||
|  |                                 ], | ||||||
|  |                               ), | ||||||
|  |                               const SizedBox( | ||||||
|  |                                 height: 8, | ||||||
|  |                               ), | ||||||
|  |                               Row( | ||||||
|  |                                 children: [ | ||||||
|                                   Expanded( |                                   Expanded( | ||||||
|                                       child: TextButton( |                                       child: TextButton( | ||||||
|                                           style: outlineButtonStyle, |                                           style: outlineButtonStyle, | ||||||
|                                           onPressed: importInProgress |                                           onPressed: importInProgress | ||||||
|                                               ? null |                                               ? null | ||||||
|                                               : runObtainiumImport, |                                               : runObtainiumImport, | ||||||
|                                           child: Text(tr('obtainiumImport')))) |                                           child: Text(tr('obtainiumImport')))), | ||||||
|                                 ], |                                 ], | ||||||
|                               ), |                               ), | ||||||
|                               if (snapshot.data != null) |                               if (snapshot.data != null) | ||||||
|   | |||||||
| @@ -558,7 +558,7 @@ class _SettingsPageState extends State<SettingsPage> { | |||||||
|                     Row( |                     Row( | ||||||
|                       mainAxisAlignment: MainAxisAlignment.spaceBetween, |                       mainAxisAlignment: MainAxisAlignment.spaceBetween, | ||||||
|                       children: [ |                       children: [ | ||||||
|                         const Flexible(child: Text('Debug Menu')), |                         Flexible(child: Text(tr('debugMenu'))), | ||||||
|                         Switch( |                         Switch( | ||||||
|                             value: settingsProvider.showDebugOpts, |                             value: settingsProvider.showDebugOpts, | ||||||
|                             onChanged: (value) { |                             onChanged: (value) { | ||||||
| @@ -577,12 +577,9 @@ class _SettingsPageState extends State<SettingsPage> { | |||||||
|                                     const Duration(seconds: 0), |                                     const Duration(seconds: 0), | ||||||
|                                     bgUpdateCheckAlarmId + 200, |                                     bgUpdateCheckAlarmId + 200, | ||||||
|                                     bgUpdateCheck); |                                     bgUpdateCheck); | ||||||
|                                 showError( |                                 showError(tr('bgTaskStarted'), context); | ||||||
|                                     'Background task started - check logs.', |  | ||||||
|                                     context); |  | ||||||
|                               }, |                               }, | ||||||
|                               child: |                               child: Text(tr('runBgCheckNow'))) | ||||||
|                                   const Text('Run Background Update Check Now')) |  | ||||||
|                         ], |                         ], | ||||||
|                       ), |                       ), | ||||||
|                   ]), |                   ]), | ||||||
|   | |||||||
| @@ -430,8 +430,8 @@ class AppsProvider with ChangeNotifier { | |||||||
|         zipFile: File(filePath), destinationDir: Directory(destinationPath)); |         zipFile: File(filePath), destinationDir: Directory(destinationPath)); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   Future<void> installXApkDir( |   Future<void> installXApkDir(DownloadedXApkDir dir, | ||||||
|       DownloadedXApkDir dir, BuildContext? context) async { |       {bool needsBGWorkaround = false}) async { | ||||||
|     // We don't know which APKs in an XAPK are supported by the user's device |     // We don't know which APKs in an XAPK are supported by the user's device | ||||||
|     // So we try installing all of them and assume success if at least one installed |     // So we try installing all of them and assume success if at least one installed | ||||||
|     // If 0 APKs installed, throw the first install error encountered |     // If 0 APKs installed, throw the first install error encountered | ||||||
| @@ -444,11 +444,12 @@ class AppsProvider with ChangeNotifier { | |||||||
|         if (file.path.toLowerCase().endsWith('.apk')) { |         if (file.path.toLowerCase().endsWith('.apk')) { | ||||||
|           try { |           try { | ||||||
|             somethingInstalled = somethingInstalled || |             somethingInstalled = somethingInstalled || | ||||||
|                 await installApk(DownloadedApk(dir.appId, file), context); |                 await installApk(DownloadedApk(dir.appId, file), | ||||||
|  |                     needsBGWorkaround: needsBGWorkaround); | ||||||
|           } catch (e) { |           } catch (e) { | ||||||
|             logs.add( |             logs.add( | ||||||
|                 'Could not install APK from XAPK \'${file.path}\': ${e.toString()}'); |                 'Could not install APK from XAPK \'${file.path}\': ${e.toString()}'); | ||||||
|             errors.add(dir.appId, e.toString()); |             errors.add(dir.appId, e, appName: apps[dir.appId]?.name); | ||||||
|           } |           } | ||||||
|         } else if (file.path.toLowerCase().endsWith('.obb')) { |         } else if (file.path.toLowerCase().endsWith('.obb')) { | ||||||
|           await moveObbFile(file, dir.appId); |           await moveObbFile(file, dir.appId); | ||||||
| @@ -456,7 +457,7 @@ class AppsProvider with ChangeNotifier { | |||||||
|       } |       } | ||||||
|       if (somethingInstalled) { |       if (somethingInstalled) { | ||||||
|         dir.file.delete(recursive: true); |         dir.file.delete(recursive: true); | ||||||
|       } else if (errors.content.isNotEmpty) { |       } else if (errors.idsByErrorString.isNotEmpty) { | ||||||
|         throw errors; |         throw errors; | ||||||
|       } |       } | ||||||
|     } finally { |     } finally { | ||||||
| @@ -464,7 +465,8 @@ class AppsProvider with ChangeNotifier { | |||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   Future<bool> installApk(DownloadedApk file, BuildContext? context) async { |   Future<bool> installApk(DownloadedApk file, | ||||||
|  |       {bool needsBGWorkaround = false}) async { | ||||||
|     var newInfo = |     var newInfo = | ||||||
|         await pm.getPackageArchiveInfo(archiveFilePath: file.file.path); |         await pm.getPackageArchiveInfo(archiveFilePath: file.file.path); | ||||||
|     PackageInfo? appInfo = await getInstalledInfo(apps[file.appId]!.app.id); |     PackageInfo? appInfo = await getInstalledInfo(apps[file.appId]!.app.id); | ||||||
| @@ -473,16 +475,19 @@ class AppsProvider with ChangeNotifier { | |||||||
|         !(await canDowngradeApps())) { |         !(await canDowngradeApps())) { | ||||||
|       throw DowngradeError(); |       throw DowngradeError(); | ||||||
|     } |     } | ||||||
|     int? code; |     if (needsBGWorkaround) { | ||||||
|     if (context == null) { |       // The below 'await' will never return if we are in a background process | ||||||
|       // In background installs, 'installApk' never returns so don't wait for it |       // To work around this, we should assume the install will be successful | ||||||
|       // TODO: Find a fix to make this work synchronously without context |       // So we update the app's installed version first as we will never get to the later code | ||||||
|       AndroidPackageInstaller.installApk(apkFilePath: file.file.path); |       // We can't conditionally get rid of the 'await' as this causes install fails (BG process times out) - see #896 | ||||||
|       code = 0; // Be optimistic (ver. det. will get most wrong ones anyways) |       // TODO: When fixed, update this function and the calls to it accordingly | ||||||
|     } else { |       apps[file.appId]!.app.installedVersion = | ||||||
|       code = |           apps[file.appId]!.app.latestVersion; | ||||||
|           await AndroidPackageInstaller.installApk(apkFilePath: file.file.path); |       await saveApps([apps[file.appId]!.app], | ||||||
|  |           attemptToCorrectInstallStatus: false); | ||||||
|     } |     } | ||||||
|  |     int? code = | ||||||
|  |         await AndroidPackageInstaller.installApk(apkFilePath: file.file.path); | ||||||
|     bool installed = false; |     bool installed = false; | ||||||
|     if (code != null && code != 0 && code != 3) { |     if (code != null && code != 0 && code != 3) { | ||||||
|       throw InstallError(code); |       throw InstallError(code); | ||||||
| @@ -649,11 +654,17 @@ class AppsProvider with ChangeNotifier { | |||||||
|         notifyListeners(); |         notifyListeners(); | ||||||
|         try { |         try { | ||||||
|           if (downloadedFile != null) { |           if (downloadedFile != null) { | ||||||
|             // ignore: use_build_context_synchronously |             if (willBeSilent && context == null) { | ||||||
|             await installApk(downloadedFile, context); |               installApk(downloadedFile, needsBGWorkaround: true); | ||||||
|  |             } else { | ||||||
|  |               await installApk(downloadedFile); | ||||||
|  |             } | ||||||
|           } else { |           } else { | ||||||
|             // ignore: use_build_context_synchronously |             if (willBeSilent && context == null) { | ||||||
|             await installXApkDir(downloadedDir!, context); |               installXApkDir(downloadedDir!, needsBGWorkaround: true); | ||||||
|  |             } else { | ||||||
|  |               await installXApkDir(downloadedDir!); | ||||||
|  |             } | ||||||
|           } |           } | ||||||
|           if (willBeSilent && context == null) { |           if (willBeSilent && context == null) { | ||||||
|             notificationsProvider?.notify(SilentUpdateAttemptNotification( |             notificationsProvider?.notify(SilentUpdateAttemptNotification( | ||||||
| @@ -666,11 +677,11 @@ class AppsProvider with ChangeNotifier { | |||||||
|         } |         } | ||||||
|         installedIds.add(id); |         installedIds.add(id); | ||||||
|       } catch (e) { |       } catch (e) { | ||||||
|         errors.add(id, e.toString()); |         errors.add(id, e, appName: apps[id]?.name); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     if (errors.content.isNotEmpty) { |     if (errors.idsByErrorString.isNotEmpty) { | ||||||
|       throw errors; |       throw errors; | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -698,14 +709,21 @@ class AppsProvider with ChangeNotifier { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   bool isVersionDetectionPossible(AppInMemory? app) { |   bool isVersionDetectionPossible(AppInMemory? app) { | ||||||
|     return app?.app.additionalSettings['trackOnly'] != true && |     if (app?.app == null) { | ||||||
|         app?.app.additionalSettings['versionDetection'] != |       return false; | ||||||
|  |     } | ||||||
|  |     var naiveStandardVersionDetection = SourceProvider() | ||||||
|  |         .getSource(app!.app.url, overrideSource: app.app.overrideSource) | ||||||
|  |         .naiveStandardVersionDetection; | ||||||
|  |     return app.app.additionalSettings['trackOnly'] != true && | ||||||
|  |         app.app.additionalSettings['versionDetection'] != | ||||||
|             'releaseDateAsVersion' && |             'releaseDateAsVersion' && | ||||||
|         app?.installedInfo?.versionName != null && |         app.installedInfo?.versionName != null && | ||||||
|         app?.app.installedVersion != null && |         app.app.installedVersion != null && | ||||||
|         reconcileVersionDifferences( |         (reconcileVersionDifferences(app.installedInfo!.versionName!, | ||||||
|                 app!.installedInfo!.versionName!, app.app.installedVersion!) != |                     app.app.installedVersion!) != | ||||||
|             null; |                 null || | ||||||
|  |             naiveStandardVersionDetection); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   // Given an App and it's on-device info... |   // Given an App and it's on-device info... | ||||||
| @@ -714,8 +732,12 @@ class AppsProvider with ChangeNotifier { | |||||||
|       App app, PackageInfo? installedInfo) { |       App app, PackageInfo? installedInfo) { | ||||||
|     var modded = false; |     var modded = false; | ||||||
|     var trackOnly = app.additionalSettings['trackOnly'] == true; |     var trackOnly = app.additionalSettings['trackOnly'] == true; | ||||||
|     var noVersionDetection = app.additionalSettings['versionDetection'] != |     var versionDetectionIsStandard = | ||||||
|         'standardVersionDetection'; |         app.additionalSettings['versionDetection'] == | ||||||
|  |             'standardVersionDetection'; | ||||||
|  |     var naiveStandardVersionDetection = SourceProvider() | ||||||
|  |         .getSource(app.url, overrideSource: app.overrideSource) | ||||||
|  |         .naiveStandardVersionDetection; | ||||||
|     // FIRST, COMPARE THE APP'S REPORTED AND REAL INSTALLED VERSIONS, WHERE ONE IS NULL |     // FIRST, COMPARE THE APP'S REPORTED AND REAL INSTALLED VERSIONS, WHERE ONE IS NULL | ||||||
|     if (installedInfo == null && app.installedVersion != null && !trackOnly) { |     if (installedInfo == null && app.installedVersion != null && !trackOnly) { | ||||||
|       // App says it's installed but isn't really (and isn't track only) - set to not installed |       // App says it's installed but isn't really (and isn't track only) - set to not installed | ||||||
| @@ -730,7 +752,7 @@ class AppsProvider with ChangeNotifier { | |||||||
|     // SECOND, RECONCILE DIFFERENCES BETWEEN THE APP'S REPORTED AND REAL INSTALLED VERSIONS, WHERE NEITHER IS NULL |     // SECOND, RECONCILE DIFFERENCES BETWEEN THE APP'S REPORTED AND REAL INSTALLED VERSIONS, WHERE NEITHER IS NULL | ||||||
|     if (installedInfo?.versionName != null && |     if (installedInfo?.versionName != null && | ||||||
|         installedInfo!.versionName != app.installedVersion && |         installedInfo!.versionName != app.installedVersion && | ||||||
|         !noVersionDetection) { |         versionDetectionIsStandard) { | ||||||
|       // App's reported version and real version don't match (and it uses standard version detection) |       // App's reported version and real version don't match (and it uses standard version detection) | ||||||
|       // If they share a standard format (and are still different under it), update the reported version accordingly |       // If they share a standard format (and are still different under it), update the reported version accordingly | ||||||
|       var correctedInstalledVersion = reconcileVersionDifferences( |       var correctedInstalledVersion = reconcileVersionDifferences( | ||||||
| @@ -738,12 +760,15 @@ class AppsProvider with ChangeNotifier { | |||||||
|       if (correctedInstalledVersion?.key == false) { |       if (correctedInstalledVersion?.key == false) { | ||||||
|         app.installedVersion = correctedInstalledVersion!.value; |         app.installedVersion = correctedInstalledVersion!.value; | ||||||
|         modded = true; |         modded = true; | ||||||
|  |       } else if (naiveStandardVersionDetection) { | ||||||
|  |         app.installedVersion = installedInfo.versionName; | ||||||
|  |         modded = true; | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     // THIRD, RECONCILE THE APP'S REPORTED INSTALLED AND LATEST VERSIONS |     // THIRD, RECONCILE THE APP'S REPORTED INSTALLED AND LATEST VERSIONS | ||||||
|     if (app.installedVersion != null && |     if (app.installedVersion != null && | ||||||
|         app.installedVersion != app.latestVersion && |         app.installedVersion != app.latestVersion && | ||||||
|         !noVersionDetection) { |         versionDetectionIsStandard) { | ||||||
|       // App's reported installed and latest versions don't match (and it uses standard version detection) |       // App's reported installed and latest versions don't match (and it uses standard version detection) | ||||||
|       // If they share a standard format, make sure the App's reported installed version uses that format |       // If they share a standard format, make sure the App's reported installed version uses that format | ||||||
|       var correctedInstalledVersion = |       var correctedInstalledVersion = | ||||||
| @@ -755,8 +780,7 @@ class AppsProvider with ChangeNotifier { | |||||||
|     } |     } | ||||||
|     // FOURTH, DISABLE VERSION DETECTION IF ENABLED AND THE REPORTED/REAL INSTALLED VERSIONS ARE NOT STANDARDIZED |     // FOURTH, DISABLE VERSION DETECTION IF ENABLED AND THE REPORTED/REAL INSTALLED VERSIONS ARE NOT STANDARDIZED | ||||||
|     if (installedInfo != null && |     if (installedInfo != null && | ||||||
|         app.additionalSettings['versionDetection'] == |         versionDetectionIsStandard && | ||||||
|             'standardVersionDetection' && |  | ||||||
|         !isVersionDetectionPossible( |         !isVersionDetectionPossible( | ||||||
|             AppInMemory(app, null, installedInfo, null))) { |             AppInMemory(app, null, installedInfo, null))) { | ||||||
|       app.additionalSettings['versionDetection'] = 'noVersionDetection'; |       app.additionalSettings['versionDetection'] = 'noVersionDetection'; | ||||||
| @@ -1044,7 +1068,8 @@ class AppsProvider with ChangeNotifier { | |||||||
|  |  | ||||||
|   Future<List<App>> checkUpdates( |   Future<List<App>> checkUpdates( | ||||||
|       {DateTime? ignoreAppsCheckedAfter, |       {DateTime? ignoreAppsCheckedAfter, | ||||||
|       bool throwErrorsForRetry = false}) async { |       bool throwErrorsForRetry = false, | ||||||
|  |       List<String>? specificIds}) async { | ||||||
|     List<App> updates = []; |     List<App> updates = []; | ||||||
|     MultiAppMultiError errors = MultiAppMultiError(); |     MultiAppMultiError errors = MultiAppMultiError(); | ||||||
|     if (!gettingUpdates) { |     if (!gettingUpdates) { | ||||||
| @@ -1052,27 +1077,33 @@ class AppsProvider with ChangeNotifier { | |||||||
|       try { |       try { | ||||||
|         List<String> appIds = getAppsSortedByUpdateCheckTime( |         List<String> appIds = getAppsSortedByUpdateCheckTime( | ||||||
|             ignoreAppsCheckedAfter: ignoreAppsCheckedAfter); |             ignoreAppsCheckedAfter: ignoreAppsCheckedAfter); | ||||||
|         for (int i = 0; i < appIds.length; i++) { |         if (specificIds != null) { | ||||||
|  |           appIds = appIds.where((aId) => specificIds.contains(aId)).toList(); | ||||||
|  |         } | ||||||
|  |         await Future.wait(appIds.map((appId) async { | ||||||
|           App? newApp; |           App? newApp; | ||||||
|           try { |           try { | ||||||
|             newApp = await checkUpdate(appIds[i]); |             newApp = await checkUpdate(appId); | ||||||
|           } catch (e) { |           } catch (e) { | ||||||
|             if ((e is RateLimitError || e is SocketException) && |             if ((e is RateLimitError || e is SocketException) && | ||||||
|                 throwErrorsForRetry) { |                 throwErrorsForRetry) { | ||||||
|               rethrow; |               rethrow; | ||||||
|             } |             } | ||||||
|             errors.add(appIds[i], e.toString()); |             errors.add(appId, e, appName: apps[appId]?.name); | ||||||
|           } |           } | ||||||
|           if (newApp != null) { |           if (newApp != null) { | ||||||
|             updates.add(newApp); |             updates.add(newApp); | ||||||
|           } |           } | ||||||
|         } |         }), eagerError: true); | ||||||
|       } finally { |       } finally { | ||||||
|         gettingUpdates = false; |         gettingUpdates = false; | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     if (errors.content.isNotEmpty) { |     if (errors.idsByErrorString.isNotEmpty) { | ||||||
|       throw errors; |       var res = <String, dynamic>{}; | ||||||
|  |       res['errors'] = errors; | ||||||
|  |       res['updates'] = updates; | ||||||
|  |       throw res; | ||||||
|     } |     } | ||||||
|     return updates; |     return updates; | ||||||
|   } |   } | ||||||
| @@ -1108,7 +1139,6 @@ class AppsProvider with ChangeNotifier { | |||||||
|         logs.add('Skipping auto-export as dir is not set.'); |         logs.add('Skipping auto-export as dir is not set.'); | ||||||
|         return null; |         return null; | ||||||
|       } |       } | ||||||
|       logs.add('Started auto-export.'); |  | ||||||
|       var files = await saf |       var files = await saf | ||||||
|           .listFiles(exportDir, columns: [saf.DocumentFileColumn.id]) |           .listFiles(exportDir, columns: [saf.DocumentFileColumn.id]) | ||||||
|           .where((f) => f.uri.pathSegments.last.endsWith('-auto.json')) |           .where((f) => f.uri.pathSegments.last.endsWith('-auto.json')) | ||||||
| @@ -1117,7 +1147,6 @@ class AppsProvider with ChangeNotifier { | |||||||
|         for (var f in files) { |         for (var f in files) { | ||||||
|           saf.delete(f.uri); |           saf.delete(f.uri); | ||||||
|         } |         } | ||||||
|         logs.add('Previous auto-export deleted.'); |  | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     if (exportDir == null || pickOnly) { |     if (exportDir == null || pickOnly) { | ||||||
| @@ -1291,18 +1320,16 @@ class _APKOriginWarningDialogState extends State<APKOriginWarningDialog> { | |||||||
|  |  | ||||||
| /// Background updater function | /// Background updater function | ||||||
| /// | /// | ||||||
| /// @param List<String>? toCheck: The appIds to check for updates (default to all apps sorted by last update check time) | /// @param List<MapEntry<String, int>>? toCheck: The appIds to check for updates (with the number of previous attempts made per appid) (defaults to all apps) | ||||||
| /// | /// | ||||||
| /// @param List<String>? toInstall: The appIds to attempt to update (defaults to an empty array) | /// @param List<String>? toInstall: The appIds to attempt to update (defaults to an empty array) | ||||||
| /// | /// | ||||||
| /// @param int? attemptCount: The number of times the function has failed up to this point (defaults to 0) |  | ||||||
| /// |  | ||||||
| /// When toCheck is empty, the function is in "install mode" (else it is in "update mode"). | /// When toCheck is empty, the function is in "install mode" (else it is in "update mode"). | ||||||
| /// In update mode, all apps in toCheck are checked for updates. | /// In update mode, all apps in toCheck are checked for updates. | ||||||
| /// If an update is available, the appId is either added to toInstall (if a background update is possible) or the user is notified. | /// If an update is available, the appId is either added to toInstall (if a background update is possible) or the user is notified. | ||||||
| /// If there is an error, the function tries to continue after a few minutes (duration depends on the error), up to a maximum of 5 tries. | /// If there are errors, the task is run again for the remaining apps after a few minutes (duration depends on the errors), up to a maximum of 5 tries for any app. | ||||||
| /// | /// | ||||||
| /// Once all update checks are complete, the function is called again in install mode. | /// Once all update checks are complete, the task is run again in install mode. | ||||||
| /// In this mode, all apps in toInstall are downloaded and installed in the background (install result is unknown). | /// In this mode, all apps in toInstall are downloaded and installed in the background (install result is unknown). | ||||||
| /// If there is an error, the function tries to continue after a few minutes (duration depends on the error), up to a maximum of 5 tries. | /// If there is an error, the function tries to continue after a few minutes (duration depends on the error), up to a maximum of 5 tries. | ||||||
| /// | /// | ||||||
| @@ -1348,88 +1375,134 @@ Future<void> bgUpdateCheck(int taskId, Map<String, dynamic>? params) async { | |||||||
|   logs.add( |   logs.add( | ||||||
|       'BG ${installMode ? 'install' : 'update'} task $taskId: Started (${installMode ? toInstall.length : toCheck.length}).'); |       'BG ${installMode ? 'install' : 'update'} task $taskId: Started (${installMode ? toInstall.length : toCheck.length}).'); | ||||||
|  |  | ||||||
|  |   var netResult = await (Connectivity().checkConnectivity()); | ||||||
|  |  | ||||||
|  |   if (netResult == ConnectivityResult.none) { | ||||||
|  |     var networkBasedRetryInterval = 15; | ||||||
|  |     var nextRegularCheck = appsProvider.settingsProvider.lastBGCheckTime | ||||||
|  |         .add(Duration(minutes: appsProvider.settingsProvider.updateInterval)); | ||||||
|  |     var potentialNetworkRetryCheck = | ||||||
|  |         DateTime.now().add(Duration(minutes: networkBasedRetryInterval)); | ||||||
|  |     var shouldRetry = potentialNetworkRetryCheck.isBefore(nextRegularCheck); | ||||||
|  |     logs.add( | ||||||
|  |         'BG update task $taskId: No network. Will ${shouldRetry ? 'retry in $networkBasedRetryInterval minutes' : 'not retry'}.'); | ||||||
|  |     AndroidAlarmManager.oneShot( | ||||||
|  |         const Duration(minutes: 15), taskId + 1, bgUpdateCheck, | ||||||
|  |         params: { | ||||||
|  |           'toCheck': toCheck | ||||||
|  |               .map((entry) => {'key': entry.key, 'value': entry.value}) | ||||||
|  |               .toList(), | ||||||
|  |           'toInstall': toInstall | ||||||
|  |               .map((entry) => {'key': entry.key, 'value': entry.value}) | ||||||
|  |               .toList(), | ||||||
|  |         }); | ||||||
|  |     return; | ||||||
|  |   } | ||||||
|  |  | ||||||
|   if (!installMode) { |   if (!installMode) { | ||||||
|     // If in update mode... |     // If in update mode, we check for updates. | ||||||
|     var didCompleteChecking = false; |     // We divide the results into 4 groups: | ||||||
|     CheckingUpdatesNotification? notif; |     // - toNotify - Apps with updates that the user will be notified about (can't be silently installed) | ||||||
|  |     // - toRetry - Apps with update check errors that will be retried in a while | ||||||
|  |     // - toThrow - Apps with update check errors that the user will be notified about (no retry) | ||||||
|  |     // - toInstall - Apps with updates that will be installed silently | ||||||
|  |     // After grouping the updates, we take care of toNotify and toThrow first | ||||||
|  |     // Then if toRetry is not empty, we schedule another update task to run in a while (toInstall is retained) | ||||||
|  |     // If toRetry is empty, we take care of toInstall | ||||||
|  |  | ||||||
|  |     // Init. vars. | ||||||
|  |     List<App> updates = []; | ||||||
|  |     List<App> toNotify = []; | ||||||
|  |     List<MapEntry<String, int>> toRetry = []; | ||||||
|  |     var retryAfterXSeconds = 0; | ||||||
|  |     MultiAppMultiError toThrow = MultiAppMultiError(); | ||||||
|     var networkRestricted = false; |     var networkRestricted = false; | ||||||
|     if (appsProvider.settingsProvider.bgUpdatesOnWiFiOnly) { |     if (appsProvider.settingsProvider.bgUpdatesOnWiFiOnly) { | ||||||
|       var netResult = await (Connectivity().checkConnectivity()); |       var netResult = await (Connectivity().checkConnectivity()); | ||||||
|       networkRestricted = (netResult != ConnectivityResult.wifi) && |       networkRestricted = (netResult != ConnectivityResult.wifi) && | ||||||
|           (netResult != ConnectivityResult.ethernet); |           (netResult != ConnectivityResult.ethernet); | ||||||
|     } |     } | ||||||
|     // Loop through all updates and check each |     MultiAppMultiError? errors; | ||||||
|     List<App> toNotify = []; |     CheckingUpdatesNotification notif = | ||||||
|  |         CheckingUpdatesNotification(plural('apps', toCheck.length)); | ||||||
|  |  | ||||||
|     try { |     try { | ||||||
|       for (int i = 0; i < toCheck.length; i++) { |       // Check for updates | ||||||
|         var appId = toCheck[i].key; |       notificationsProvider.notify(notif, cancelExisting: true); | ||||||
|         var attemptCount = toCheck[i].value + 1; |       updates = await appsProvider.checkUpdates( | ||||||
|         AppInMemory? app = appsProvider.apps[appId]; |           specificIds: toCheck.map((e) => e.key).toList()); | ||||||
|         if (app?.app.installedVersion != null) { |     } catch (e) { | ||||||
|           try { |       // If there were errors, group them into toRetry and toThrow | ||||||
|             notificationsProvider.notify( |       if (e is Map) { | ||||||
|                 notif = CheckingUpdatesNotification(app?.name ?? appId), |         updates = e['updates']; | ||||||
|                 cancelExisting: true); |         errors = e['errors']; | ||||||
|             App? newApp = await appsProvider.checkUpdate(appId); |         errors!.rawErrors.forEach((key, err) { | ||||||
|             if (newApp != null) { |           logs.add( | ||||||
|               if (networkRestricted || |               'BG update task $taskId: Got error on checking for $key \'${err.toString()}\'.'); | ||||||
|                   !(await appsProvider.canInstallSilently(app!.app))) { |           var toCheckApp = toCheck.where((element) => element.key == key).first; | ||||||
|                 toNotify.add(newApp); |           if (toCheckApp.value < maxAttempts) { | ||||||
|               } else { |             toRetry.add(MapEntry(toCheckApp.key, toCheckApp.value + 1)); | ||||||
|                 toInstall.add(MapEntry(appId, 0)); |             var minRetryIntervalForThisApp = err is RateLimitError | ||||||
|               } |                 ? (err.remainingMinutes * 60) | ||||||
|             } |                 : e is ClientException | ||||||
|             if (i == (toCheck.length - 1)) { |                     ? (15 * 60) | ||||||
|               didCompleteChecking = true; |                     : pow(toCheckApp.value + 1, 2).toInt(); | ||||||
|             } |             if (minRetryIntervalForThisApp > retryAfterXSeconds) { | ||||||
|           } catch (e) { |               retryAfterXSeconds = minRetryIntervalForThisApp; | ||||||
|             // If you got an error, move the offender to the back of the line (increment their fail count) and schedule another task to continue checking shortly |  | ||||||
|             logs.add( |  | ||||||
|                 'BG update task $taskId: Got error on checking for $appId \'${e.toString()}\'.'); |  | ||||||
|             if (attemptCount < maxAttempts) { |  | ||||||
|               var remainingSeconds = e is RateLimitError |  | ||||||
|                   ? (i == 0 ? (e.remainingMinutes * 60) : (5 * 60)) |  | ||||||
|                   : e is ClientException |  | ||||||
|                       ? (15 * 60) |  | ||||||
|                       : pow(attemptCount, 2).toInt(); |  | ||||||
|               logs.add( |  | ||||||
|                   'BG update task $taskId: Will continue in $remainingSeconds seconds (with $appId moved to the end of the line).'); |  | ||||||
|               var remainingToCheck = moveStrToEndMapEntryWithCount( |  | ||||||
|                   toCheck.sublist(i), MapEntry(appId, attemptCount)); |  | ||||||
|               AndroidAlarmManager.oneShot(Duration(seconds: remainingSeconds), |  | ||||||
|                   taskId + 1, bgUpdateCheck, |  | ||||||
|                   params: { |  | ||||||
|                     'toCheck': remainingToCheck |  | ||||||
|                         .map( |  | ||||||
|                             (entry) => {'key': entry.key, 'value': entry.value}) |  | ||||||
|                         .toList(), |  | ||||||
|                     'toInstall': toInstall |  | ||||||
|                         .map( |  | ||||||
|                             (entry) => {'key': entry.key, 'value': entry.value}) |  | ||||||
|                         .toList(), |  | ||||||
|                   }); |  | ||||||
|               break; |  | ||||||
|             } else { |  | ||||||
|               // If the offender has reached its fail limit, notify the user and remove it from the list (task can continue) |  | ||||||
|               toCheck.removeAt(i); |  | ||||||
|               i--; |  | ||||||
|               notificationsProvider |  | ||||||
|                   .notify(ErrorCheckingUpdatesNotification(e.toString())); |  | ||||||
|             } |  | ||||||
|           } finally { |  | ||||||
|             if (notif != null) { |  | ||||||
|               notificationsProvider.cancel(notif.id); |  | ||||||
|             } |             } | ||||||
|  |           } else { | ||||||
|  |             toThrow.add(key, err, appName: errors?.appIdNames[key]); | ||||||
|           } |           } | ||||||
|         } |         }); | ||||||
|  |       } else { | ||||||
|  |         // We don't expect to ever get here in any situation so no need to catch | ||||||
|  |         logs.add('Fatal error in BG update task: ${e.toString()}'); | ||||||
|  |         rethrow; | ||||||
|       } |       } | ||||||
|     } finally { |     } finally { | ||||||
|       if (toNotify.isNotEmpty) { |       notificationsProvider.cancel(notif.id); | ||||||
|         notificationsProvider.notify(UpdateNotification(toNotify)); |     } | ||||||
|  |  | ||||||
|  |     // Group the updates into toNotify and toInstall | ||||||
|  |     for (var i = 0; i < updates.length; i++) { | ||||||
|  |       if (networkRestricted || | ||||||
|  |           !(await appsProvider.canInstallSilently(updates[i]))) { | ||||||
|  |         toNotify.add(updates[i]); | ||||||
|  |       } else { | ||||||
|  |         toInstall.add(MapEntry(updates[i].id, 0)); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     // If you're done checking and found some silently installable updates, schedule another task which will run in install mode |  | ||||||
|     if (didCompleteChecking && toInstall.isNotEmpty) { |     // Send the update notification | ||||||
|  |     if (toNotify.isNotEmpty) { | ||||||
|  |       notificationsProvider.notify(UpdateNotification(toNotify)); | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     // Send the error notifications | ||||||
|  |     if (toThrow.rawErrors.isNotEmpty) { | ||||||
|  |       for (var element in toThrow.idsByErrorString.entries) { | ||||||
|  |         notificationsProvider.notify(ErrorCheckingUpdatesNotification( | ||||||
|  |             errors!.errorsAppsString(element.key, element.value), | ||||||
|  |             id: Random().nextInt(10000))); | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     // if there are update checks to retry, schedule a retry task | ||||||
|  |     if (toRetry.isNotEmpty) { | ||||||
|  |       logs.add( | ||||||
|  |           'BG update task $taskId: Will retry in $retryAfterXSeconds seconds.'); | ||||||
|  |       AndroidAlarmManager.oneShot( | ||||||
|  |           Duration(seconds: retryAfterXSeconds), taskId + 1, bgUpdateCheck, | ||||||
|  |           params: { | ||||||
|  |             'toCheck': toRetry | ||||||
|  |                 .map((entry) => {'key': entry.key, 'value': entry.value}) | ||||||
|  |                 .toList(), | ||||||
|  |             'toInstall': toInstall | ||||||
|  |                 .map((entry) => {'key': entry.key, 'value': entry.value}) | ||||||
|  |                 .toList(), | ||||||
|  |           }); | ||||||
|  |     } else if (toInstall.isNotEmpty) { | ||||||
|  |       // If there are no more update checks, schedule an install task | ||||||
|       logs.add( |       logs.add( | ||||||
|           'BG update task $taskId: Done. Scheduling install task to run immediately.'); |           'BG update task $taskId: Done. Scheduling install task to run immediately.'); | ||||||
|       AndroidAlarmManager.oneShot( |       AndroidAlarmManager.oneShot( | ||||||
| @@ -1440,11 +1513,14 @@ Future<void> bgUpdateCheck(int taskId, Map<String, dynamic>? params) async { | |||||||
|                 .map((entry) => {'key': entry.key, 'value': entry.value}) |                 .map((entry) => {'key': entry.key, 'value': entry.value}) | ||||||
|                 .toList() |                 .toList() | ||||||
|           }); |           }); | ||||||
|     } else if (didCompleteChecking) { |     } else { | ||||||
|       logs.add('BG install task $taskId: Done.'); |       logs.add('BG install task $taskId: Done.'); | ||||||
|     } |     } | ||||||
|   } else { |   } | ||||||
|     // If in install mode... |  | ||||||
|  |   if (installMode) { | ||||||
|  |     // If in install mode, we install silent updates. | ||||||
|  |  | ||||||
|     var didCompleteInstalling = false; |     var didCompleteInstalling = false; | ||||||
|     var tempObtArr = toInstall.where((element) => element.key == obtainiumId); |     var tempObtArr = toInstall.where((element) => element.key == obtainiumId); | ||||||
|     if (tempObtArr.isNotEmpty) { |     if (tempObtArr.isNotEmpty) { | ||||||
|   | |||||||
| @@ -28,6 +28,7 @@ import 'package:obtainium/app_sources/steammobile.dart'; | |||||||
| import 'package:obtainium/app_sources/telegramapp.dart'; | import 'package:obtainium/app_sources/telegramapp.dart'; | ||||||
| import 'package:obtainium/app_sources/uptodown.dart'; | import 'package:obtainium/app_sources/uptodown.dart'; | ||||||
| import 'package:obtainium/app_sources/vlc.dart'; | import 'package:obtainium/app_sources/vlc.dart'; | ||||||
|  | import 'package:obtainium/app_sources/whatsapp.dart'; | ||||||
| import 'package:obtainium/components/generated_form.dart'; | import 'package:obtainium/components/generated_form.dart'; | ||||||
| import 'package:obtainium/custom_errors.dart'; | import 'package:obtainium/custom_errors.dart'; | ||||||
| import 'package:obtainium/mass_app_sources/githubstars.dart'; | import 'package:obtainium/mass_app_sources/githubstars.dart'; | ||||||
| @@ -328,6 +329,7 @@ abstract class AppSource { | |||||||
|   bool changeLogIfAnyIsMarkDown = true; |   bool changeLogIfAnyIsMarkDown = true; | ||||||
|   bool appIdInferIsOptional = false; |   bool appIdInferIsOptional = false; | ||||||
|   bool allowSubDomains = false; |   bool allowSubDomains = false; | ||||||
|  |   bool naiveStandardVersionDetection = false; | ||||||
|  |  | ||||||
|   AppSource() { |   AppSource() { | ||||||
|     name = runtimeType.toString(); |     name = runtimeType.toString(); | ||||||
| @@ -556,7 +558,7 @@ class SourceProvider { | |||||||
|         Mullvad(), |         Mullvad(), | ||||||
|         Signal(), |         Signal(), | ||||||
|         VLC(), |         VLC(), | ||||||
|         // WhatsApp(), // As of 2023-03-20 this is unusable as the version on the webpage is months out of date |         WhatsApp(), // As of 2023-03-20 this is unusable as the version on the webpage is months out of date | ||||||
|         TelegramApp(), |         TelegramApp(), | ||||||
|         SteamMobile(), |         SteamMobile(), | ||||||
|         NeutronCode(), |         NeutronCode(), | ||||||
|   | |||||||
							
								
								
									
										48
									
								
								pubspec.lock
									
									
									
									
									
								
							
							
						
						
									
										48
									
								
								pubspec.lock
									
									
									
									
									
								
							| @@ -46,10 +46,10 @@ packages: | |||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
|       name: archive |       name: archive | ||||||
|       sha256: e0902a06f0e00414e4e3438a084580161279f137aeb862274710f29ec10cf01e |       sha256: ca12e6c9ac022f33fd89128e7007fb5e97ab6e814d4fa05dd8d4f2db1e3c69cb | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "3.3.9" |     version: "3.4.5" | ||||||
|   args: |   args: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
| @@ -198,10 +198,10 @@ packages: | |||||||
|     dependency: "direct main" |     dependency: "direct main" | ||||||
|     description: |     description: | ||||||
|       name: dynamic_color |       name: dynamic_color | ||||||
|       sha256: de4798a7069121aee12d5895315680258415de9b00e717723a1bd73d58f0126d |       sha256: "96bff3df72e3d428bda2b874c7a521e8c86f592cae626ea594922fcc8d166e0c" | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "1.6.6" |     version: "1.6.7" | ||||||
|   easy_localization: |   easy_localization: | ||||||
|     dependency: "direct main" |     dependency: "direct main" | ||||||
|     description: |     description: | ||||||
| @@ -291,10 +291,10 @@ packages: | |||||||
|     dependency: "direct main" |     dependency: "direct main" | ||||||
|     description: |     description: | ||||||
|       name: flutter_local_notifications |       name: flutter_local_notifications | ||||||
|       sha256: "3002092e5b8ce2f86c3361422e52e6db6776c23ee21e0b2f71b892bf4259ef04" |       sha256: "6d11ea777496061e583623aaf31923f93a9409ef8fcaeeefdd6cd78bf4fe5bb3" | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "15.1.1" |     version: "16.1.0" | ||||||
|   flutter_local_notifications_linux: |   flutter_local_notifications_linux: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
| @@ -320,10 +320,10 @@ packages: | |||||||
|     dependency: "direct main" |     dependency: "direct main" | ||||||
|     description: |     description: | ||||||
|       name: flutter_markdown |       name: flutter_markdown | ||||||
|       sha256: a10979814c5f4ddbe2b6143fba25d927599e21e3ba65b3862995960606fae78f |       sha256: "8afc9a6aa6d8e8063523192ba837149dbf3d377a37c0b0fc579149a1fbd4a619" | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "0.6.17+3" |     version: "0.6.18" | ||||||
|   flutter_plugin_android_lifecycle: |   flutter_plugin_android_lifecycle: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
| @@ -386,10 +386,10 @@ packages: | |||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
|       name: image |       name: image | ||||||
|       sha256: a72242c9a0ffb65d03de1b7113bc4e189686fc07c7147b8b41811d0dd0e0d9bf |       sha256: "028f61960d56f26414eb616b48b04eb37d700cbe477b7fb09bf1d7ce57fd9271" | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "4.0.17" |     version: "4.1.3" | ||||||
|   intl: |   intl: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
| @@ -538,18 +538,18 @@ packages: | |||||||
|     dependency: "direct main" |     dependency: "direct main" | ||||||
|     description: |     description: | ||||||
|       name: permission_handler |       name: permission_handler | ||||||
|       sha256: ad65ba9af42a3d067203641de3fd9f547ded1410bad3b84400c2b4899faede70 |       sha256: "284a66179cabdf942f838543e10413246f06424d960c92ba95c84439154fcac8" | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "11.0.0" |     version: "11.0.1" | ||||||
|   permission_handler_android: |   permission_handler_android: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
|       name: permission_handler_android |       name: permission_handler_android | ||||||
|       sha256: f23cfe9af0d49c6b9fd8a8b09f7b3301ca7e346204939b5afef4404d36d2608f |       sha256: ace7d15a3d1a4a0b91c041d01e5405df221edb9de9116525efc773c74e6fc790 | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "11.0.1" |     version: "11.0.5" | ||||||
|   permission_handler_apple: |   permission_handler_apple: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
| @@ -879,18 +879,18 @@ packages: | |||||||
|     dependency: "direct main" |     dependency: "direct main" | ||||||
|     description: |     description: | ||||||
|       name: webview_flutter |       name: webview_flutter | ||||||
|       sha256: "82f6787d5df55907aa01e49bd9644f4ed1cc82af7a8257dd9947815959d2e755" |       sha256: c1ab9b81090705c6069197d9fdc1625e587b52b8d70cdde2339d177ad0dbb98e | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "4.2.4" |     version: "4.4.1" | ||||||
|   webview_flutter_android: |   webview_flutter_android: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
|       name: webview_flutter_android |       name: webview_flutter_android | ||||||
|       sha256: "9427774649fd3c8b7ff53523051395d13aed2ca355822b822e6493d79f5fc05a" |       sha256: b0cd33dd7d3dd8e5f664e11a19e17ba12c352647269921a3b568406b001f1dff | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "3.10.0" |     version: "3.12.0" | ||||||
|   webview_flutter_platform_interface: |   webview_flutter_platform_interface: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
| @@ -903,26 +903,26 @@ packages: | |||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
|       name: webview_flutter_wkwebview |       name: webview_flutter_wkwebview | ||||||
|       sha256: d2f7241849582da80b79acb03bb936422412ce5c0c79fb5f6a1de5421a5aecc4 |       sha256: "30b9af6bdd457b44c08748b9190d23208b5165357cc2eb57914fee1366c42974" | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "3.7.4" |     version: "3.9.1" | ||||||
|   win32: |   win32: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
|       name: win32 |       name: win32 | ||||||
|       sha256: "9e82a402b7f3d518fb9c02d0e9ae45952df31b9bf34d77baf19da2de03fc2aaa" |       sha256: "350a11abd2d1d97e0cc7a28a81b781c08002aa2864d9e3f192ca0ffa18b06ed3" | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "5.0.7" |     version: "5.0.9" | ||||||
|   win32_registry: |   win32_registry: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
|       name: win32_registry |       name: win32_registry | ||||||
|       sha256: e4506d60b7244251bc59df15656a3093501c37fb5af02105a944d73eb95be4c9 |       sha256: "41fd8a189940d8696b1b810efb9abcf60827b6cbfab90b0c43e8439e3a39d85a" | ||||||
|       url: "https://pub.dev" |       url: "https://pub.dev" | ||||||
|     source: hosted |     source: hosted | ||||||
|     version: "1.1.1" |     version: "1.1.2" | ||||||
|   xdg_directories: |   xdg_directories: | ||||||
|     dependency: transitive |     dependency: transitive | ||||||
|     description: |     description: | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev | |||||||
| # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html | ||||||
| # In Windows, build-name is used as the major, minor, and patch parts | # In Windows, build-name is used as the major, minor, and patch parts | ||||||
| # of the product and file versions while build-number is used as the build suffix. | # of the product and file versions while build-number is used as the build suffix. | ||||||
| version: 0.14.14+206 # When changing this, update the tag in main() accordingly | version: 0.14.25+217 # When changing this, update the tag in main() accordingly | ||||||
|  |  | ||||||
| environment: | environment: | ||||||
|   sdk: '>=3.0.0 <4.0.0' |   sdk: '>=3.0.0 <4.0.0' | ||||||
| @@ -38,7 +38,7 @@ dependencies: | |||||||
|   cupertino_icons: ^1.0.5 |   cupertino_icons: ^1.0.5 | ||||||
|   path_provider: ^2.0.11 |   path_provider: ^2.0.11 | ||||||
|   flutter_fgbg: ^0.3.0 # Try removing reliance on this |   flutter_fgbg: ^0.3.0 # Try removing reliance on this | ||||||
|   flutter_local_notifications: ^15.1.0+1 |   flutter_local_notifications: ^16.1.0 | ||||||
|   provider: ^6.0.3 |   provider: ^6.0.3 | ||||||
|   http: ^1.0.0 |   http: ^1.0.0 | ||||||
|   webview_flutter: ^4.0.0 |   webview_flutter: ^4.0.0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user