Compare commits
	
		
			155 Commits
		
	
	
		
			v1.1.45
			...
			86be6a77d7
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					86be6a77d7 | ||
| 
						 | 
					7d2f215b80 | ||
| 
						 | 
					7d9a641e24 | ||
| 
						 | 
					e0c69b9cf4 | ||
| 
						 | 
					5f971dcddb | ||
| 
						 | 
					b539f0a926 | ||
| 
						 | 
					db82fe7b8f | ||
| 
						 | 
					81c9f4ad47 | ||
| 
						 | 
					092f81cb00 | ||
| 
						 | 
					fc4596c0bc | ||
| 
						 | 
					f6587ae8da | ||
| 
						 | 
					0a30bf6d8e | ||
| 
						 | 
					8bec3cf053 | ||
| 
						 | 
					43efc044d7 | ||
| 
						 | 
					63e71624f9 | ||
| 
						 | 
					3edaa143e4 | ||
| 
						 | 
					798bddd17f | ||
| 
						 | 
					4f27e25a23 | ||
| 
						 | 
					a2a1f48310 | ||
| 
						 | 
					c246548436 | ||
| 
						 | 
					f67cfeb231 | ||
| 
						 | 
					9758f8b391 | ||
| 
						 | 
					c45aaff610 | ||
| 
						 | 
					bd32a10de7 | ||
| 
						 | 
					ef83be07cd | ||
| 
						 | 
					9fe33737eb | ||
| 
						 | 
					51c7acf466 | ||
| 
						 | 
					d8490c289d | ||
| 
						 | 
					1d73d4dcbb | ||
| 
						 | 
					6d28d15d4f | ||
| 
						 | 
					3890785fc7 | ||
| 
						 | 
					38d34c810b | ||
| 
						 | 
					b2d6752b80 | ||
| 
						 | 
					47a6e0dc7c | ||
| 
						 | 
					5b6299496f | ||
| 
						 | 
					369127806f | ||
| 
						 | 
					ee9b0e710c | ||
| 
						 | 
					6e0819b0a7 | ||
| 
						 | 
					d8c9cd6579 | ||
| 
						 | 
					ae2dad01ff | ||
| 
						 | 
					3345b26fa9 | ||
| 
						 | 
					99e3b8ac4f | ||
| 
						 | 
					7d01141db5 | ||
| 
						 | 
					195c0d1f11 | ||
| 
						 | 
					6b8bb095d4 | ||
| 
						 | 
					fd9bf721d4 | ||
| 
						 | 
					1a058a1959 | ||
| 
						 | 
					f78beff5d8 | ||
| 
						 | 
					39757a3416 | ||
| 
						 | 
					e7ff0bb2cb | ||
| 
						 | 
					b1bd488f22 | ||
| 
						 | 
					8201348995 | ||
| 
						 | 
					c1ddc57126 | ||
| 
						 | 
					b41b9d3109 | ||
| 
						 | 
					add2574c25 | ||
| 
						 | 
					c702dbcefe | ||
| 
						 | 
					19710cf7ad | ||
| 
						 | 
					104a19bc32 | ||
| 
						 | 
					b02de232ee | ||
| 
						 | 
					971b5dbf11 | ||
| 
						 | 
					eb805bd30a | ||
| 
						 | 
					21ec90c11c | ||
| 
						 | 
					51ed211b3d | ||
| 
						 | 
					34848794e4 | ||
| 
						 | 
					ab3489f60d | ||
| 
						 | 
					12c878eaba | ||
| 
						 | 
					6c3a496be1 | ||
| 
						 | 
					b2742dd904 | ||
| 
						 | 
					1d69e42949 | ||
| 
						 | 
					9ce74beda5 | ||
| 
						 | 
					26bca6df64 | ||
| 
						 | 
					7a7a6f78e9 | ||
| 
						 | 
					8d062f0296 | ||
| 
						 | 
					8d54824a7d | ||
| 
						 | 
					20d3c4141e | ||
| 
						 | 
					2f54de6d7c | ||
| 
						 | 
					849a565177 | ||
| 
						 | 
					972d7d6634 | ||
| 
						 | 
					2a3251aacb | ||
| 
						 | 
					fa6ed32ad5 | ||
| 
						 | 
					53caa88d6f | ||
| 
						 | 
					5dab58cc89 | ||
| 
						 | 
					e061e99451 | ||
| 
						 | 
					a282080fea | ||
| 
						 | 
					0b812b508a | ||
| 
						 | 
					e639758b15 | ||
| 
						 | 
					f159c0bd44 | ||
| 
						 | 
					950bf28289 | ||
| 
						 | 
					ecf4326b47 | ||
| 
						 | 
					98182d9873 | ||
| 
						 | 
					c7c6731732 | ||
| 
						 | 
					b62b60d9df | ||
| 
						 | 
					3e41913153 | ||
| 
						 | 
					6b4943349a | ||
| 
						 | 
					2f60835801 | ||
| 
						 | 
					3de2121ed8 | ||
| 
						 | 
					e1c80229ab | ||
| 
						 | 
					e9feaf0d8b | ||
| 
						 | 
					3175597a2a | ||
| 
						 | 
					6af1748a78 | ||
| 
						 | 
					c9aed8dfc4 | ||
| 
						 | 
					9c3bdafa47 | ||
| 
						 | 
					d4e857f7f4 | ||
| 
						 | 
					74d6ffcfb3 | ||
| 
						 | 
					10634e8ed2 | ||
| 
						 | 
					2317c5e0d3 | ||
| 
						 | 
					e9dfb494f7 | ||
| 
						 | 
					71ca60244b | ||
| 
						 | 
					94ab83ff75 | ||
| 
						 | 
					2aa91ed535 | ||
| 
						 | 
					23a72f1c83 | ||
| 
						 | 
					12a25d5cbc | ||
| 
						 | 
					eb57d150b4 | ||
| 
						 | 
					5dc8461341 | ||
| 
						 | 
					5cf751caa8 | ||
| 
						 | 
					526ebdfc32 | ||
| 
						 | 
					48f2164fe0 | ||
| 
						 | 
					0d4bc44aa4 | ||
| 
						 | 
					e78961f0ab | ||
| 
						 | 
					6784c6c0c6 | ||
| 
						 | 
					b6ef153bfa | ||
| 
						 | 
					6a3805723d | ||
| 
						 | 
					ebc6671d62 | ||
| 
						 | 
					c87fc6f242 | ||
| 
						 | 
					b23db43620 | ||
| 
						 | 
					b2b10739e3 | ||
| 
						 | 
					32cc97a18a | ||
| 
						 | 
					4815e5180e | ||
| 
						 | 
					14325eb710 | ||
| 
						 | 
					7607b747c1 | ||
| 
						 | 
					774bc07663 | ||
| 
						 | 
					4e43001276 | ||
| 
						 | 
					46835d0876 | ||
| 
						 | 
					48d8eb214d | ||
| 
						 | 
					988f9a6f9f | ||
| 
						 | 
					51f0d745c9 | ||
| 
						 | 
					ae72302f4c | ||
| 
						 | 
					e157bda0eb | ||
| 
						 | 
					adf05abfac | ||
| 
						 | 
					6a8cf0096d | ||
| 
						 | 
					5e6e3f457c | ||
| 
						 | 
					044bd7f8a0 | ||
| 
						 | 
					902f29fdcf | ||
| 
						 | 
					6c6f256976 | ||
| 
						 | 
					fbf2330c0f | ||
| 
						 | 
					86ac573edd | ||
| 
						 | 
					6a07138389 | ||
| 
						 | 
					23c2664ead | ||
| 
						 | 
					4200e1d954 | ||
| 
						 | 
					3eb3cf25bf | ||
| 
						 | 
					1b039fb5a5 | ||
| 
						 | 
					6a4a15ab4d | ||
| 
						 | 
					a70c6ef1ed | ||
| 
						 | 
					85e5dddd34 | ||
| 
						 | 
					d9c29c6751 | 
							
								
								
									
										15
									
								
								.dockerignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					LICENSE.md
 | 
				
			||||||
 | 
					README.md
 | 
				
			||||||
 | 
					analysis_options.yaml
 | 
				
			||||||
 | 
					android
 | 
				
			||||||
 | 
					assets
 | 
				
			||||||
 | 
					build
 | 
				
			||||||
 | 
					build.sh
 | 
				
			||||||
 | 
					data
 | 
				
			||||||
 | 
					docker
 | 
				
			||||||
 | 
					fastlane
 | 
				
			||||||
 | 
					lib
 | 
				
			||||||
 | 
					pubspec.lock
 | 
				
			||||||
 | 
					pubspec.yaml
 | 
				
			||||||
 | 
					sign.sh
 | 
				
			||||||
 | 
					test
 | 
				
			||||||
							
								
								
									
										2
									
								
								.flutter
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
							
								
								
									
										16
									
								
								.github/workflows/fastlane.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					name: Validate Fastlane metadata
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  workflow_dispatch:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					      branches: [ "main" ]
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					      branches: [ "main" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  go:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
 | 
					      - name: Validate Fastlane Supply Metadata
 | 
				
			||||||
 | 
					        uses: ashutoshgngwr/validate-fastlane-supply-metadata@v2
 | 
				
			||||||
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						@@ -20,7 +20,7 @@ jobs:
 | 
				
			|||||||
      - uses: actions/setup-java@v4
 | 
					      - uses: actions/setup-java@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          distribution: 'temurin' # See 'Supported distributions' for available options
 | 
					          distribution: 'temurin' # See 'Supported distributions' for available options
 | 
				
			||||||
          java-version: '17'
 | 
					          java-version: '21'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Flutter Doctor
 | 
					      - name: Flutter Doctor
 | 
				
			||||||
        id: flutter_doctor
 | 
					        id: flutter_doctor
 | 
				
			||||||
@@ -44,7 +44,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      - name: Build APKs
 | 
					      - name: Build APKs
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          sed -i 's/signingConfig signingConfigs.release//g' android/app/build.gradle
 | 
					          sed -i 's/signingConfig = signingConfigs.getByName("release")//g' android/app/build.gradle.kts
 | 
				
			||||||
          flutter build apk --flavor normal && flutter build apk --split-per-abi --flavor normal
 | 
					          flutter build apk --flavor normal && flutter build apk --split-per-abi --flavor normal
 | 
				
			||||||
          for file in build/app/outputs/flutter-apk/app-*normal*.apk*; do mv "$file" "${file//-normal/}"; done
 | 
					          for file in build/app/outputs/flutter-apk/app-*normal*.apk*; do mv "$file" "${file//-normal/}"; done
 | 
				
			||||||
          flutter build apk --flavor fdroid -t lib/main_fdroid.dart && flutter build apk --split-per-abi --flavor fdroid -t lib/main_fdroid.dart
 | 
					          flutter build apk --flavor fdroid -t lib/main_fdroid.dart && flutter build apk --split-per-abi --flavor fdroid -t lib/main_fdroid.dart
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						@@ -49,3 +49,4 @@ app.*.map.json
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Custom
 | 
					# Custom
 | 
				
			||||||
TODO.txt
 | 
					TODO.txt
 | 
				
			||||||
 | 
					data
 | 
				
			||||||
@@ -8,6 +8,7 @@ Obtainium allows you to install and update apps directly from their releases pag
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
More info:
 | 
					More info:
 | 
				
			||||||
- [Obtainium Wiki](https://wiki.obtainium.imranr.dev/) ([repository](https://github.com/ImranR98/Obtainium-Wiki))
 | 
					- [Obtainium Wiki](https://wiki.obtainium.imranr.dev/) ([repository](https://github.com/ImranR98/Obtainium-Wiki))
 | 
				
			||||||
 | 
					- [Obtainium 101](https://www.youtube.com/watch?v=0MF_v2OBncw) - Tutorial video
 | 
				
			||||||
- [AppVerifier](https://github.com/soupslurpr/AppVerifier) - App verification tool (recommended, integrates with Obtainium)
 | 
					- [AppVerifier](https://github.com/soupslurpr/AppVerifier) - App verification tool (recommended, integrates with Obtainium)
 | 
				
			||||||
- [apps.obtainium.imranr.dev](https://apps.obtainium.imranr.dev/) - Crowdsourced app configurations ([repository](https://github.com/ImranR98/apps.obtainium.imranr.dev))
 | 
					- [apps.obtainium.imranr.dev](https://apps.obtainium.imranr.dev/) - Crowdsourced app configurations ([repository](https://github.com/ImranR98/apps.obtainium.imranr.dev))
 | 
				
			||||||
- [Side Of Burritos - You should use this instead of F-Droid | How to use app RSS feed](https://youtu.be/FFz57zNR_M0) - Original motivation for this app
 | 
					- [Side Of Burritos - You should use this instead of F-Droid | How to use app RSS feed](https://youtu.be/FFz57zNR_M0) - Original motivation for this app
 | 
				
			||||||
@@ -29,6 +30,8 @@ Currently supported App sources:
 | 
				
			|||||||
  - [Uptodown](https://uptodown.com/)
 | 
					  - [Uptodown](https://uptodown.com/)
 | 
				
			||||||
  - [Huawei AppGallery](https://appgallery.huawei.com/)
 | 
					  - [Huawei AppGallery](https://appgallery.huawei.com/)
 | 
				
			||||||
  - [Tencent App Store](https://sj.qq.com/)
 | 
					  - [Tencent App Store](https://sj.qq.com/)
 | 
				
			||||||
 | 
					  - [CoolApk](https://coolapk.com/)
 | 
				
			||||||
 | 
					  - [vivo App Store (CN)](https://h5.appstore.vivo.com.cn/)
 | 
				
			||||||
  - [RuStore](https://rustore.ru/)
 | 
					  - [RuStore](https://rustore.ru/)
 | 
				
			||||||
  - Jenkins Jobs
 | 
					  - Jenkins Jobs
 | 
				
			||||||
  - [APKMirror](https://apkmirror.com/) (Track-Only)
 | 
					  - [APKMirror](https://apkmirror.com/) (Track-Only)
 | 
				
			||||||
@@ -60,7 +63,7 @@ Or, contribute some configurations to the website by creating a PR at [this repo
 | 
				
			|||||||
     
 | 
					     
 | 
				
			||||||
Verification info:
 | 
					Verification info:
 | 
				
			||||||
- Package ID: `dev.imranr.obtainium`
 | 
					- Package ID: `dev.imranr.obtainium`
 | 
				
			||||||
- SHA-256 Hash of Signing Certificate: `B3:53:60:1F:6A:1D:5F:D6:60:3A:E2:F5:0B:E8:0C:F3:01:36:7B:86:B6:AB:8B:1F:66:24:3D:A9:6C:D5:73:62`
 | 
					- SHA-256 hash of signing certificate: `B3:53:60:1F:6A:1D:5F:D6:60:3A:E2:F5:0B:E8:0C:F3:01:36:7B:86:B6:AB:8B:1F:66:24:3D:A9:6C:D5:73:62`
 | 
				
			||||||
  - Note: The above signature is also valid for the F-Droid flavour of Obtainium, thanks to [reproducible builds](https://f-droid.org/docs/Reproducible_Builds/).
 | 
					  - Note: The above signature is also valid for the F-Droid flavour of Obtainium, thanks to [reproducible builds](https://f-droid.org/docs/Reproducible_Builds/).
 | 
				
			||||||
- [PGP Public Key](https://keyserver.ubuntu.com/pks/lookup?search=contact%40imranr.dev&fingerprint=on&op=index) (to verify APK hashes)
 | 
					- [PGP Public Key](https://keyserver.ubuntu.com/pks/lookup?search=contact%40imranr.dev&fingerprint=on&op=index) (to verify APK hashes)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,105 +0,0 @@
 | 
				
			|||||||
plugins {
 | 
					 | 
				
			||||||
    id "com.android.application"
 | 
					 | 
				
			||||||
    id "kotlin-android"
 | 
					 | 
				
			||||||
    // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
 | 
					 | 
				
			||||||
    id "dev.flutter.flutter-gradle-plugin"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def localProperties = new Properties()
 | 
					 | 
				
			||||||
def localPropertiesFile = rootProject.file('local.properties')
 | 
					 | 
				
			||||||
if (localPropertiesFile.exists()) {
 | 
					 | 
				
			||||||
    localPropertiesFile.withReader('UTF-8') { reader ->
 | 
					 | 
				
			||||||
        localProperties.load(reader)
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
 | 
					 | 
				
			||||||
if (flutterVersionCode == null) {
 | 
					 | 
				
			||||||
    flutterVersionCode = '1'
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def flutterVersionName = localProperties.getProperty('flutter.versionName')
 | 
					 | 
				
			||||||
if (flutterVersionName == null) {
 | 
					 | 
				
			||||||
    flutterVersionName = '1.0'
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def keystoreProperties = new Properties()
 | 
					 | 
				
			||||||
def keystorePropertiesFile = rootProject.file('key.properties')
 | 
					 | 
				
			||||||
if (keystorePropertiesFile.exists()) {
 | 
					 | 
				
			||||||
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
android {
 | 
					 | 
				
			||||||
    namespace = "dev.imranr.obtainium"
 | 
					 | 
				
			||||||
    compileSdk = flutter.compileSdkVersion
 | 
					 | 
				
			||||||
    ndkVersion = flutter.ndkVersion
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    compileOptions {
 | 
					 | 
				
			||||||
        sourceCompatibility = JavaVersion.VERSION_1_8
 | 
					 | 
				
			||||||
        targetCompatibility = JavaVersion.VERSION_1_8
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    kotlinOptions {
 | 
					 | 
				
			||||||
        jvmTarget = JavaVersion.VERSION_1_8
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    defaultConfig {
 | 
					 | 
				
			||||||
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
 | 
					 | 
				
			||||||
        applicationId = "dev.imranr.obtainium"
 | 
					 | 
				
			||||||
        // You can update the following values to match your application needs.
 | 
					 | 
				
			||||||
        // For more information, see: https://flutter.dev/to/review-gradle-config.
 | 
					 | 
				
			||||||
        minSdk = 24
 | 
					 | 
				
			||||||
        targetSdk = flutter.targetSdkVersion
 | 
					 | 
				
			||||||
        versionCode = flutter.versionCode
 | 
					 | 
				
			||||||
        versionName = flutter.versionName
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    flavorDimensions "flavor"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    productFlavors {
 | 
					 | 
				
			||||||
        normal {
 | 
					 | 
				
			||||||
            dimension "flavor"
 | 
					 | 
				
			||||||
            applicationIdSuffix ""
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        fdroid {
 | 
					 | 
				
			||||||
            dimension "flavor"
 | 
					 | 
				
			||||||
            applicationIdSuffix ".fdroid"
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    signingConfigs {
 | 
					 | 
				
			||||||
        release {
 | 
					 | 
				
			||||||
            keyAlias keystoreProperties['keyAlias']
 | 
					 | 
				
			||||||
            keyPassword keystoreProperties['keyPassword']
 | 
					 | 
				
			||||||
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
 | 
					 | 
				
			||||||
            storePassword keystoreProperties['storePassword']
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    buildTypes {
 | 
					 | 
				
			||||||
        release {
 | 
					 | 
				
			||||||
            signingConfig signingConfigs.release
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        debug {
 | 
					 | 
				
			||||||
            applicationIdSuffix = ".debug"
 | 
					 | 
				
			||||||
            versionNameSuffix = "-debug"
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
flutter {
 | 
					 | 
				
			||||||
    source = "../.."
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
ext.abiCodes = ["x86_64": 1, "armeabi-v7a": 2, "arm64-v8a": 3]
 | 
					 | 
				
			||||||
import com.android.build.OutputFile
 | 
					 | 
				
			||||||
android.applicationVariants.all { variant ->
 | 
					 | 
				
			||||||
    variant.outputs.each { output ->
 | 
					 | 
				
			||||||
        def abiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
 | 
					 | 
				
			||||||
        if (abiVersionCode != null) {
 | 
					 | 
				
			||||||
            output.versionCodeOverride = variant.versionCode * 10 + abiVersionCode
 | 
					 | 
				
			||||||
        } else {
 | 
					 | 
				
			||||||
            output.versionCodeOverride = variant.versionCode * 10
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
							
								
								
									
										107
									
								
								android/app/build.gradle.kts
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,107 @@
 | 
				
			|||||||
 | 
					import java.io.FileInputStream
 | 
				
			||||||
 | 
					import java.util.Properties
 | 
				
			||||||
 | 
					import com.android.build.api.variant.FilterConfiguration.FilterType.*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					plugins {
 | 
				
			||||||
 | 
					    id("com.android.application")
 | 
				
			||||||
 | 
					    id("kotlin-android")
 | 
				
			||||||
 | 
					    // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
 | 
				
			||||||
 | 
					    id("dev.flutter.flutter-gradle-plugin")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					val localProperties = Properties()
 | 
				
			||||||
 | 
					val localPropertiesFile = rootProject.file("local.properties")
 | 
				
			||||||
 | 
					if (localPropertiesFile.exists()) {
 | 
				
			||||||
 | 
					    localPropertiesFile.reader(Charsets.UTF_8).use { reader ->
 | 
				
			||||||
 | 
					        localProperties.load(reader)
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var flutterVersionCode = localProperties.getProperty("flutter.versionCode") ?: "1"
 | 
				
			||||||
 | 
					var flutterVersionName = localProperties.getProperty("flutter.versionName") ?: "1.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					val keystoreProperties = Properties()
 | 
				
			||||||
 | 
					val keystorePropertiesFile = rootProject.file("key.properties")
 | 
				
			||||||
 | 
					if (keystorePropertiesFile.exists()) {
 | 
				
			||||||
 | 
					    keystoreProperties.load(FileInputStream(keystorePropertiesFile))
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					android {
 | 
				
			||||||
 | 
					    namespace = "dev.imranr.obtainium"
 | 
				
			||||||
 | 
					    compileSdk = flutter.compileSdkVersion
 | 
				
			||||||
 | 
					    ndkVersion = "27.0.12077973" // 'flutter.ndkVersion' produces warnings (TODO can/should we switch back?)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    compileOptions {
 | 
				
			||||||
 | 
					        isCoreLibraryDesugaringEnabled = true
 | 
				
			||||||
 | 
					        sourceCompatibility = JavaVersion.VERSION_11
 | 
				
			||||||
 | 
					        targetCompatibility = JavaVersion.VERSION_11
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    kotlinOptions {
 | 
				
			||||||
 | 
					        jvmTarget = JavaVersion.VERSION_11.toString()
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    defaultConfig {
 | 
				
			||||||
 | 
					        applicationId = "dev.imranr.obtainium"
 | 
				
			||||||
 | 
					        // You can update the following values to match your application needs.
 | 
				
			||||||
 | 
					        // For more information, see: https://flutter.dev/to/review-gradle-config.
 | 
				
			||||||
 | 
					        minSdk = 24
 | 
				
			||||||
 | 
					        targetSdk = flutter.targetSdkVersion
 | 
				
			||||||
 | 
					        versionCode = flutterVersionCode.toInt()
 | 
				
			||||||
 | 
					        versionName = flutterVersionName
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    flavorDimensions("flavor")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    productFlavors {
 | 
				
			||||||
 | 
					        create("normal") {
 | 
				
			||||||
 | 
					            dimension = "flavor"
 | 
				
			||||||
 | 
					            applicationIdSuffix = ""
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        create("fdroid") {
 | 
				
			||||||
 | 
					            dimension = "flavor"
 | 
				
			||||||
 | 
					            applicationIdSuffix = ".fdroid"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    signingConfigs {
 | 
				
			||||||
 | 
					        create("release") {
 | 
				
			||||||
 | 
					            keyAlias = keystoreProperties["keyAlias"].toString()
 | 
				
			||||||
 | 
					            keyPassword = keystoreProperties["keyPassword"].toString()
 | 
				
			||||||
 | 
					            storeFile = keystoreProperties["storeFile"]?.let { file(it) }
 | 
				
			||||||
 | 
					            storePassword = keystoreProperties["storePassword"].toString()
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    buildTypes {
 | 
				
			||||||
 | 
					        getByName("release") {
 | 
				
			||||||
 | 
					            signingConfig = signingConfigs.getByName("release")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        getByName("debug") {
 | 
				
			||||||
 | 
					            applicationIdSuffix = ".debug"
 | 
				
			||||||
 | 
					            versionNameSuffix = "-debug"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					val abiCodes = mapOf("x86_64" to 1, "armeabi-v7a" to 2, "arm64-v8a" to 3)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					androidComponents {
 | 
				
			||||||
 | 
					    onVariants { variant ->
 | 
				
			||||||
 | 
					        variant.outputs.forEach { output ->
 | 
				
			||||||
 | 
					            val name = output.filters.find { it.filterType == ABI }?.identifier
 | 
				
			||||||
 | 
					            val baseAbiCode = abiCodes[name]
 | 
				
			||||||
 | 
					            if (baseAbiCode != null) {
 | 
				
			||||||
 | 
					                output.versionCode.set(baseAbiCode + ((output.versionCode.get() ?: 0) * 10))
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					dependencies {
 | 
				
			||||||
 | 
					    coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					flutter {
 | 
				
			||||||
 | 
					    source = "../.."
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -69,6 +69,7 @@
 | 
				
			|||||||
    <uses-permission android:name="android.permission.WAKE_LOCK" />
 | 
					    <uses-permission android:name="android.permission.WAKE_LOCK" />
 | 
				
			||||||
    <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
 | 
					    <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
 | 
				
			||||||
    <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
 | 
					    <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
 | 
				
			||||||
 | 
					    <uses-permission android:name="android.permission.ENFORCE_UPDATE_OWNERSHIP"/>
 | 
				
			||||||
    <uses-permission
 | 
					    <uses-permission
 | 
				
			||||||
        android:name="android.permission.WRITE_EXTERNAL_STORAGE"
 | 
					        android:name="android.permission.WRITE_EXTERNAL_STORAGE"
 | 
				
			||||||
        android:maxSdkVersion="29" />
 | 
					        android:maxSdkVersion="29" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,22 +0,0 @@
 | 
				
			|||||||
allprojects {
 | 
					 | 
				
			||||||
    repositories {
 | 
					 | 
				
			||||||
        google()
 | 
					 | 
				
			||||||
        mavenCentral()
 | 
					 | 
				
			||||||
        maven {
 | 
					 | 
				
			||||||
            // [required] background_fetch
 | 
					 | 
				
			||||||
            url "${project(':background_fetch').projectDir}/libs"
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
rootProject.buildDir = "../build"
 | 
					 | 
				
			||||||
subprojects {
 | 
					 | 
				
			||||||
    project.buildDir = "${rootProject.buildDir}/${project.name}"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
subprojects {
 | 
					 | 
				
			||||||
    project.evaluationDependsOn(":app")
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
tasks.register("clean", Delete) {
 | 
					 | 
				
			||||||
    delete rootProject.buildDir
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
							
								
								
									
										25
									
								
								android/build.gradle.kts
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					allprojects {
 | 
				
			||||||
 | 
					    repositories {
 | 
				
			||||||
 | 
					        google()
 | 
				
			||||||
 | 
					        mavenCentral()
 | 
				
			||||||
 | 
					        maven {
 | 
				
			||||||
 | 
					            // [required] background_fetch
 | 
				
			||||||
 | 
					            url = uri("${project(":background_fetch").projectDir}/libs")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
 | 
				
			||||||
 | 
					rootProject.layout.buildDirectory.value(newBuildDir)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					subprojects {
 | 
				
			||||||
 | 
					    val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
 | 
				
			||||||
 | 
					    project.layout.buildDirectory.value(newSubprojectBuildDir)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					subprojects {
 | 
				
			||||||
 | 
					    project.evaluationDependsOn(":app")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					tasks.register<Delete>("clean") {
 | 
				
			||||||
 | 
					    delete(rootProject.layout.buildDirectory)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -1,3 +1,3 @@
 | 
				
			|||||||
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
 | 
					org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
 | 
				
			||||||
android.useAndroidX=true
 | 
					android.useAndroidX=true
 | 
				
			||||||
android.enableJetifier=true
 | 
					android.enableJetifier=true
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
 | 
				
			|||||||
distributionPath=wrapper/dists
 | 
					distributionPath=wrapper/dists
 | 
				
			||||||
zipStoreBase=GRADLE_USER_HOME
 | 
					zipStoreBase=GRADLE_USER_HOME
 | 
				
			||||||
zipStorePath=wrapper/dists
 | 
					zipStorePath=wrapper/dists
 | 
				
			||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
 | 
					distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,25 +0,0 @@
 | 
				
			|||||||
pluginManagement {
 | 
					 | 
				
			||||||
    def flutterSdkPath = {
 | 
					 | 
				
			||||||
        def properties = new Properties()
 | 
					 | 
				
			||||||
        file("local.properties").withInputStream { properties.load(it) }
 | 
					 | 
				
			||||||
        def flutterSdkPath = properties.getProperty("flutter.sdk")
 | 
					 | 
				
			||||||
        assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
 | 
					 | 
				
			||||||
        return flutterSdkPath
 | 
					 | 
				
			||||||
    }()
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    repositories {
 | 
					 | 
				
			||||||
        google()
 | 
					 | 
				
			||||||
        mavenCentral()
 | 
					 | 
				
			||||||
        gradlePluginPortal()
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
plugins {
 | 
					 | 
				
			||||||
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
 | 
					 | 
				
			||||||
    id "com.android.application" version "8.1.0" apply false
 | 
					 | 
				
			||||||
    id "org.jetbrains.kotlin.android" version "1.8.22" apply false
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
include ":app"
 | 
					 | 
				
			||||||
							
								
								
									
										25
									
								
								android/settings.gradle.kts
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					pluginManagement {
 | 
				
			||||||
 | 
					    val flutterSdkPath = run {
 | 
				
			||||||
 | 
					        val properties = java.util.Properties()
 | 
				
			||||||
 | 
					        file("local.properties").inputStream().use { properties.load(it) }
 | 
				
			||||||
 | 
					        val flutterSdkPath = properties.getProperty("flutter.sdk")
 | 
				
			||||||
 | 
					        require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
 | 
				
			||||||
 | 
					        flutterSdkPath
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    repositories {
 | 
				
			||||||
 | 
					        google()
 | 
				
			||||||
 | 
					        mavenCentral()
 | 
				
			||||||
 | 
					        gradlePluginPortal()
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					plugins {
 | 
				
			||||||
 | 
					    id("dev.flutter.flutter-plugin-loader") version "1.0.0"
 | 
				
			||||||
 | 
					    id("com.android.application") version "8.7.3" apply false
 | 
				
			||||||
 | 
					    id("org.jetbrains.kotlin.android") version "2.1.0" apply false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					include(":app")
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								assets/graphics/icon-512x512.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 44 KiB  | 
							
								
								
									
										393
									
								
								assets/translations/ar.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,393 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "invalidURLForSource": "رابط تطبيق {} غير صالح",
 | 
				
			||||||
 | 
					    "noReleaseFound": "تعذر العثور على إصدار مناسب",
 | 
				
			||||||
 | 
					    "noVersionFound": "تعذر تحديد إصدار التطبيق",
 | 
				
			||||||
 | 
					    "urlMatchesNoSource": "الرابط لا يتطابق مع مصدر معروف",
 | 
				
			||||||
 | 
					    "cantInstallOlderVersion": "لا يمكن تثبيت إصدار أقدم من التطبيق",
 | 
				
			||||||
 | 
					    "appIdMismatch": "معرّف الحزمة المحملة لا يتطابق مع معرّف التطبيق الحالي",
 | 
				
			||||||
 | 
					    "functionNotImplemented": "هذه الوظيفة غير مطبقة في هذا الصنف",
 | 
				
			||||||
 | 
					    "placeholder": "عنصر نائب",
 | 
				
			||||||
 | 
					    "someErrors": "حدثت بعض الأخطاء",
 | 
				
			||||||
 | 
					    "unexpectedError": "خطأ غير متوقع",
 | 
				
			||||||
 | 
					    "ok": "موافق",
 | 
				
			||||||
 | 
					    "and": "و",
 | 
				
			||||||
 | 
					    "githubPATLabel": "رمز الوصول الشخصي لـ GitHub (يزيد من الحد المسموح)",
 | 
				
			||||||
 | 
					    "includePrereleases": "تضمين الإصدارات الأولية",
 | 
				
			||||||
 | 
					    "fallbackToOlderReleases": "الرجوع إلى الإصدارات الأقدم",
 | 
				
			||||||
 | 
					    "filterReleaseTitlesByRegEx": "تصفية عناوين الإصدارات باستخدام تعبير نمطي",
 | 
				
			||||||
 | 
					    "invalidRegEx": "تعبير نمطي غير صالح",
 | 
				
			||||||
 | 
					    "noDescription": "لا يوجد وصف",
 | 
				
			||||||
 | 
					    "cancel": "إلغاء",
 | 
				
			||||||
 | 
					    "continue": "متابعة",
 | 
				
			||||||
 | 
					    "requiredInBrackets": "(مطلوب)",
 | 
				
			||||||
 | 
					    "dropdownNoOptsError": "خطأ: يجب أن يحتوي القائمة المنسدلة على خيار واحد على الأقل",
 | 
				
			||||||
 | 
					    "colour": "لون",
 | 
				
			||||||
 | 
					    "standard": "قياسي",
 | 
				
			||||||
 | 
					    "custom": "مخصص",
 | 
				
			||||||
 | 
					    "useMaterialYou": "استخدم Material You",
 | 
				
			||||||
 | 
					    "githubStarredRepos": "مستودعات GitHub المفضلة",
 | 
				
			||||||
 | 
					    "uname": "اسم المستخدم",
 | 
				
			||||||
 | 
					    "wrongArgNum": "عدد وسائط غير صحيح",
 | 
				
			||||||
 | 
					    "xIsTrackOnly": "{} للتعقب فقط",
 | 
				
			||||||
 | 
					    "source": "المصدر",
 | 
				
			||||||
 | 
					    "app": "التطبيق",
 | 
				
			||||||
 | 
					    "appsFromSourceAreTrackOnly": "تطبيقات هذا المصدر للتعقب فقط.",
 | 
				
			||||||
 | 
					    "youPickedTrackOnly": "لقد اخترت خيار 'التعقب فقط'.",
 | 
				
			||||||
 | 
					    "trackOnlyAppDescription": "سيتم تعقب التطبيق للتحديثات، لكن Obtainium لن يتمكن من تنزيله أو تثبيته.",
 | 
				
			||||||
 | 
					    "cancelled": "تم الإلغاء",
 | 
				
			||||||
 | 
					    "appAlreadyAdded": "التطبيق مضاف بالفعل",
 | 
				
			||||||
 | 
					    "alreadyUpToDateQuestion": "التطبيق محدث بالفعل؟",
 | 
				
			||||||
 | 
					    "addApp": "إضافة تطبيق",
 | 
				
			||||||
 | 
					    "appSourceURL": "رابط مصدر التطبيق",
 | 
				
			||||||
 | 
					    "error": "خطأ",
 | 
				
			||||||
 | 
					    "add": "إضافة",
 | 
				
			||||||
 | 
					    "searchSomeSourcesLabel": "بحث (بعض المصادر فقط)",
 | 
				
			||||||
 | 
					    "search": "بحث",
 | 
				
			||||||
 | 
					    "additionalOptsFor": "خيارات إضافية لـ {}",
 | 
				
			||||||
 | 
					    "supportedSources": "المصادر المدعومة",
 | 
				
			||||||
 | 
					    "trackOnlyInBrackets": "(للتعقب فقط)",
 | 
				
			||||||
 | 
					    "searchableInBrackets": "(قابل للبحث)",
 | 
				
			||||||
 | 
					    "appsString": "التطبيقات",
 | 
				
			||||||
 | 
					    "noApps": "لا توجد تطبيقات",
 | 
				
			||||||
 | 
					    "noAppsForFilter": "لا توجد تطبيقات تطابق الفلتر",
 | 
				
			||||||
 | 
					    "byX": "بواسطة {}",
 | 
				
			||||||
 | 
					    "percentProgress": "التقدم: {}%",
 | 
				
			||||||
 | 
					    "pleaseWait": "يرجى الانتظار",
 | 
				
			||||||
 | 
					    "updateAvailable": "تحديث متاح",
 | 
				
			||||||
 | 
					    "notInstalled": "غير مثبت",
 | 
				
			||||||
 | 
					    "pseudoVersion": "إصدار وهمي",
 | 
				
			||||||
 | 
					    "selectAll": "تحديد الكل",
 | 
				
			||||||
 | 
					    "deselectX": "إلغاء تحديد {}",
 | 
				
			||||||
 | 
					    "xWillBeRemovedButRemainInstalled": "سيتم إزالة {} من Obtainium لكنه سيظل مثبتًا على الجهاز.",
 | 
				
			||||||
 | 
					    "removeSelectedAppsQuestion": "إزالة التطبيقات المحددة؟",
 | 
				
			||||||
 | 
					    "removeSelectedApps": "إزالة التطبيقات المحددة",
 | 
				
			||||||
 | 
					    "updateX": "تحديث {}",
 | 
				
			||||||
 | 
					    "installX": "تثبيت {}",
 | 
				
			||||||
 | 
					    "markXTrackOnlyAsUpdated": "تعليم {}\n(للتعقب فقط)\nكمحدث",
 | 
				
			||||||
 | 
					    "changeX": "تغيير {}",
 | 
				
			||||||
 | 
					    "installUpdateApps": "تثبيت/تحديث التطبيقات",
 | 
				
			||||||
 | 
					    "installUpdateSelectedApps": "تثبيت/تحديث التطبيقات المحددة",
 | 
				
			||||||
 | 
					    "markXSelectedAppsAsUpdated": "تعليم {} تطبيقات محددة كمحدثة؟",
 | 
				
			||||||
 | 
					    "no": "لا",
 | 
				
			||||||
 | 
					    "yes": "نعم",
 | 
				
			||||||
 | 
					    "markSelectedAppsUpdated": "تعليم التطبيقات المحددة كمحدثة",
 | 
				
			||||||
 | 
					    "pinToTop": "تثبيت في الأعلى",
 | 
				
			||||||
 | 
					    "unpinFromTop": "إلغاء التثبيت من الأعلى",
 | 
				
			||||||
 | 
					    "resetInstallStatusForSelectedAppsQuestion": "إعادة تعيين حالة التثبيت للتطبيقات المحددة؟",
 | 
				
			||||||
 | 
					    "installStatusOfXWillBeResetExplanation": "سيتم إعادة تعيين حالة التثبيت لأي تطبيقات محددة.\n\nقد يساعد هذا عندما يكون إصدار التطبيق المعروض في Obtainium غير صحيح بسبب فشل التحديثات أو مشاكل أخرى.",
 | 
				
			||||||
 | 
					    "customLinkMessage": "هذه الروابط تعمل على الأجهزة التي بها Obtainium مثبتًا",
 | 
				
			||||||
 | 
					    "shareAppConfigLinks": "مشاركة تكوين التطبيق كرابط HTML",
 | 
				
			||||||
 | 
					    "shareSelectedAppURLs": "مشاركة روابط التطبيقات المحددة",
 | 
				
			||||||
 | 
					    "resetInstallStatus": "إعادة تعيين حالة التثبيت",
 | 
				
			||||||
 | 
					    "more": "المزيد",
 | 
				
			||||||
 | 
					    "removeOutdatedFilter": "إزالة فلتر التطبيقات غير المحدثة",
 | 
				
			||||||
 | 
					    "showOutdatedOnly": "عرض التطبيقات غير المحدثة فقط",
 | 
				
			||||||
 | 
					    "filter": "تصفية",
 | 
				
			||||||
 | 
					    "filterApps": "تصفية التطبيقات",
 | 
				
			||||||
 | 
					    "appName": "اسم التطبيق",
 | 
				
			||||||
 | 
					    "author": "المؤلف",
 | 
				
			||||||
 | 
					    "upToDateApps": "تطبيقات محدثة",
 | 
				
			||||||
 | 
					    "nonInstalledApps": "تطبيقات غير مثبتة",
 | 
				
			||||||
 | 
					    "importExport": "استيراد/تصدير",
 | 
				
			||||||
 | 
					    "settings": "الإعدادات",
 | 
				
			||||||
 | 
					    "exportedTo": "تم التصدير إلى {}",
 | 
				
			||||||
 | 
					    "obtainiumExport": "تصدير Obtainium",
 | 
				
			||||||
 | 
					    "invalidInput": "إدخال غير صالح",
 | 
				
			||||||
 | 
					    "importedX": "تم استيراد {}",
 | 
				
			||||||
 | 
					    "obtainiumImport": "استيراد Obtainium",
 | 
				
			||||||
 | 
					    "importFromURLList": "استيراد من قائمة الروابط",
 | 
				
			||||||
 | 
					    "searchQuery": "استعلام البحث",
 | 
				
			||||||
 | 
					    "appURLList": "قائمة روابط التطبيقات",
 | 
				
			||||||
 | 
					    "line": "سطر",
 | 
				
			||||||
 | 
					    "searchX": "بحث {}",
 | 
				
			||||||
 | 
					    "noResults": "لا توجد نتائج",
 | 
				
			||||||
 | 
					    "importX": "استيراد {}",
 | 
				
			||||||
 | 
					    "importedAppsIdDisclaimer": "قد تظهر التطبيقات المستوردة بشكل غير صحيح كـ \"غير مثبتة\".\nلإصلاح هذا، قم بإعادة تثبيتها عبر Obtainium.\nهذا لا يؤثر على بيانات التطبيق.\n\nينطبق فقط على طرق الاستيراد عبر الروابط أو الطرف الثالث.",
 | 
				
			||||||
 | 
					    "importErrors": "أخطاء الاستيراد",
 | 
				
			||||||
 | 
					    "importedXOfYApps": "تم استيراد {} من {} تطبيقات.",
 | 
				
			||||||
 | 
					    "followingURLsHadErrors": "حدثت أخطاء في الروابط التالية:",
 | 
				
			||||||
 | 
					    "selectURL": "اختر رابطًا",
 | 
				
			||||||
 | 
					    "selectURLs": "اختر روابط",
 | 
				
			||||||
 | 
					    "pick": "اختر",
 | 
				
			||||||
 | 
					    "theme": "المظهر",
 | 
				
			||||||
 | 
					    "dark": "مظلم",
 | 
				
			||||||
 | 
					    "light": "فاتح",
 | 
				
			||||||
 | 
					    "followSystem": "اتباع النظام",
 | 
				
			||||||
 | 
					    "followSystemThemeExplanation": "اتباع مظهر النظام ممكن فقط باستخدام تطبيقات طرف ثالث",
 | 
				
			||||||
 | 
					    "useBlackTheme": "استخدام المظهر الأسود الداكن بالكامل",
 | 
				
			||||||
 | 
					    "appSortBy": "ترتيب التطبيقات حسب",
 | 
				
			||||||
 | 
					    "authorName": "المؤلف/الاسم",
 | 
				
			||||||
 | 
					    "nameAuthor": "الاسم/المؤلف",
 | 
				
			||||||
 | 
					    "asAdded": "كما تمت إضافتها",
 | 
				
			||||||
 | 
					    "appSortOrder": "ترتيب التطبيقات",
 | 
				
			||||||
 | 
					    "ascending": "تصاعدي",
 | 
				
			||||||
 | 
					    "descending": "تنازلي",
 | 
				
			||||||
 | 
					    "bgUpdateCheckInterval": "فترة التحقق من التحديثات في الخلفية",
 | 
				
			||||||
 | 
					    "neverManualOnly": "أبدًا - يدوي فقط",
 | 
				
			||||||
 | 
					    "appearance": "المظهر",
 | 
				
			||||||
 | 
					    "showWebInAppView": "عرض صفحة الويب المصدر في عرض التطبيق",
 | 
				
			||||||
 | 
					    "pinUpdates": "تثبيت التحديثات في أعلى قائمة التطبيقات",
 | 
				
			||||||
 | 
					    "updates": "التحديثات",
 | 
				
			||||||
 | 
					    "sourceSpecific": "خاص بالمصدر",
 | 
				
			||||||
 | 
					    "appSource": "مصدر التطبيق",
 | 
				
			||||||
 | 
					    "noLogs": "لا توجد سجلات",
 | 
				
			||||||
 | 
					    "appLogs": "سجلات التطبيق",
 | 
				
			||||||
 | 
					    "close": "إغلاق",
 | 
				
			||||||
 | 
					    "share": "مشاركة",
 | 
				
			||||||
 | 
					    "appNotFound": "التطبيق غير موجود",
 | 
				
			||||||
 | 
					    "obtainiumExportHyphenatedLowercase": "تصدير-obtainium",
 | 
				
			||||||
 | 
					    "pickAnAPK": "اختر ملف APK",
 | 
				
			||||||
 | 
					    "appHasMoreThanOnePackage": "{} يحتوي على أكثر من حزمة:",
 | 
				
			||||||
 | 
					    "deviceSupportsXArch": "جهازك يدعم بنية المعالج {}.",
 | 
				
			||||||
 | 
					    "deviceSupportsFollowingArchs": "جهازك يدعم بنى المعالج التالية:",
 | 
				
			||||||
 | 
					    "warning": "تحذير",
 | 
				
			||||||
 | 
					    "sourceIsXButPackageFromYPrompt": "مصدر التطبيق هو '{}' لكن الحزمة تأتي من '{}'. هل تتابع؟",
 | 
				
			||||||
 | 
					    "updatesAvailable": "تحديثات متاحة",
 | 
				
			||||||
 | 
					    "updatesAvailableNotifDescription": "يخطر المستخدم بوجود تحديثات لواحد أو أكثر من التطبيقات التي يتعقبها Obtainium",
 | 
				
			||||||
 | 
					    "noNewUpdates": "لا توجد تحديثات جديدة.",
 | 
				
			||||||
 | 
					    "xHasAnUpdate": "{} لديه تحديث.",
 | 
				
			||||||
 | 
					    "appsUpdated": "تم تحديث التطبيقات",
 | 
				
			||||||
 | 
					    "appsNotUpdated": "فشل تحديث التطبيقات",
 | 
				
			||||||
 | 
					    "appsUpdatedNotifDescription": "يخطر المستخدم بأن تحديثات لواحد أو أكثر من التطبيقات تم تطبيقها في الخلفية",
 | 
				
			||||||
 | 
					    "xWasUpdatedToY": "تم تحديث {} إلى {}.",
 | 
				
			||||||
 | 
					    "xWasNotUpdatedToY": "فشل تحديث {} إلى {}.",
 | 
				
			||||||
 | 
					    "errorCheckingUpdates": "خطأ في التحقق من التحديثات",
 | 
				
			||||||
 | 
					    "errorCheckingUpdatesNotifDescription": "إشعار يظهر عند فشل التحقق من التحديثات في الخلفية",
 | 
				
			||||||
 | 
					    "appsRemoved": "تمت إزالة التطبيقات",
 | 
				
			||||||
 | 
					    "appsRemovedNotifDescription": "يخطر المستخدم بأنه تمت إزالة واحد أو أكثر من التطبيقات بسبب أخطاء أثناء تحميلها",
 | 
				
			||||||
 | 
					    "xWasRemovedDueToErrorY": "تمت إزالة {} بسبب هذا الخطأ: {}",
 | 
				
			||||||
 | 
					    "completeAppInstallation": "إكمال تثبيت التطبيق",
 | 
				
			||||||
 | 
					    "obtainiumMustBeOpenToInstallApps": "يجب فتح Obtainium لتثبيت التطبيقات",
 | 
				
			||||||
 | 
					    "completeAppInstallationNotifDescription": "يطلب من المستخدم العودة إلى Obtainium لإكمال تثبيت التطبيق",
 | 
				
			||||||
 | 
					    "checkingForUpdates": "جاري التحقق من التحديثات",
 | 
				
			||||||
 | 
					    "checkingForUpdatesNotifDescription": "إشعار مؤقت يظهر عند التحقق من التحديثات",
 | 
				
			||||||
 | 
					    "pleaseAllowInstallPerm": "يرجى السماح لـ Obtainium بتثبيت التطبيقات",
 | 
				
			||||||
 | 
					    "trackOnly": "للتعقب فقط",
 | 
				
			||||||
 | 
					    "errorWithHttpStatusCode": "خطأ {}",
 | 
				
			||||||
 | 
					    "versionCorrectionDisabled": "تعطيل تصحيح الإصدار (يبدو أن الملحق لا يعمل)",
 | 
				
			||||||
 | 
					    "unknown": "غير معروف",
 | 
				
			||||||
 | 
					    "none": "لا شيء",
 | 
				
			||||||
 | 
					    "never": "أبدًا",
 | 
				
			||||||
 | 
					    "latestVersionX": "الأحدث: {}",
 | 
				
			||||||
 | 
					    "installedVersionX": "المثبت: {}",
 | 
				
			||||||
 | 
					    "lastUpdateCheckX": "آخر تحقق من التحديثات: {}",
 | 
				
			||||||
 | 
					    "remove": "إزالة",
 | 
				
			||||||
 | 
					    "yesMarkUpdated": "نعم، تعليم كمحدث",
 | 
				
			||||||
 | 
					    "fdroid": "F-Droid الرسمي",
 | 
				
			||||||
 | 
					    "appIdOrName": "معرّف التطبيق أو الاسم",
 | 
				
			||||||
 | 
					    "appId": "معرّف التطبيق",
 | 
				
			||||||
 | 
					    "appWithIdOrNameNotFound": "لم يتم العثور على تطبيق بهذا المعرّف أو الاسم",
 | 
				
			||||||
 | 
					    "reposHaveMultipleApps": "قد تحتوي المستودعات على عدة تطبيقات",
 | 
				
			||||||
 | 
					    "fdroidThirdPartyRepo": "مستودع F-Droid طرف ثالث",
 | 
				
			||||||
 | 
					    "install": "تثبيت",
 | 
				
			||||||
 | 
					    "markInstalled": "تعليم كمثبت",
 | 
				
			||||||
 | 
					    "update": "تحديث",
 | 
				
			||||||
 | 
					    "markUpdated": "تعليم كمحدث",
 | 
				
			||||||
 | 
					    "additionalOptions": "خيارات إضافية",
 | 
				
			||||||
 | 
					    "disableVersionDetection": "تعطيل اكتشاف الإصدار",
 | 
				
			||||||
 | 
					    "noVersionDetectionExplanation": "يجب استخدام هذا الخيار فقط للتطبيقات التي لا يعمل فيها اكتشاف الإصدار بشكل صحيح.",
 | 
				
			||||||
 | 
					    "downloadingX": "جاري تنزيل {}",
 | 
				
			||||||
 | 
					    "downloadX": "تنزيل {}",
 | 
				
			||||||
 | 
					    "downloadedX": "تم تنزيل {}",
 | 
				
			||||||
 | 
					    "releaseAsset": "ملف الإصدار",
 | 
				
			||||||
 | 
					    "downloadNotifDescription": "يخطر المستخدم بالتقدم في تنزيل التطبيق",
 | 
				
			||||||
 | 
					    "noAPKFound": "لم يتم العثور على ملف APK",
 | 
				
			||||||
 | 
					    "noVersionDetection": "لا يوجد اكتشاف للإصدار",
 | 
				
			||||||
 | 
					    "categorize": "تصنيف",
 | 
				
			||||||
 | 
					    "categories": "التصنيفات",
 | 
				
			||||||
 | 
					    "category": "تصنيف",
 | 
				
			||||||
 | 
					    "noCategory": "بدون تصنيف",
 | 
				
			||||||
 | 
					    "noCategories": "لا توجد تصنيفات",
 | 
				
			||||||
 | 
					    "deleteCategoriesQuestion": "حذف التصنيفات؟",
 | 
				
			||||||
 | 
					    "categoryDeleteWarning": "سيتم تعيين جميع التطبيقات في التصنيفات المحذوفة كغير مصنفة.",
 | 
				
			||||||
 | 
					    "addCategory": "إضافة تصنيف",
 | 
				
			||||||
 | 
					    "label": "تسمية",
 | 
				
			||||||
 | 
					    "language": "اللغة",
 | 
				
			||||||
 | 
					    "copiedToClipboard": "تم النسخ إلى الحافظة",
 | 
				
			||||||
 | 
					    "storagePermissionDenied": "تم رفض إذن التخزين",
 | 
				
			||||||
 | 
					    "selectedCategorizeWarning": "سيؤدي هذا إلى استبدال أي إعدادات تصنيف موجودة للتطبيقات المحددة.",
 | 
				
			||||||
 | 
					    "filterAPKsByRegEx": "تصفية ملفات APK باستخدام تعبير نمطي",
 | 
				
			||||||
 | 
					    "removeFromObtainium": "إزالة من Obtainium",
 | 
				
			||||||
 | 
					    "uninstallFromDevice": "إلغاء التثبيت من الجهاز",
 | 
				
			||||||
 | 
					    "onlyWorksWithNonVersionDetectApps": "يعمل فقط مع التطبيقات التي تم تعطيل اكتشاف الإصدار لها.",
 | 
				
			||||||
 | 
					    "releaseDateAsVersion": "استخدام تاريخ الإصدار كسلسلة إصدار",
 | 
				
			||||||
 | 
					    "releaseTitleAsVersion": "استخدام عنوان الإصدار كسلسلة إصدار",
 | 
				
			||||||
 | 
					    "releaseDateAsVersionExplanation": "يجب استخدام هذا الخيار فقط للتطبيقات التي لا يعمل فيها اكتشاف الإصدار بشكل صحيح، ولكن تاريخ الإصدار متاح.",
 | 
				
			||||||
 | 
					    "changes": "التغييرات",
 | 
				
			||||||
 | 
					    "releaseDate": "تاريخ الإصدار",
 | 
				
			||||||
 | 
					    "importFromURLsInFile": "استيراد من روابط في ملف (مثل OPML)",
 | 
				
			||||||
 | 
					    "versionDetectionExplanation": "تنسيق سلسلة الإصدار مع الإصدار المكتشف من النظام",
 | 
				
			||||||
 | 
					    "versionDetection": "اكتشاف الإصدار",
 | 
				
			||||||
 | 
					    "standardVersionDetection": "اكتشاف الإصدار القياسي",
 | 
				
			||||||
 | 
					    "groupByCategory": "التجميع حسب التصنيف",
 | 
				
			||||||
 | 
					    "autoApkFilterByArch": "محاولة تصفية ملفات APK حسب بنية المعالج إذا أمكن",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "محاولة تصفية الروابط حسب بنية المعالج إذا أمكن",
 | 
				
			||||||
 | 
					    "overrideSource": "تجاوز المصدر",
 | 
				
			||||||
 | 
					    "dontShowAgain": "عدم إظهار هذا مرة أخرى",
 | 
				
			||||||
 | 
					    "dontShowTrackOnlyWarnings": "عدم إظهار تحذيرات 'للتعقب فقط'",
 | 
				
			||||||
 | 
					    "dontShowAPKOriginWarnings": "عدم إظهار تحذيرات مصدر APK",
 | 
				
			||||||
 | 
					    "moveNonInstalledAppsToBottom": "نقل التطبيقات غير المثبتة إلى أسفل قائمة التطبيقات",
 | 
				
			||||||
 | 
					    "gitlabPATLabel": "رمز الوصول الشخصي لـ GitLab",
 | 
				
			||||||
 | 
					    "about": "حول",
 | 
				
			||||||
 | 
					    "requiresCredentialsInSettings": "{} يحتاج إلى بيانات اعتماد إضافية (في الإعدادات)",
 | 
				
			||||||
 | 
					    "checkOnStart": "التحقق من التحديثات عند البدء",
 | 
				
			||||||
 | 
					    "tryInferAppIdFromCode": "محاولة استنتاج معرّف التطبيق من الكود المصدري",
 | 
				
			||||||
 | 
					    "removeOnExternalUninstall": "إزالة التطبيقات المثبتة خارجيًا تلقائيًا",
 | 
				
			||||||
 | 
					    "pickHighestVersionCode": "تحديد أعلى إصدار تلقائيًا",
 | 
				
			||||||
 | 
					    "checkUpdateOnDetailPage": "التحقق من التحديثات عند فتح صفحة التفاصيل",
 | 
				
			||||||
 | 
					    "disablePageTransitions": "تعطيل انتقالات الصفحات",
 | 
				
			||||||
 | 
					    "reversePageTransitions": "عكس انتقالات الصفحات",
 | 
				
			||||||
 | 
					    "minStarCount": "الحد الأدنى لعدد النجوم",
 | 
				
			||||||
 | 
					    "addInfoBelow": "أضف هذه المعلومات أدناه.",
 | 
				
			||||||
 | 
					    "addInfoInSettings": "أضف هذه المعلومات في الإعدادات.",
 | 
				
			||||||
 | 
					    "githubSourceNote": "يمكن تجنب الحد المسموح لـ GitHub باستخدام مفتاح API.",
 | 
				
			||||||
 | 
					    "sortByLastLinkSegment": "الفرز حسب الجزء الأخير من الرابط فقط",
 | 
				
			||||||
 | 
					    "filterReleaseNotesByRegEx": "تصفية ملاحظات الإصدار باستخدام تعبير نمطي",
 | 
				
			||||||
 | 
					    "customLinkFilterRegex": "تصفية روابط APK المخصصة باستخدام تعبير نمطي (افتراضيًا '.apk$')",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdated": "تمت محاولة تحديث التطبيقات",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdatedNotifDescription": "يخطر المستخدم بأن تحديثات لواحد أو أكثر من التطبيقات قد تم تطبيقها في الخلفية",
 | 
				
			||||||
 | 
					    "xWasPossiblyUpdatedToY": "{} قد تم تحديثه إلى {}.",
 | 
				
			||||||
 | 
					    "enableBackgroundUpdates": "تمكين التحديثات في الخلفية",
 | 
				
			||||||
 | 
					    "backgroundUpdateReqsExplanation": "قد لا تكون التحديثات في الخلفية ممكنة لجميع التطبيقات.",
 | 
				
			||||||
 | 
					    "backgroundUpdateLimitsExplanation": "يمكن تحديد نجاح التثبيت في الخلفية فقط عند فتح Obtainium.",
 | 
				
			||||||
 | 
					    "verifyLatestTag": "التحقق من علامة 'الأحدث'",
 | 
				
			||||||
 | 
					    "intermediateLinkRegex": "تصفية للوصول إلى رابط 'وسيط'",
 | 
				
			||||||
 | 
					    "filterByLinkText": "تصفية الروابط حسب نص الرابط",
 | 
				
			||||||
 | 
					    "intermediateLinkNotFound": "لم يتم العثور على رابط وسيط",
 | 
				
			||||||
 | 
					    "intermediateLink": "رابط وسيط",
 | 
				
			||||||
 | 
					    "exemptFromBackgroundUpdates": "إعفاء من التحديثات في الخلفية (إذا تم تمكينها)",
 | 
				
			||||||
 | 
					    "bgUpdatesOnWiFiOnly": "تعطيل التحديثات في الخلفية عند عدم الاتصال بشبكة Wi-Fi",
 | 
				
			||||||
 | 
					    "bgUpdatesWhileChargingOnly": "تعطيل التحديثات في الخلفية عند عدم الشحن",
 | 
				
			||||||
 | 
					    "autoSelectHighestVersionCode": "تحديد أعلى إصدار تلقائيًا",
 | 
				
			||||||
 | 
					    "versionExtractionRegEx": "تعبير نمطي لاستخراج الإصدار",
 | 
				
			||||||
 | 
					    "trimVersionString": "قص سلسلة الإصدار باستخدام تعبير نمطي",
 | 
				
			||||||
 | 
					    "matchGroupToUseForX": "مجموعة المطابقة لاستخدامها لـ \"{}\"",
 | 
				
			||||||
 | 
					    "matchGroupToUse": "مجموعة المطابقة لاستخدامها في تعبير استخراج الإصدار",
 | 
				
			||||||
 | 
					    "highlightTouchTargets": "تمييز أهداف اللمس الأقل وضوحًا",
 | 
				
			||||||
 | 
					    "pickExportDir": "اختر دليل التصدير",
 | 
				
			||||||
 | 
					    "autoExportOnChanges": "تصدير تلقائي عند التغييرات",
 | 
				
			||||||
 | 
					    "includeSettings": "تضمين الإعدادات",
 | 
				
			||||||
 | 
					    "filterVersionsByRegEx": "تصفية الإصدارات باستخدام تعبير نمطي",
 | 
				
			||||||
 | 
					    "trySelectingSuggestedVersionCode": "محاولة تحديد الإصدار المقترح تلقائيًا",
 | 
				
			||||||
 | 
					    "dontSortReleasesList": "الحفاظ على ترتيب الإصدارات من API",
 | 
				
			||||||
 | 
					    "reverseSort": "فرز عكسي",
 | 
				
			||||||
 | 
					    "takeFirstLink": "أخذ أول رابط",
 | 
				
			||||||
 | 
					    "skipSort": "تخطي الفرز",
 | 
				
			||||||
 | 
					    "debugMenu": "قائمة التصحيح",
 | 
				
			||||||
 | 
					    "bgTaskStarted": "بدأت المهمة في الخلفية - تحقق من السجلات.",
 | 
				
			||||||
 | 
					    "runBgCheckNow": "تشغيل التحقق من التحديثات في الخلفية الآن",
 | 
				
			||||||
 | 
					    "versionExtractWholePage": "تطبيق تعبير استخراج الإصدار على الصفحة بأكملها",
 | 
				
			||||||
 | 
					    "installing": "جاري التثبيت",
 | 
				
			||||||
 | 
					    "skipUpdateNotifications": "تخطي إشعارات التحديث",
 | 
				
			||||||
 | 
					    "updatesAvailableNotifChannel": "تحديثات متاحة",
 | 
				
			||||||
 | 
					    "appsUpdatedNotifChannel": "تم تحديث التطبيقات",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdatedNotifChannel": "تمت محاولة تحديث التطبيقات",
 | 
				
			||||||
 | 
					    "errorCheckingUpdatesNotifChannel": "خطأ في التحقق من التحديثات",
 | 
				
			||||||
 | 
					    "appsRemovedNotifChannel": "تمت إزالة التطبيقات",
 | 
				
			||||||
 | 
					    "downloadingXNotifChannel": "جاري تنزيل {}",
 | 
				
			||||||
 | 
					    "completeAppInstallationNotifChannel": "إكمال تثبيت التطبيق",
 | 
				
			||||||
 | 
					    "checkingForUpdatesNotifChannel": "جاري التحقق من التحديثات",
 | 
				
			||||||
 | 
					    "onlyCheckInstalledOrTrackOnlyApps": "التحقق فقط من التطبيقات المثبتة أو للتعقب فقط",
 | 
				
			||||||
 | 
					    "supportFixedAPKURL": "دعم روابط APK الثابتة",
 | 
				
			||||||
 | 
					    "selectX": "اختر {}",
 | 
				
			||||||
 | 
					    "parallelDownloads": "السماح بالتنزيل المتوازي",
 | 
				
			||||||
 | 
					    "useShizuku": "استخدم Shizuku أو Sui للتثبيت",
 | 
				
			||||||
 | 
					    "shizukuBinderNotFound": "خدمة Shizuku غير قيد التشغيل",
 | 
				
			||||||
 | 
					    "shizukuOld": "إصدار قديم من Shizuku (<11) - قم بتحديثه",
 | 
				
			||||||
 | 
					    "shizukuOldAndroidWithADB": "Shizuku يعمل على إصدار أندرويد < 8.1 مع ADB - قم بتحديث أندرويد أو استخدم Sui بدلاً من ذلك",
 | 
				
			||||||
 | 
					    "shizukuPretendToBeGooglePlay": "تعيين Google Play كمصدر التثبيت (إذا تم استخدام Shizuku)",
 | 
				
			||||||
 | 
					    "useSystemFont": "استخدم خط النظام",
 | 
				
			||||||
 | 
					    "useVersionCodeAsOSVersion": "استخدم versionCode كإصدار مكتشف من النظام",
 | 
				
			||||||
 | 
					    "requestHeader": "رأس الطلب",
 | 
				
			||||||
 | 
					    "useLatestAssetDateAsReleaseDate": "استخدام أحدث تاريخ تحميل كتاريخ إصدار",
 | 
				
			||||||
 | 
					    "defaultPseudoVersioningMethod": "طريقة الإصدار الوهمي الافتراضية",
 | 
				
			||||||
 | 
					    "partialAPKHash": "جزء من تجزئة APK",
 | 
				
			||||||
 | 
					    "APKLinkHash": "تجزئة رابط APK",
 | 
				
			||||||
 | 
					    "directAPKLink": "رابط APK مباشر",
 | 
				
			||||||
 | 
					    "pseudoVersionInUse": "يتم استخدام إصدار وهمي",
 | 
				
			||||||
 | 
					    "installed": "مثبت",
 | 
				
			||||||
 | 
					    "latest": "الأحدث",
 | 
				
			||||||
 | 
					    "invertRegEx": "عكس التعبير النمطي",
 | 
				
			||||||
 | 
					    "note": "ملاحظة",
 | 
				
			||||||
 | 
					    "selfHostedNote": "يمكن استخدام القائمة المنسدلة \"{}\" للوصول إلى نسخ مخصصة/مستضافة ذاتيًا لأي مصدر.",
 | 
				
			||||||
 | 
					    "badDownload": "تعذر تحليل ملف APK (تنزيل غير متوافق أو غير مكتمل)",
 | 
				
			||||||
 | 
					    "beforeNewInstallsShareToAppVerifier": "مشاركة التطبيقات الجديدة مع AppVerifier (إذا كان متاحًا)",
 | 
				
			||||||
 | 
					    "appVerifierInstructionToast": "شارك مع AppVerifier، ثم عد هنا عندما تكون جاهزًا.",
 | 
				
			||||||
 | 
					    "wiki": "المساعدة/ويكي",
 | 
				
			||||||
 | 
					    "crowdsourcedConfigsLabel": "تكوينات التطبيقات المقدمة من الجمهور (استخدم على مسؤوليتك)",
 | 
				
			||||||
 | 
					    "crowdsourcedConfigsShort": "تكوينات التطبيقات المقدمة من الجمهور",
 | 
				
			||||||
 | 
					    "allowInsecure": "السماح بطلبات HTTP غير الآمنة",
 | 
				
			||||||
 | 
					    "stayOneVersionBehind": "البقاء بإصدار واحد خلف الأحدث",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "التحديد التلقائي الأول من بين عدة ملفات APK",
 | 
				
			||||||
 | 
					    "refreshBeforeDownload": "تحديث تفاصيل التطبيق قبل التنزيل",
 | 
				
			||||||
 | 
					    "tencentAppStore": "متجر Tencent للتطبيقات",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "متجر vivo للتطبيقات (CN)",
 | 
				
			||||||
 | 
					    "name": "الاسم",
 | 
				
			||||||
 | 
					    "smartname": "الاسم (ذكي)",
 | 
				
			||||||
 | 
					    "sortMethod": "طريقة الفرز",
 | 
				
			||||||
 | 
					    "welcome": "مرحبًا",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "تحتوي صفحة Obtainium على GitHub المرتبطة أدناه على روابط لمقاطع فيديو، مقالات، مناقشات وموارد أخرى ستساعدك على فهم كيفية استخدام التطبيق.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "لاحظ أن التنزيلات في الخلفية قد تعمل بشكل أكثر موثوقية إذا قمت بتعطيل تحسينات بطارية النظام لـ Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "فشل حذف الملف (حاول حذفه يدويًا ثم حاول مرة أخرى): \"{}\"",
 | 
				
			||||||
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
 | 
					        "one": "إزالة التطبيق؟",
 | 
				
			||||||
 | 
					        "other": "إزالة التطبيقات؟"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "tooManyRequestsTryAgainInMinutes": {
 | 
				
			||||||
 | 
					        "one": "طلبات كثيرة جدًا (تم تحديد المعدل) - حاول مرة أخرى بعد {} دقيقة",
 | 
				
			||||||
 | 
					        "other": "طلبات كثيرة جدًا (تم تحديد المعدل) - حاول مرة أخرى بعد {} دقائق"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "bgUpdateGotErrorRetryInMinutes": {
 | 
				
			||||||
 | 
					        "one": "واجه التحقق من التحديثات في الخلفية {}، سيتم جدولة محاولة أخرى بعد {} دقيقة",
 | 
				
			||||||
 | 
					        "other": "واجه التحقق من التحديثات في الخلفية {}، سيتم جدولة محاولة أخرى بعد {} دقائق"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "bgCheckFoundUpdatesWillNotifyIfNeeded": {
 | 
				
			||||||
 | 
					        "one": "وجد التحقق من التحديثات في الخلفية {} تحديث - سيتم إخطار المستخدم إذا لزم الأمر",
 | 
				
			||||||
 | 
					        "other": "وجد التحقق من التحديثات في الخلفية {} تحديثات - سيتم إخطار المستخدم إذا لزم الأمر"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "apps": {
 | 
				
			||||||
 | 
					        "one": "{} تطبيق",
 | 
				
			||||||
 | 
					        "other": "{} تطبيقات"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "url": {
 | 
				
			||||||
 | 
					        "one": "{} رابط",
 | 
				
			||||||
 | 
					        "other": "{} روابط"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "minute": {
 | 
				
			||||||
 | 
					        "one": "{} دقيقة",
 | 
				
			||||||
 | 
					        "other": "{} دقائق"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "hour": {
 | 
				
			||||||
 | 
					        "one": "{} ساعة",
 | 
				
			||||||
 | 
					        "other": "{} ساعات"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "day": {
 | 
				
			||||||
 | 
					        "one": "{} يوم",
 | 
				
			||||||
 | 
					        "other": "{} أيام"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "clearedNLogsBeforeXAfterY": {
 | 
				
			||||||
 | 
					        "one": "تم مسح {n} سجل (قبل = {before}, بعد = {after})",
 | 
				
			||||||
 | 
					        "other": "تم مسح {n} سجلات (قبل = {before}, بعد = {after})"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesAvailable": {
 | 
				
			||||||
 | 
					        "one": "{} وتطبيق واحد آخر لديه تحديثات.",
 | 
				
			||||||
 | 
					        "other": "{} و{} تطبيقات أخرى لديها تحديثات."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesInstalled": {
 | 
				
			||||||
 | 
					        "one": "{} وتطبيق واحد آخر تم تحديثه.",
 | 
				
			||||||
 | 
					        "other": "{} و{} تطبيقات أخرى تم تحديثها."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesFailed": {
 | 
				
			||||||
 | 
					        "one": "فشل تحديث {} وتطبيق واحد آخر.",
 | 
				
			||||||
 | 
					        "other": "فشل تحديث {} و{} تطبيقات أخرى."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesPossiblyInstalled": {
 | 
				
			||||||
 | 
					        "one": "{} وتطبيق واحد آخر قد تم تحديثه.",
 | 
				
			||||||
 | 
					        "other": "{} و{} تطبيقات أخرى قد تم تحديثها."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "apk": {
 | 
				
			||||||
 | 
					        "one": "{} APK",
 | 
				
			||||||
 | 
					        "other": "{} APKs"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Detekcija standardne verzije",
 | 
					    "standardVersionDetection": "Detekcija standardne verzije",
 | 
				
			||||||
    "groupByCategory": "Grupiši po kategoriji",
 | 
					    "groupByCategory": "Grupiši po kategoriji",
 | 
				
			||||||
    "autoApkFilterByArch": "Pokušajte filtrirati APK-ove po arhitekturi procesora ako je moguće",
 | 
					    "autoApkFilterByArch": "Pokušajte filtrirati APK-ove po arhitekturi procesora ako je moguće",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Attempt to filter links by CPU architecture if possible",
 | 
				
			||||||
    "overrideSource": "Premosti izvor",
 | 
					    "overrideSource": "Premosti izvor",
 | 
				
			||||||
    "dontShowAgain": "Ne prikazuj ovo ponovo",
 | 
					    "dontShowAgain": "Ne prikazuj ovo ponovo",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Ne prikazuj upozorenja „Samo za  praćenje”",
 | 
					    "dontShowTrackOnlyWarnings": "Ne prikazuj upozorenja „Samo za  praćenje”",
 | 
				
			||||||
@@ -314,11 +315,21 @@
 | 
				
			|||||||
    "appVerifierInstructionToast": "Dijeli sa AppVerifier-om, zatim se vratite kada ste spremni.",
 | 
					    "appVerifierInstructionToast": "Dijeli sa AppVerifier-om, zatim se vratite kada ste spremni.",
 | 
				
			||||||
    "wiki": "Pomoć/Wiki",
 | 
					    "wiki": "Pomoć/Wiki",
 | 
				
			||||||
    "crowdsourcedConfigsLabel": "Konfiguracije aplikacije obezbeđene pomoću velikog broja ljudi (crowdsourcing) (koristite na svoju odgovornost)",
 | 
					    "crowdsourcedConfigsLabel": "Konfiguracije aplikacije obezbeđene pomoću velikog broja ljudi (crowdsourcing) (koristite na svoju odgovornost)",
 | 
				
			||||||
    "crowdsourcedConfigsShort": "Crowdsourced App Configs",
 | 
					    "crowdsourcedConfigsShort": "Crowdsourced App Configurations",
 | 
				
			||||||
    "allowInsecure": "Allow insecure HTTP requests",
 | 
					    "allowInsecure": "Allow insecure HTTP requests",
 | 
				
			||||||
    "stayOneVersionBehind": "Stay one version behind latest",
 | 
					    "stayOneVersionBehind": "Stay one version behind latest",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Auto-select first of multiple APKs",
 | 
				
			||||||
    "refreshBeforeDownload": "Refresh app details before download",
 | 
					    "refreshBeforeDownload": "Refresh app details before download",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Name",
 | 
				
			||||||
 | 
					    "smartname": "Name (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sort Method",
 | 
				
			||||||
 | 
					    "welcome": "Welcome",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Note that background downloads may work more reliably if you disable OS battery optimizations for Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Failed to delete file (try deleting it manually then try again): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Želite li ukloniti aplikaciju?",
 | 
					        "one": "Želite li ukloniti aplikaciju?",
 | 
				
			||||||
        "other": "Želite li ukloniti aplikacije?"
 | 
					        "other": "Želite li ukloniti aplikacije?"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										393
									
								
								assets/translations/ca.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,393 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "invalidURLForSource": "L'URL de l'aplicació {} no es vàlid",
 | 
				
			||||||
 | 
					    "noReleaseFound": "No s'ha pogut trobar una versió adequada",
 | 
				
			||||||
 | 
					    "noVersionFound": "No s'ha pogut determinar la versió",
 | 
				
			||||||
 | 
					    "urlMatchesNoSource": "L'URL no coincideix amb cap font coneguda",
 | 
				
			||||||
 | 
					    "cantInstallOlderVersion": "No és possible instal·lar una versió més antiga de l'aplicació",
 | 
				
			||||||
 | 
					    "appIdMismatch": "L'ID del paquet descarregat no coincideix amb l'ID de l'aplicació instal·lada",
 | 
				
			||||||
 | 
					    "functionNotImplemented": "Aquesta classe no ha implentat aquesta funció",
 | 
				
			||||||
 | 
					    "placeholder": "Espai reservat",
 | 
				
			||||||
 | 
					    "someErrors": "S'han produït alguns errors",
 | 
				
			||||||
 | 
					    "unexpectedError": "Error inesperat",
 | 
				
			||||||
 | 
					    "ok": "Accepta",
 | 
				
			||||||
 | 
					    "and": "i",
 | 
				
			||||||
 | 
					    "githubPATLabel": "Token d'accés personal a GitHub (augmenta el límit d'accés)",
 | 
				
			||||||
 | 
					    "includePrereleases": "Inclou les versions preliminars",
 | 
				
			||||||
 | 
					    "fallbackToOlderReleases": "Torna a les versions anteriors",
 | 
				
			||||||
 | 
					    "filterReleaseTitlesByRegEx": "Filtra el títol de la versió per una expressió regular",
 | 
				
			||||||
 | 
					    "invalidRegEx": "Expressió regular invàlida",
 | 
				
			||||||
 | 
					    "noDescription": "Sense descripció",
 | 
				
			||||||
 | 
					    "cancel": "Cancel·la",
 | 
				
			||||||
 | 
					    "continue": "Continua",
 | 
				
			||||||
 | 
					    "requiredInBrackets": "(requerit)",
 | 
				
			||||||
 | 
					    "dropdownNoOptsError": "ERROR: EL DESPLEGABLE HA DE TENIR ALMENYS UNA OPCIÓ",
 | 
				
			||||||
 | 
					    "colour": "Color",
 | 
				
			||||||
 | 
					    "standard": "Estàndard",
 | 
				
			||||||
 | 
					    "custom": "Personalitzat",
 | 
				
			||||||
 | 
					    "useMaterialYou": "Usa 'Material You'",
 | 
				
			||||||
 | 
					    "githubStarredRepos": "Repositoris favorits de GitHub",
 | 
				
			||||||
 | 
					    "uname": "Nom d'usuari",
 | 
				
			||||||
 | 
					    "wrongArgNum": "Nombre d'arguments proveït invàlid",
 | 
				
			||||||
 | 
					    "xIsTrackOnly": "{} és només per a seguiment",
 | 
				
			||||||
 | 
					    "source": "Font",
 | 
				
			||||||
 | 
					    "app": "Aplicació",
 | 
				
			||||||
 | 
					    "appsFromSourceAreTrackOnly": "Les aplicacions d'aquesta font són només per a seguiment.",
 | 
				
			||||||
 | 
					    "youPickedTrackOnly": "Has seleccionat l'opció 'només per a seguiment'.",
 | 
				
			||||||
 | 
					    "trackOnlyAppDescription": "Farem el seguiment de les actualitzacions per a l'aplicació, però Obtainium no podrà descarregar-la ni actualitzar-la.",
 | 
				
			||||||
 | 
					    "cancelled": "Cancel·lat",
 | 
				
			||||||
 | 
					    "appAlreadyAdded": "Aplicació ja afegida",
 | 
				
			||||||
 | 
					    "alreadyUpToDateQuestion": "Aplicació ja actualitzada?",
 | 
				
			||||||
 | 
					    "addApp": "Afegeix l'aplicació",
 | 
				
			||||||
 | 
					    "appSourceURL": "URL font de l'aplicació",
 | 
				
			||||||
 | 
					    "error": "Error",
 | 
				
			||||||
 | 
					    "add": "Afegeix",
 | 
				
			||||||
 | 
					    "searchSomeSourcesLabel": "Cerca (només algunes fonts)",
 | 
				
			||||||
 | 
					    "search": "Cerca",
 | 
				
			||||||
 | 
					    "additionalOptsFor": "Opcions addicionals per a {}",
 | 
				
			||||||
 | 
					    "supportedSources": "Fonts suportades",
 | 
				
			||||||
 | 
					    "trackOnlyInBrackets": "(només per a seguiment)",
 | 
				
			||||||
 | 
					    "searchableInBrackets": "(permet la cerca)",
 | 
				
			||||||
 | 
					    "appsString": "Aplicacions",
 | 
				
			||||||
 | 
					    "noApps": "No hi ha aplicacions",
 | 
				
			||||||
 | 
					    "noAppsForFilter": "No hi ha aplicacions per filtrar",
 | 
				
			||||||
 | 
					    "byX": "Per: {}",
 | 
				
			||||||
 | 
					    "percentProgress": "Progrés: {} %",
 | 
				
			||||||
 | 
					    "pleaseWait": "Espera...",
 | 
				
			||||||
 | 
					    "updateAvailable": "Actualització disponible",
 | 
				
			||||||
 | 
					    "notInstalled": "No instal·lat",
 | 
				
			||||||
 | 
					    "pseudoVersion": "pseudo-versió",
 | 
				
			||||||
 | 
					    "selectAll": "Selecciona-ho tot",
 | 
				
			||||||
 | 
					    "deselectX": "Desselecciona {}",
 | 
				
			||||||
 | 
					    "xWillBeRemovedButRemainInstalled": "{} s'eliminarà d'Obtainium però romandrà instal·lada al dispositiu.",
 | 
				
			||||||
 | 
					    "removeSelectedAppsQuestion": "Elimino les aplicacions seleccionades?",
 | 
				
			||||||
 | 
					    "removeSelectedApps": "Elimina les aplicacions seleccionades",
 | 
				
			||||||
 | 
					    "updateX": "Actualitza {}",
 | 
				
			||||||
 | 
					    "installX": "Instal·la {}",
 | 
				
			||||||
 | 
					    "markXTrackOnlyAsUpdated": "Marca {}\n(només per a seguiment)\ncom a actualitzada",
 | 
				
			||||||
 | 
					    "changeX": "Canvia {}",
 | 
				
			||||||
 | 
					    "installUpdateApps": "Instal·la/actualitza les aplicacions",
 | 
				
			||||||
 | 
					    "installUpdateSelectedApps": "Instal·la/actualitza les aplicacions seleccionades",
 | 
				
			||||||
 | 
					    "markXSelectedAppsAsUpdated": "Marco {} les aplicaciones seleccionades com a actualitzades?",
 | 
				
			||||||
 | 
					    "no": "No",
 | 
				
			||||||
 | 
					    "yes": "Sí",
 | 
				
			||||||
 | 
					    "markSelectedAppsUpdated": "Marca les aplicacions seleccionades com a actualitzades",
 | 
				
			||||||
 | 
					    "pinToTop": "Ancora-la al capdamunt",
 | 
				
			||||||
 | 
					    "unpinFromTop": "Desancora-la del capdamunt",
 | 
				
			||||||
 | 
					    "resetInstallStatusForSelectedAppsQuestion": "Restableixo l'estat d'instal·lació per a les aplicacions seleccionades?",
 | 
				
			||||||
 | 
					    "installStatusOfXWillBeResetExplanation": "Es restablirà l'estat d'instal·lació de les aplicacions seleccionades.\n\nAçò pot ser útil quan la versió de l'aplicació mostrada per Obtainium és incorrecta a conseqüència d'una actualització no reeixida o d'algun altre problema.",
 | 
				
			||||||
 | 
					    "customLinkMessage": "Aquests enllaços funcionen en dispositius amb Obtainium instal·lat",
 | 
				
			||||||
 | 
					    "shareAppConfigLinks": "Comparteix la configuració de l'aplicació com a enllaç HTML",
 | 
				
			||||||
 | 
					    "shareSelectedAppURLs": "Comparteix els URL de les aplicacions seleccionades",
 | 
				
			||||||
 | 
					    "resetInstallStatus": "Restableix l'estat de la instal·lació",
 | 
				
			||||||
 | 
					    "more": "Més",
 | 
				
			||||||
 | 
					    "removeOutdatedFilter": "Elimina el filtre d'aplicacions desactualitzades",
 | 
				
			||||||
 | 
					    "showOutdatedOnly": "Mostra només les aplicacions desactualitzades",
 | 
				
			||||||
 | 
					    "filter": "Filtra",
 | 
				
			||||||
 | 
					    "filterApps": "Filtra les aplicacions",
 | 
				
			||||||
 | 
					    "appName": "Nom de l'aplicació",
 | 
				
			||||||
 | 
					    "author": "Autor",
 | 
				
			||||||
 | 
					    "upToDateApps": "Aplicacions actualizades",
 | 
				
			||||||
 | 
					    "nonInstalledApps": "Aplicacions no instal·lades",
 | 
				
			||||||
 | 
					    "importExport": "Importa/exporta",
 | 
				
			||||||
 | 
					    "settings": "Paràmetres",
 | 
				
			||||||
 | 
					    "exportedTo": "Exportat a {}",
 | 
				
			||||||
 | 
					    "obtainiumExport": "Exporta Obtainium",
 | 
				
			||||||
 | 
					    "invalidInput": "Entrada no vàlida",
 | 
				
			||||||
 | 
					    "importedX": "Importat {}",
 | 
				
			||||||
 | 
					    "obtainiumImport": "Importa Obtainium",
 | 
				
			||||||
 | 
					    "importFromURLList": "Importa des de la llista d'URL",
 | 
				
			||||||
 | 
					    "searchQuery": "Terme de cerca",
 | 
				
			||||||
 | 
					    "appURLList": "Llista d'URL d'aplicacions",
 | 
				
			||||||
 | 
					    "line": "Línia",
 | 
				
			||||||
 | 
					    "searchX": "Cerca {}",
 | 
				
			||||||
 | 
					    "noResults": "No hi ha resultats",
 | 
				
			||||||
 | 
					    "importX": "Importa des de {}",
 | 
				
			||||||
 | 
					    "importedAppsIdDisclaimer": "Les aplicacions importades podrien mostrar-se incorrectament com a «No instal·lada».\nPer solventar-ho reinstal·la-les a través d'Obtainium.\nAixò no hauria d'afectar les dades de les aplicacions.\n\nNomés afecta els URL i els mètodes d'importació de tercers.",
 | 
				
			||||||
 | 
					    "importErrors": "Errors d'importació",
 | 
				
			||||||
 | 
					    "importedXOfYApps": "{} de {} aplicacions importades.",
 | 
				
			||||||
 | 
					    "followingURLsHadErrors": "Els següents URLs han tingut problemes:",
 | 
				
			||||||
 | 
					    "selectURL": "Selecciona URL",
 | 
				
			||||||
 | 
					    "selectURLs": "Selecciona URLs",
 | 
				
			||||||
 | 
					    "pick": "Escull",
 | 
				
			||||||
 | 
					    "theme": "Tema",
 | 
				
			||||||
 | 
					    "dark": "Fosc",
 | 
				
			||||||
 | 
					    "light": "Clar",
 | 
				
			||||||
 | 
					    "followSystem": "Segueix el sistema",
 | 
				
			||||||
 | 
					    "followSystemThemeExplanation": "Seguir el tema del sistema només és possible si uses aplicacions de tercers",
 | 
				
			||||||
 | 
					    "useBlackTheme": "Fes servir el negre pur en el tema fosc",
 | 
				
			||||||
 | 
					    "appSortBy": "Ordena les aplicacions per",
 | 
				
			||||||
 | 
					    "authorName": "Autor/nom",
 | 
				
			||||||
 | 
					    "nameAuthor": "Nom/Autor",
 | 
				
			||||||
 | 
					    "asAdded": "Per l'ordre en què es van afegir",
 | 
				
			||||||
 | 
					    "appSortOrder": "Per ordre de classificació",
 | 
				
			||||||
 | 
					    "ascending": "Ascendent",
 | 
				
			||||||
 | 
					    "descending": "Descendent",
 | 
				
			||||||
 | 
					    "bgUpdateCheckInterval": "Comprova les actualitzacions en segon pla",
 | 
				
			||||||
 | 
					    "neverManualOnly": "Mai, només manual",
 | 
				
			||||||
 | 
					    "appearance": "Aparença",
 | 
				
			||||||
 | 
					    "showWebInAppView": "Mostra el web d'origen en la vista de l'aplicació",
 | 
				
			||||||
 | 
					    "pinUpdates": "Ancora les actualitzacions al capdamunt de les aplicacions",
 | 
				
			||||||
 | 
					    "updates": "Actualitzacions",
 | 
				
			||||||
 | 
					    "sourceSpecific": "Font específica",
 | 
				
			||||||
 | 
					    "appSource": "Font de l'aplicació",
 | 
				
			||||||
 | 
					    "noLogs": "Cap registre",
 | 
				
			||||||
 | 
					    "appLogs": "Registres de l'aplicació",
 | 
				
			||||||
 | 
					    "close": "Tanca",
 | 
				
			||||||
 | 
					    "share": "Comparteix",
 | 
				
			||||||
 | 
					    "appNotFound": "No s'ha trobat l'aplicació",
 | 
				
			||||||
 | 
					    "obtainiumExportHyphenatedLowercase": "Exportació d'Obtainium",
 | 
				
			||||||
 | 
					    "pickAnAPK": "Escull una APK",
 | 
				
			||||||
 | 
					    "appHasMoreThanOnePackage": "{} té més d'un paquet:",
 | 
				
			||||||
 | 
					    "deviceSupportsXArch": "Aquest dispositiu admet l'aquitectura de CPU: {}.",
 | 
				
			||||||
 | 
					    "deviceSupportsFollowingArchs": "Aquest dispositiu admet les següents arquitectures de CPU:",
 | 
				
			||||||
 | 
					    "warning": "Avís",
 | 
				
			||||||
 | 
					    "sourceIsXButPackageFromYPrompt": "La font de l'aplicació és «{}» però el paquet de l'actualització ve de «{}». Vols continuar?",
 | 
				
			||||||
 | 
					    "updatesAvailable": "Actualitzacions disponibles",
 | 
				
			||||||
 | 
					    "updatesAvailableNotifDescription": "Notifica l'usuari que hi ha actualitzacions per a una o més aplicacions seguides per Obtainium",
 | 
				
			||||||
 | 
					    "noNewUpdates": "No hi ha noves actualitzacions.",
 | 
				
			||||||
 | 
					    "xHasAnUpdate": "{} té una actualització.",
 | 
				
			||||||
 | 
					    "appsUpdated": "Aplicacions actualitzades",
 | 
				
			||||||
 | 
					    "appsNotUpdated": "Error en actualitzar les aplicacions",
 | 
				
			||||||
 | 
					    "appsUpdatedNotifDescription": "Notifica l'usuari que una o més aplicacions s'han actualitzat en segon pla",
 | 
				
			||||||
 | 
					    "xWasUpdatedToY": "{} s'ha actualitzat a {}.",
 | 
				
			||||||
 | 
					    "xWasNotUpdatedToY": "Error en actualitzar {} a {}.",
 | 
				
			||||||
 | 
					    "errorCheckingUpdates": "Error en cercar actualitzacions",
 | 
				
			||||||
 | 
					    "errorCheckingUpdatesNotifDescription": "Una notificació que es mostra quan la comprovació d'actualizacions en segon pla ha fallat",
 | 
				
			||||||
 | 
					    "appsRemoved": "Aplicacions suprimides",
 | 
				
			||||||
 | 
					    "appsRemovedNotifDescription": "Notifica l'usuari que una o més aplicacions s'han suprimit per errors en carregar-les",
 | 
				
			||||||
 | 
					    "xWasRemovedDueToErrorY": "{} s'ha suprimit per aquest error: {}",
 | 
				
			||||||
 | 
					    "completeAppInstallation": "Instal·lació completa de l'aplicació",
 | 
				
			||||||
 | 
					    "obtainiumMustBeOpenToInstallApps": "Obtainium ha d'estar obert per poder instal·lar aplicacions",
 | 
				
			||||||
 | 
					    "completeAppInstallationNotifDescription": "Demana l'usuari de tornar a Obtainium per acabar d'instal·lar una aplicació",
 | 
				
			||||||
 | 
					    "checkingForUpdates": "S'estan cercant actualitzacions...",
 | 
				
			||||||
 | 
					    "checkingForUpdatesNotifDescription": "Notificació temporal que apareix en cercar actualitzacions",
 | 
				
			||||||
 | 
					    "pleaseAllowInstallPerm": "Permet que Obtainium instal·li aplicacions",
 | 
				
			||||||
 | 
					    "trackOnly": "Només per a seguiment",
 | 
				
			||||||
 | 
					    "errorWithHttpStatusCode": "Error {}",
 | 
				
			||||||
 | 
					    "versionCorrectionDisabled": "Correcció de versions desactivada (el plugin sembla que no funciona)",
 | 
				
			||||||
 | 
					    "unknown": "Desconegut",
 | 
				
			||||||
 | 
					    "none": "Cap",
 | 
				
			||||||
 | 
					    "never": "Mai",
 | 
				
			||||||
 | 
					    "latestVersionX": "Última versió: {}",
 | 
				
			||||||
 | 
					    "installedVersionX": "Versió instal·lada: {}",
 | 
				
			||||||
 | 
					    "lastUpdateCheckX": "Última comprovació d'actualització: {}",
 | 
				
			||||||
 | 
					    "remove": "Suprimeix",
 | 
				
			||||||
 | 
					    "yesMarkUpdated": "Sí, marca com a actualitzada",
 | 
				
			||||||
 | 
					    "fdroid": "Repositori oficial F-Droid",
 | 
				
			||||||
 | 
					    "appIdOrName": "ID o nom de l'aplicació",
 | 
				
			||||||
 | 
					    "appId": "ID de l'aplicació",
 | 
				
			||||||
 | 
					    "appWithIdOrNameNotFound": "No s'han trobat aplicacions amb aquest ID o nom",
 | 
				
			||||||
 | 
					    "reposHaveMultipleApps": "Els repositoris poden contenir diverses aplicacions",
 | 
				
			||||||
 | 
					    "fdroidThirdPartyRepo": "Repositori F-Droid de tercers",
 | 
				
			||||||
 | 
					    "install": "Instal·la",
 | 
				
			||||||
 | 
					    "markInstalled": "Marca com a instal·lada",
 | 
				
			||||||
 | 
					    "update": "Actualitza",
 | 
				
			||||||
 | 
					    "markUpdated": "Marca com a actualitzada",
 | 
				
			||||||
 | 
					    "additionalOptions": "Opcions addicionals",
 | 
				
			||||||
 | 
					    "disableVersionDetection": "Desactiva la detecció de versions",
 | 
				
			||||||
 | 
					    "noVersionDetectionExplanation": "Només has d'usar aquesta opció en les aplicacions en què la detecció de versions no funcioni correctament.",
 | 
				
			||||||
 | 
					    "downloadingX": "Descarregant {}",
 | 
				
			||||||
 | 
					    "downloadX": "Descarrega {}",
 | 
				
			||||||
 | 
					    "downloadedX": "Descarregada {}",
 | 
				
			||||||
 | 
					    "releaseAsset": "Recurs actualitzat",
 | 
				
			||||||
 | 
					    "downloadNotifDescription": "Notifica l'usuari del progrés de la descàrrega d'una aplicació",
 | 
				
			||||||
 | 
					    "noAPKFound": "No s'ha trobat l'APK",
 | 
				
			||||||
 | 
					    "noVersionDetection": "No s'han detectat versions",
 | 
				
			||||||
 | 
					    "categorize": "Categoritza",
 | 
				
			||||||
 | 
					    "categories": "Categories",
 | 
				
			||||||
 | 
					    "category": "Categoria",
 | 
				
			||||||
 | 
					    "noCategory": "No hi ha la categoria",
 | 
				
			||||||
 | 
					    "noCategories": "No hi ha les categories",
 | 
				
			||||||
 | 
					    "deleteCategoriesQuestion": "Suprimeixo les categories?",
 | 
				
			||||||
 | 
					    "categoryDeleteWarning": "Totes les aplicacions de les categories suprimides es marcaran com a no categoritzades.",
 | 
				
			||||||
 | 
					    "addCategory": "Afegeix una categoria",
 | 
				
			||||||
 | 
					    "label": "Nom",
 | 
				
			||||||
 | 
					    "language": "Idioma",
 | 
				
			||||||
 | 
					    "copiedToClipboard": "Copiat al porta-retalls",
 | 
				
			||||||
 | 
					    "storagePermissionDenied": "Permís d'emmagatzematge denegat",
 | 
				
			||||||
 | 
					    "selectedCategorizeWarning": "Açò substituirà els paràmetres de categorització per a les aplicacions selecionades.",
 | 
				
			||||||
 | 
					    "filterAPKsByRegEx": "Filtra les APKs per l'expressió regular",
 | 
				
			||||||
 | 
					    "removeFromObtainium": "Suprimeix d'Obtainium",
 | 
				
			||||||
 | 
					    "uninstallFromDevice": "Desinstal·la del dispositiu",
 | 
				
			||||||
 | 
					    "onlyWorksWithNonVersionDetectApps": "Només funciona per a aplicacions amb la detecció de versions desactivada.",
 | 
				
			||||||
 | 
					    "releaseDateAsVersion": "Usa la data de llançament com a cadena de la versió",
 | 
				
			||||||
 | 
					    "releaseTitleAsVersion": "Usa el títol com a cadena de la versió",
 | 
				
			||||||
 | 
					    "releaseDateAsVersionExplanation": "Aquest opció només s'hauria d'usar per a aplicacions en què la detecció de la versió no funciona correctament però disposem de la data de publicació.",
 | 
				
			||||||
 | 
					    "changes": "Canvis",
 | 
				
			||||||
 | 
					    "releaseDate": "Data de publicació",
 | 
				
			||||||
 | 
					    "importFromURLsInFile": "Importa els URLs des d'un fitxer (com ara OPML)",
 | 
				
			||||||
 | 
					    "versionDetectionExplanation": "Concilia la cadena de la versió amb la versió detectada del Sistema Operatiu",
 | 
				
			||||||
 | 
					    "versionDetection": "Detecció de la versió",
 | 
				
			||||||
 | 
					    "standardVersionDetection": "Detecció de la versió estàndard",
 | 
				
			||||||
 | 
					    "groupByCategory": "Agrupa per categories",
 | 
				
			||||||
 | 
					    "autoApkFilterByArch": "Intenta filtrar les APKs per l'aquitectura de la CPU, si és possible",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Intenta filtrar els enllaços per l'aquitectura de la CPU, si és possible",
 | 
				
			||||||
 | 
					    "overrideSource": "Força la font",
 | 
				
			||||||
 | 
					    "dontShowAgain": "No ho tornis a mostrar",
 | 
				
			||||||
 | 
					    "dontShowTrackOnlyWarnings": "No mostris avisos de les aplicacions 'només per a seguiment'",
 | 
				
			||||||
 | 
					    "dontShowAPKOriginWarnings": "No mostris avisos dels orígens de les APKs",
 | 
				
			||||||
 | 
					    "moveNonInstalledAppsToBottom": "Desplaça les aplicacions no instal·lades al capdavall de les aplicacions",
 | 
				
			||||||
 | 
					    "gitlabPATLabel": "Token d'accés personal a GitLab",
 | 
				
			||||||
 | 
					    "about": "Quant a",
 | 
				
			||||||
 | 
					    "requiresCredentialsInSettings": "{} requereix credencials addicionals (a Paràmetres)",
 | 
				
			||||||
 | 
					    "checkOnStart": "Comprova si hi ha actualitzacions en iniciar Obtainium",
 | 
				
			||||||
 | 
					    "tryInferAppIdFromCode": "Intenta deduir l'ID de l'aplicació des del codi font",
 | 
				
			||||||
 | 
					    "removeOnExternalUninstall": "Suprimeix de forma automàtica les aplicacions desinstal·lades externament",
 | 
				
			||||||
 | 
					    "pickHighestVersionCode": "Selecciona de forma automàtica la versió superior de l'APK",
 | 
				
			||||||
 | 
					    "checkUpdateOnDetailPage": "Comprova les actualitzacions en obrir la pàgina de detalls de l'aplicació",
 | 
				
			||||||
 | 
					    "disablePageTransitions": "Inhabilita les animacions de transició de pàgina",
 | 
				
			||||||
 | 
					    "reversePageTransitions": "Inverteix les animacions de transició de pàgina",
 | 
				
			||||||
 | 
					    "minStarCount": "Nombre mínim d'estrelles",
 | 
				
			||||||
 | 
					    "addInfoBelow": "Afegeix aquesta informació a sota.",
 | 
				
			||||||
 | 
					    "addInfoInSettings": "Afegeix aquesta informació a Paràmetres.",
 | 
				
			||||||
 | 
					    "githubSourceNote": "La limitació de peticions a GitHub es pot evitar amb una clau API.",
 | 
				
			||||||
 | 
					    "sortByLastLinkSegment": "Ordena per 'només el darrer fragment de l'enllaç'",
 | 
				
			||||||
 | 
					    "filterReleaseNotesByRegEx": "Filtra les notes de la publicació de la versió per una expressió regular",
 | 
				
			||||||
 | 
					    "customLinkFilterRegex": "Filtre personalitzat de l'enllaç de l'APK per una expressió regular (Per_defecte '.apk$')",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdated": "S'ha intentat l'actualització de l'aplicació",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdatedNotifDescription": "Notifica l'usuari que les actualitzacions per a una o més aplicacions podrien haver-se fet en segon pla",
 | 
				
			||||||
 | 
					    "xWasPossiblyUpdatedToY": "{} podria haver-se actualitzat a {}.",
 | 
				
			||||||
 | 
					    "enableBackgroundUpdates": "Habilita les actualizacions en segon pla",
 | 
				
			||||||
 | 
					    "backgroundUpdateReqsExplanation": "Les actualitzacions en segon pla és possible que no estiguin disponibles per a totes les aplicacions.",
 | 
				
			||||||
 | 
					    "backgroundUpdateLimitsExplanation": "Les instal·lacions en segon pla reexides només es poden comprovar amb Obtainium obert.",
 | 
				
			||||||
 | 
					    "verifyLatestTag": "Comprova l'etiqueta 'Latest' (última versió)",
 | 
				
			||||||
 | 
					    "intermediateLinkRegex": "Filtra per un enllaç 'intermediari' per anar-hi",
 | 
				
			||||||
 | 
					    "filterByLinkText": "Filtra els enllaços pel text de l'enllaç",
 | 
				
			||||||
 | 
					    "intermediateLinkNotFound": "No s'ha trobat l'enllaç intermediari",
 | 
				
			||||||
 | 
					    "intermediateLink": "Enllaç intermediari",
 | 
				
			||||||
 | 
					    "exemptFromBackgroundUpdates": "Exempta d'actualitzacions en segon pla (si han estat habilitades)",
 | 
				
			||||||
 | 
					    "bgUpdatesOnWiFiOnly": "Inhabilita les actualitzacions en segon pla sense Wi-Fi",
 | 
				
			||||||
 | 
					    "bgUpdatesWhileChargingOnly": "Inhabilita les actualitzacions en segon pla quan no s'estigui carregant el mòbil",
 | 
				
			||||||
 | 
					    "autoSelectHighestVersionCode": "Selecciona de forma automàtica la versió més recent de l'APK",
 | 
				
			||||||
 | 
					    "versionExtractionRegEx": "Extracció de la cadena de la versió amb una expressió regular",
 | 
				
			||||||
 | 
					    "trimVersionString": "Retalla la cadena de la versió amb una expressió regular",
 | 
				
			||||||
 | 
					    "matchGroupToUseForX": "Grup de coincidència a usar per a \"{}\"",
 | 
				
			||||||
 | 
					    "matchGroupToUse": "Grup de coincidència a usar per a l'extracció de la cadena de la versió amb una expressió regular",
 | 
				
			||||||
 | 
					    "highlightTouchTargets": "Ressalta els elements de selecció menys obvis",
 | 
				
			||||||
 | 
					    "pickExportDir": "Selecciona el directori d'exportació",
 | 
				
			||||||
 | 
					    "autoExportOnChanges": "Exporta automàticament quan hi hagi canvis",
 | 
				
			||||||
 | 
					    "includeSettings": "Inclou paràmetres",
 | 
				
			||||||
 | 
					    "filterVersionsByRegEx": "Filtra les versions per una expressió regular",
 | 
				
			||||||
 | 
					    "trySelectingSuggestedVersionCode": "Prova a seleccionar la versió de l'APK suggerida",
 | 
				
			||||||
 | 
					    "dontSortReleasesList": "Mantén l'ordre de publicació de l'API",
 | 
				
			||||||
 | 
					    "reverseSort": "Ordre invers",
 | 
				
			||||||
 | 
					    "takeFirstLink": "Usa el primer enllaç",
 | 
				
			||||||
 | 
					    "skipSort": "Omet l'ordre",
 | 
				
			||||||
 | 
					    "debugMenu": "Menú de depuració",
 | 
				
			||||||
 | 
					    "bgTaskStarted": "S'ha iniciat la tasca en segon pla (revisa-ho als registres).",
 | 
				
			||||||
 | 
					    "runBgCheckNow": "Executa la comprovació d'actualitzacions en segon pla",
 | 
				
			||||||
 | 
					    "versionExtractWholePage": "Aplica l'extracció de la cadena de la versió amb una expressió regular a tota la pàgina",
 | 
				
			||||||
 | 
					    "installing": "Instal·lant",
 | 
				
			||||||
 | 
					    "skipUpdateNotifications": "No notifiquis les actualitzacions",
 | 
				
			||||||
 | 
					    "updatesAvailableNotifChannel": "Actualitzacions disponibles",
 | 
				
			||||||
 | 
					    "appsUpdatedNotifChannel": "Aplicacions actualitzades",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdatedNotifChannel": "S'ha intentat actualitzar l'aplicació",
 | 
				
			||||||
 | 
					    "errorCheckingUpdatesNotifChannel": "Error en cercar actualitzacions",
 | 
				
			||||||
 | 
					    "appsRemovedNotifChannel": "Aplicacions suprimides",
 | 
				
			||||||
 | 
					    "downloadingXNotifChannel": "Descarregant {}",
 | 
				
			||||||
 | 
					    "completeAppInstallationNotifChannel": "Instal·lació finalitzada",
 | 
				
			||||||
 | 
					    "checkingForUpdatesNotifChannel": "S'estan cercant actualitzacions",
 | 
				
			||||||
 | 
					    "onlyCheckInstalledOrTrackOnlyApps": "Comprova les actualitzacions només per a aplicacions instal·lades o en seguiment",
 | 
				
			||||||
 | 
					    "supportFixedAPKURL": "Suport per als URLs fixos de l'APK",
 | 
				
			||||||
 | 
					    "selectX": "Selecciona {}",
 | 
				
			||||||
 | 
					    "parallelDownloads": "Permet les descàrregues paralel·les",
 | 
				
			||||||
 | 
					    "useShizuku": "Usa Shizuku o Sui per instal·lar",
 | 
				
			||||||
 | 
					    "shizukuBinderNotFound": "Shizuku no s'està executant",
 | 
				
			||||||
 | 
					    "shizukuOld": "Versió antiga de Shizuku (<11) - Actualitza-la",
 | 
				
			||||||
 | 
					    "shizukuOldAndroidWithADB": "Shizuku s'executa en Android < 8.1 amb ADB - Actualitza Android o usa Sui com a alternativa",
 | 
				
			||||||
 | 
					    "shizukuPretendToBeGooglePlay": "Defineix Google Play com a font d'instal·lació (si uses Shizuku)",
 | 
				
			||||||
 | 
					    "useSystemFont": "Usa la font del sistema",
 | 
				
			||||||
 | 
					    "useVersionCodeAsOSVersion": "Usa la versió de l'aplicació com a versió detectada del Sistema Operatiu",
 | 
				
			||||||
 | 
					    "requestHeader": "Capçalera de sol·licitud",
 | 
				
			||||||
 | 
					    "useLatestAssetDateAsReleaseDate": "Usa el darrer recurs carregat com a data de llançament",
 | 
				
			||||||
 | 
					    "defaultPseudoVersioningMethod": "Mètode de pseudo-versionat predeterminat",
 | 
				
			||||||
 | 
					    "partialAPKHash": "Hash de l'APK parcial",
 | 
				
			||||||
 | 
					    "APKLinkHash": "Hash de l'enllaç de l'APK",
 | 
				
			||||||
 | 
					    "directAPKLink": "Enllaç de l'APK directe",
 | 
				
			||||||
 | 
					    "pseudoVersionInUse": "S'està usant una pseudo-versió",
 | 
				
			||||||
 | 
					    "installed": "Instal·lada",
 | 
				
			||||||
 | 
					    "latest": "Versió més recent",
 | 
				
			||||||
 | 
					    "invertRegEx": "Inverteix l'expressió regular",
 | 
				
			||||||
 | 
					    "note": "Nota",
 | 
				
			||||||
 | 
					    "selfHostedNote": "El desplegable «{}» es pot usar per accedir a instàncies autoallotjades/personalitzades de qualsevol font.",
 | 
				
			||||||
 | 
					    "badDownload": "L'APK no s'ha pogut analitzar (incompatible o descàrrega parcial)",
 | 
				
			||||||
 | 
					    "beforeNewInstallsShareToAppVerifier": "Comparteix les aplicacions noves amb AppVerifier (si està instal·lat)",
 | 
				
			||||||
 | 
					    "appVerifierInstructionToast": "Comparteix amb AppVerifier i torna aquí quan estigui fet.",
 | 
				
			||||||
 | 
					    "wiki": "Ajuda/Wiki",
 | 
				
			||||||
 | 
					    "crowdsourcedConfigsLabel": "Configuració de les aplicacions crowdsourcing (usa-ho sota la teva responsabilitat)",
 | 
				
			||||||
 | 
					    "crowdsourcedConfigsShort": "Configuració de les aplicacions crowdsourcing",
 | 
				
			||||||
 | 
					    "allowInsecure": "Permet les sol·licituds HTTP insegures",
 | 
				
			||||||
 | 
					    "stayOneVersionBehind": "Roman a la versió anterior a l'última",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Auto-select first of multiple APKs",
 | 
				
			||||||
 | 
					    "refreshBeforeDownload": "Actualitza les dades de l'aplicació abans de descarregar-la",
 | 
				
			||||||
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Nom",
 | 
				
			||||||
 | 
					    "smartname": "Nom (smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Mètode d'ordenació",
 | 
				
			||||||
 | 
					    "welcome": "Benvinguda",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "La pàgina GitHub d'Obtainium enllaçada a sota conté enllaços a vídeos, articles, debats i altres recursos que t'ajudaran a entendre com usar l'aplicació.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Tingues present que les descàrregues en segon pla funcionaran millor si inhabilites l'optimització de bateria per a Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "No s'ha pogut suprimir el fitxer (intenta suprimir-lo manualment i torna-ho a provar): \"{}\"",
 | 
				
			||||||
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
 | 
					        "one": "¿Suprimeixo l'aplicació?",
 | 
				
			||||||
 | 
					        "other": "¿Suprimeixo les aplicacions?"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "tooManyRequestsTryAgainInMinutes": {
 | 
				
			||||||
 | 
					        "one": "Massa peticions (límit excedit), torna-hi en {} minut",
 | 
				
			||||||
 | 
					        "other": "Massa peticions (límit excedit), torna-hi en {} minuts"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "bgUpdateGotErrorRetryInMinutes": {
 | 
				
			||||||
 | 
					        "one": "La comprovació d'actualitzacions en segon pla ha trobat un {}, es tornarà a provar en {} minut",
 | 
				
			||||||
 | 
					        "other": "La comprovació d'actualitzacions en segon pla ha trobat un {}, es tornarà a provar en {} minuts"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "bgCheckFoundUpdatesWillNotifyIfNeeded": {
 | 
				
			||||||
 | 
					        "one": "La comprovació d'actualitzacions en segon pla ha trobat {} actualització, t'ho notificarem si cal",
 | 
				
			||||||
 | 
					        "other": "La comprovació d'actualitzacions en segon pla ha trobat {} actualitzacions, t'ho notificarem si cal"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "apps": {
 | 
				
			||||||
 | 
					        "one": "{} Aplicació",
 | 
				
			||||||
 | 
					        "other": "{} Aplicacions"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "url": {
 | 
				
			||||||
 | 
					        "one": "{} URL",
 | 
				
			||||||
 | 
					        "other": "{} URLs"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "minute": {
 | 
				
			||||||
 | 
					        "one": "{} Minut",
 | 
				
			||||||
 | 
					        "other": "{} Minuts"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "hour": {
 | 
				
			||||||
 | 
					        "one": "{} Hora",
 | 
				
			||||||
 | 
					        "other": "{} Hores"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "day": {
 | 
				
			||||||
 | 
					        "one": "{} Dia",
 | 
				
			||||||
 | 
					        "other": "{} Dies"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "clearedNLogsBeforeXAfterY": {
 | 
				
			||||||
 | 
					        "one": "Suprimit {n} registre (anterior a = {before}, posterior a = {after})",
 | 
				
			||||||
 | 
					        "other": "Suprimits {n} registres (anteriors a = {before}, posteriors a = {after})"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesAvailable": {
 | 
				
			||||||
 | 
					        "one": "{} i 1 aplicació més tenen actualitzacions.",
 | 
				
			||||||
 | 
					        "other": "{} i {} aplicacions més tenen actualitzacions."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesInstalled": {
 | 
				
			||||||
 | 
					        "one": "{} i 1 aplicació més s'han actualitzat.",
 | 
				
			||||||
 | 
					        "other": "{} i {} aplicacions més s'han actualitzat."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesFailed": {
 | 
				
			||||||
 | 
					        "one": "Error en actualitzar {} i 1 aplicació més.",
 | 
				
			||||||
 | 
					        "other": "No s'ha pogut actualizar {} i {} aplicacions més."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesPossiblyInstalled": {
 | 
				
			||||||
 | 
					        "one": "{} i 1 aplicació més podrien haver estat actualizades.",
 | 
				
			||||||
 | 
					        "other": "{} i {} aplicacions més podrien haver estat actualitzades."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "apk": {
 | 
				
			||||||
 | 
					        "one": "{} APK",
 | 
				
			||||||
 | 
					        "other": "{} APKs"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -36,7 +36,7 @@
 | 
				
			|||||||
    "trackOnlyAppDescription": "Aplikace je sledována kvůli aktualizacím, ale Obtainium ji nebude stahovat ani instalovat.",
 | 
					    "trackOnlyAppDescription": "Aplikace je sledována kvůli aktualizacím, ale Obtainium ji nebude stahovat ani instalovat.",
 | 
				
			||||||
    "cancelled": "Zrušeno",
 | 
					    "cancelled": "Zrušeno",
 | 
				
			||||||
    "appAlreadyAdded": "Aplikace již přidána",
 | 
					    "appAlreadyAdded": "Aplikace již přidána",
 | 
				
			||||||
    "alreadyUpToDateQuestion": "App already up to date?",
 | 
					    "alreadyUpToDateQuestion": "Aplikace je již aktualizovaná?",
 | 
				
			||||||
    "addApp": "Přidat aplikaci",
 | 
					    "addApp": "Přidat aplikaci",
 | 
				
			||||||
    "appSourceURL": "Zdrojová adresa URL aplikace",
 | 
					    "appSourceURL": "Zdrojová adresa URL aplikace",
 | 
				
			||||||
    "error": "Chyba",
 | 
					    "error": "Chyba",
 | 
				
			||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Standardní detekce verze",
 | 
					    "standardVersionDetection": "Standardní detekce verze",
 | 
				
			||||||
    "groupByCategory": "Seskupit podle kategorie",
 | 
					    "groupByCategory": "Seskupit podle kategorie",
 | 
				
			||||||
    "autoApkFilterByArch": "Pokud je to možné, pokuste se filtrovat soubory APK podle architektury procesoru",
 | 
					    "autoApkFilterByArch": "Pokud je to možné, pokuste se filtrovat soubory APK podle architektury procesoru",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Pokus o filtrování odkazů podle architektury procesoru, pokud je to možné.",
 | 
				
			||||||
    "overrideSource": "Přepsat zdroj",
 | 
					    "overrideSource": "Přepsat zdroj",
 | 
				
			||||||
    "dontShowAgain": "Nezobrazovat znovu",
 | 
					    "dontShowAgain": "Nezobrazovat znovu",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Nezobrazovat varování pro 'Jen sledované'",
 | 
					    "dontShowTrackOnlyWarnings": "Nezobrazovat varování pro 'Jen sledované'",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Konfigurace aplikací s využitím crowdsourcingu",
 | 
					    "crowdsourcedConfigsShort": "Konfigurace aplikací s využitím crowdsourcingu",
 | 
				
			||||||
    "allowInsecure": "Povolení nezabezpečených požadavků HTTP",
 | 
					    "allowInsecure": "Povolení nezabezpečených požadavků HTTP",
 | 
				
			||||||
    "stayOneVersionBehind": "Zůstaňte o jednu verzi pozadu za nejnovější",
 | 
					    "stayOneVersionBehind": "Zůstaňte o jednu verzi pozadu za nejnovější",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Automatický výběr prvního z více souborů APK",
 | 
				
			||||||
    "refreshBeforeDownload": "Obnovení údajů o aplikaci před stažením",
 | 
					    "refreshBeforeDownload": "Obnovení údajů o aplikaci před stažením",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Název",
 | 
				
			||||||
 | 
					    "smartname": "Název (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Metoda třídění",
 | 
				
			||||||
 | 
					    "welcome": "Vítejte na",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Níže odkazovaná stránka Obtainium GitHub obsahuje odkazy na videa, články, diskuse a další zdroje, které vám pomohou pochopit, jak aplikaci používat.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Všimněte si, že stahování na pozadí může fungovat spolehlivěji, pokud vypnete optimalizaci baterie operačního systému pro Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Soubor se nepodařilo odstranit (zkuste jej odstranit ručně a pak to zkuste znovu): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Odstranit Apku?",
 | 
					        "one": "Odstranit Apku?",
 | 
				
			||||||
        "other": "Odstranit Apky?"
 | 
					        "other": "Odstranit Apky?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Standard versionsregistrering",
 | 
					    "standardVersionDetection": "Standard versionsregistrering",
 | 
				
			||||||
    "groupByCategory": "Gruppér efter kategori",
 | 
					    "groupByCategory": "Gruppér efter kategori",
 | 
				
			||||||
    "autoApkFilterByArch": "Forsøg at filtrere APK'er efter CPU-arkitektur, hvis muligt",
 | 
					    "autoApkFilterByArch": "Forsøg at filtrere APK'er efter CPU-arkitektur, hvis muligt",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Forsøg at filtrere links efter CPU-arkitektur, hvis det er muligt",
 | 
				
			||||||
    "overrideSource": "Tilsidesæt kilde",
 | 
					    "overrideSource": "Tilsidesæt kilde",
 | 
				
			||||||
    "dontShowAgain": "Vis ikke igen",
 | 
					    "dontShowAgain": "Vis ikke igen",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Vis ikke 'Følg Kun'-advarsler",
 | 
					    "dontShowTrackOnlyWarnings": "Vis ikke 'Følg Kun'-advarsler",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Crowdsourcede app-konfigurationer",
 | 
					    "crowdsourcedConfigsShort": "Crowdsourcede app-konfigurationer",
 | 
				
			||||||
    "allowInsecure": "Tillad usikre HTTP-anmodninger",
 | 
					    "allowInsecure": "Tillad usikre HTTP-anmodninger",
 | 
				
			||||||
    "stayOneVersionBehind": "Forbliv én version bagud den seneste",
 | 
					    "stayOneVersionBehind": "Forbliv én version bagud den seneste",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Vælg automatisk den første af flere APK'er",
 | 
				
			||||||
    "refreshBeforeDownload": "Opdater app-detaljer før download",
 | 
					    "refreshBeforeDownload": "Opdater app-detaljer før download",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Navn",
 | 
				
			||||||
 | 
					    "smartname": "Navn (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sorteringsmetode",
 | 
				
			||||||
 | 
					    "welcome": "Velkommen",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Obtainiums GitHub-side, som der linkes til nedenfor, indeholder links til videoer, artikler, diskussioner og andre ressourcer, som kan hjælpe dig med at forstå, hvordan du bruger appen.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Bemærk, at baggrundsdownloads kan fungere mere pålideligt, hvis du deaktiverer OS-batterioptimering for Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Kunne ikke slette filen (prøv at slette den manuelt og prøv igen): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Fjern app?",
 | 
					        "one": "Fjern app?",
 | 
				
			||||||
        "other": "Fjern apps?"
 | 
					        "other": "Fjern apps?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Standardversionserkennung",
 | 
					    "standardVersionDetection": "Standardversionserkennung",
 | 
				
			||||||
    "groupByCategory": "Nach Kategorie gruppieren",
 | 
					    "groupByCategory": "Nach Kategorie gruppieren",
 | 
				
			||||||
    "autoApkFilterByArch": "Nach Möglichkeit versuchen, APKs nach CPU-Architektur zu filtern",
 | 
					    "autoApkFilterByArch": "Nach Möglichkeit versuchen, APKs nach CPU-Architektur zu filtern",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Versuchen Sie, Links nach CPU-Architektur zu filtern, wenn möglich",
 | 
				
			||||||
    "overrideSource": "Quelle überschreiben",
 | 
					    "overrideSource": "Quelle überschreiben",
 | 
				
			||||||
    "dontShowAgain": "Nicht noch einmal anzeigen",
 | 
					    "dontShowAgain": "Nicht noch einmal anzeigen",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Warnung für „Nur nachverfolgen“ nicht anzeigen",
 | 
					    "dontShowTrackOnlyWarnings": "Warnung für „Nur nachverfolgen“ nicht anzeigen",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Crowdsourced App-Konfigurationen",
 | 
					    "crowdsourcedConfigsShort": "Crowdsourced App-Konfigurationen",
 | 
				
			||||||
    "allowInsecure": "Unsichere HTTP-Anfragen zulassen",
 | 
					    "allowInsecure": "Unsichere HTTP-Anfragen zulassen",
 | 
				
			||||||
    "stayOneVersionBehind": "Eine Version hinter der neuesten Version bleiben",
 | 
					    "stayOneVersionBehind": "Eine Version hinter der neuesten Version bleiben",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Automatische Auswahl der ersten von mehreren APKs",
 | 
				
			||||||
    "refreshBeforeDownload": "App-Details vor dem Download aktualisieren",
 | 
					    "refreshBeforeDownload": "App-Details vor dem Download aktualisieren",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Name",
 | 
				
			||||||
 | 
					    "smartname": "Name (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sortierverfahren",
 | 
				
			||||||
 | 
					    "welcome": "Willkommen",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Die unten verlinkte GitHub-Seite von Obtainium enthält Links zu Videos, Artikeln, Diskussionen und anderen Ressourcen, die Ihnen helfen werden, die Verwendung der App zu verstehen.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Beachten Sie, dass Downloads im Hintergrund möglicherweise zuverlässiger funktionieren, wenn Sie die Batterieoptimierung des Betriebssystems für Obtainium deaktivieren.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Die Datei konnte nicht gelöscht werden (versuchen Sie, sie manuell zu löschen und versuchen Sie es dann erneut): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "App entfernen?",
 | 
					        "one": "App entfernen?",
 | 
				
			||||||
        "other": "Apps entfernen?"
 | 
					        "other": "Apps entfernen?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Norma versiodetekto",
 | 
					    "standardVersionDetection": "Norma versiodetekto",
 | 
				
			||||||
    "groupByCategory": "Grupigi per kategorio",
 | 
					    "groupByCategory": "Grupigi per kategorio",
 | 
				
			||||||
    "autoApkFilterByArch": "Provi filtri APKj per CPU-arkitekturo se ebla",
 | 
					    "autoApkFilterByArch": "Provi filtri APKj per CPU-arkitekturo se ebla",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Attempt to filter links by CPU architecture if possible",
 | 
				
			||||||
    "overrideSource": "Substitui la fonton",
 | 
					    "overrideSource": "Substitui la fonton",
 | 
				
			||||||
    "dontShowAgain": "Ne plu montri",
 | 
					    "dontShowAgain": "Ne plu montri",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Ne plu montri 'Nur sekvita' avertojn",
 | 
					    "dontShowTrackOnlyWarnings": "Ne plu montri 'Nur sekvita' avertojn",
 | 
				
			||||||
@@ -314,11 +315,21 @@
 | 
				
			|||||||
    "appVerifierInstructionToast": "Diskonigu kun AppVerifier, poste revenu ĉi tie kiam preta.",
 | 
					    "appVerifierInstructionToast": "Diskonigu kun AppVerifier, poste revenu ĉi tie kiam preta.",
 | 
				
			||||||
    "wiki": "Helpo/Vikio",
 | 
					    "wiki": "Helpo/Vikio",
 | 
				
			||||||
    "crowdsourcedConfigsLabel": "Komunumaj apo-agordoj (uzu kun singardo)",
 | 
					    "crowdsourcedConfigsLabel": "Komunumaj apo-agordoj (uzu kun singardo)",
 | 
				
			||||||
    "crowdsourcedConfigsShort": "Crowdsourced App Configs",
 | 
					    "crowdsourcedConfigsShort": "Crowdsourced App Configurations",
 | 
				
			||||||
    "allowInsecure": "Allow insecure HTTP requests",
 | 
					    "allowInsecure": "Allow insecure HTTP requests",
 | 
				
			||||||
    "stayOneVersionBehind": "Stay one version behind latest",
 | 
					    "stayOneVersionBehind": "Stay one version behind latest",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Auto-select first of multiple APKs",
 | 
				
			||||||
    "refreshBeforeDownload": "Refresh app details before download",
 | 
					    "refreshBeforeDownload": "Refresh app details before download",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Name",
 | 
				
			||||||
 | 
					    "smartname": "Name (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sort Method",
 | 
				
			||||||
 | 
					    "welcome": "Welcome",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Note that background downloads may work more reliably if you disable OS battery optimizations for Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Failed to delete file (try deleting it manually then try again): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Forigi la aplikaĵon?",
 | 
					        "one": "Forigi la aplikaĵon?",
 | 
				
			||||||
        "other": "Forigi la aplikaĵojn?"
 | 
					        "other": "Forigi la aplikaĵojn?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,110 +1,110 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "invalidURLForSource": "Not a valid {} App URL",
 | 
					    "invalidURLForSource": "Not a valid {} app URL",
 | 
				
			||||||
    "noReleaseFound": "Could not find a suitable release",
 | 
					    "noReleaseFound": "Could not find a suitable release",
 | 
				
			||||||
    "noVersionFound": "Could not determine release version",
 | 
					    "noVersionFound": "Could not determine release version",
 | 
				
			||||||
    "urlMatchesNoSource": "URL does not match a known source",
 | 
					    "urlMatchesNoSource": "URL does not match a known source",
 | 
				
			||||||
    "cantInstallOlderVersion": "Cannot install an older version of an App",
 | 
					    "cantInstallOlderVersion": "Cannot install an older version of an app",
 | 
				
			||||||
    "appIdMismatch": "Downloaded package ID does not match existing App ID",
 | 
					    "appIdMismatch": "Downloaded package ID does not match existing app ID",
 | 
				
			||||||
    "functionNotImplemented": "This class has not implemented this function",
 | 
					    "functionNotImplemented": "This class has not implemented this function",
 | 
				
			||||||
    "placeholder": "Placeholder",
 | 
					    "placeholder": "Placeholder",
 | 
				
			||||||
    "someErrors": "Some Errors Occurred",
 | 
					    "someErrors": "Some errors occurred",
 | 
				
			||||||
    "unexpectedError": "Unexpected Error",
 | 
					    "unexpectedError": "Unexpected error",
 | 
				
			||||||
    "ok": "Okay",
 | 
					    "ok": "Okay",
 | 
				
			||||||
    "and": "and",
 | 
					    "and": "and",
 | 
				
			||||||
    "githubPATLabel": "GitHub Personal Access Token (Increases Rate Limit)",
 | 
					    "githubPATLabel": "GitHub personal access token (increases rate limit)",
 | 
				
			||||||
    "includePrereleases": "Include prereleases",
 | 
					    "includePrereleases": "Include prereleases",
 | 
				
			||||||
    "fallbackToOlderReleases": "Fallback to older releases",
 | 
					    "fallbackToOlderReleases": "Fallback to older releases",
 | 
				
			||||||
    "filterReleaseTitlesByRegEx": "Filter Release Titles by Regular Expression",
 | 
					    "filterReleaseTitlesByRegEx": "Filter release titles by regular expression",
 | 
				
			||||||
    "invalidRegEx": "Invalid regular expression",
 | 
					    "invalidRegEx": "Invalid regular expression",
 | 
				
			||||||
    "noDescription": "No description",
 | 
					    "noDescription": "No description",
 | 
				
			||||||
    "cancel": "Cancel",
 | 
					    "cancel": "Cancel",
 | 
				
			||||||
    "continue": "Continue",
 | 
					    "continue": "Continue",
 | 
				
			||||||
    "requiredInBrackets": "(Required)",
 | 
					    "requiredInBrackets": "(required)",
 | 
				
			||||||
    "dropdownNoOptsError": "ERROR: DROPDOWN MUST HAVE AT LEAST ONE OPT",
 | 
					    "dropdownNoOptsError": "ERROR: DROPDOWN MUST HAVE AT LEAST ONE OPT",
 | 
				
			||||||
    "colour": "Colour",
 | 
					    "colour": "Colour",
 | 
				
			||||||
    "standard": "Standard",
 | 
					    "standard": "Standard",
 | 
				
			||||||
    "custom": "Custom",
 | 
					    "custom": "Custom",
 | 
				
			||||||
    "useMaterialYou": "Use Material You",
 | 
					    "useMaterialYou": "Use Material You",
 | 
				
			||||||
    "githubStarredRepos": "GitHub Starred Repos",
 | 
					    "githubStarredRepos": "GitHub starred repos",
 | 
				
			||||||
    "uname": "Username",
 | 
					    "uname": "Username",
 | 
				
			||||||
    "wrongArgNum": "Wrong number of arguments provided",
 | 
					    "wrongArgNum": "Wrong number of arguments provided",
 | 
				
			||||||
    "xIsTrackOnly": "{} is Track-Only",
 | 
					    "xIsTrackOnly": "{} is track-only",
 | 
				
			||||||
    "source": "Source",
 | 
					    "source": "Source",
 | 
				
			||||||
    "app": "App",
 | 
					    "app": "App",
 | 
				
			||||||
    "appsFromSourceAreTrackOnly": "Apps from this source are 'Track-Only'.",
 | 
					    "appsFromSourceAreTrackOnly": "Apps from this source are 'track-only'.",
 | 
				
			||||||
    "youPickedTrackOnly": "You have selected the 'Track-Only' option.",
 | 
					    "youPickedTrackOnly": "You have selected the 'track-only' option.",
 | 
				
			||||||
    "trackOnlyAppDescription": "The App will be tracked for updates, but Obtainium will not be able to download or install it.",
 | 
					    "trackOnlyAppDescription": "The app will be tracked for updates, but Obtainium will not be able to download or install it.",
 | 
				
			||||||
    "cancelled": "Cancelled",
 | 
					    "cancelled": "Cancelled",
 | 
				
			||||||
    "appAlreadyAdded": "App already added",
 | 
					    "appAlreadyAdded": "App already added",
 | 
				
			||||||
    "alreadyUpToDateQuestion": "App Already up to Date?",
 | 
					    "alreadyUpToDateQuestion": "App already up to date?",
 | 
				
			||||||
    "addApp": "Add App",
 | 
					    "addApp": "Add App",
 | 
				
			||||||
    "appSourceURL": "App Source URL",
 | 
					    "appSourceURL": "App source URL",
 | 
				
			||||||
    "error": "Error",
 | 
					    "error": "Error",
 | 
				
			||||||
    "add": "Add",
 | 
					    "add": "Add",
 | 
				
			||||||
    "searchSomeSourcesLabel": "Search (Some Sources Only)",
 | 
					    "searchSomeSourcesLabel": "Search (some sources only)",
 | 
				
			||||||
    "search": "Search",
 | 
					    "search": "Search",
 | 
				
			||||||
    "additionalOptsFor": "Additional Options for {}",
 | 
					    "additionalOptsFor": "Additional options for {}",
 | 
				
			||||||
    "supportedSources": "Supported Sources",
 | 
					    "supportedSources": "Supported sources",
 | 
				
			||||||
    "trackOnlyInBrackets": "(Track-Only)",
 | 
					    "trackOnlyInBrackets": "(track-only)",
 | 
				
			||||||
    "searchableInBrackets": "(Searchable)",
 | 
					    "searchableInBrackets": "(searchable)",
 | 
				
			||||||
    "appsString": "Apps",
 | 
					    "appsString": "Apps",
 | 
				
			||||||
    "noApps": "No Apps",
 | 
					    "noApps": "No apps",
 | 
				
			||||||
    "noAppsForFilter": "No Apps for Filter",
 | 
					    "noAppsForFilter": "No apps for filter",
 | 
				
			||||||
    "byX": "By {}",
 | 
					    "byX": "By {}",
 | 
				
			||||||
    "percentProgress": "Progress: {}%",
 | 
					    "percentProgress": "Progress: {}%",
 | 
				
			||||||
    "pleaseWait": "Please Wait",
 | 
					    "pleaseWait": "Please wait",
 | 
				
			||||||
    "updateAvailable": "Update Available",
 | 
					    "updateAvailable": "Update available",
 | 
				
			||||||
    "notInstalled": "Not Installed",
 | 
					    "notInstalled": "Not installed",
 | 
				
			||||||
    "pseudoVersion": "pseudo-version",
 | 
					    "pseudoVersion": "pseudo-version",
 | 
				
			||||||
    "selectAll": "Select All",
 | 
					    "selectAll": "Select all",
 | 
				
			||||||
    "deselectX": "Deselect {}",
 | 
					    "deselectX": "Deselect {}",
 | 
				
			||||||
    "xWillBeRemovedButRemainInstalled": "{} will be removed from Obtainium but remain installed on device.",
 | 
					    "xWillBeRemovedButRemainInstalled": "{} will be removed from Obtainium but remain installed on device.",
 | 
				
			||||||
    "removeSelectedAppsQuestion": "Remove Selected Apps?",
 | 
					    "removeSelectedAppsQuestion": "Remove selected apps?",
 | 
				
			||||||
    "removeSelectedApps": "Remove Selected Apps",
 | 
					    "removeSelectedApps": "Remove selected apps",
 | 
				
			||||||
    "updateX": "Update {}",
 | 
					    "updateX": "Update {}",
 | 
				
			||||||
    "installX": "Install {}",
 | 
					    "installX": "Install {}",
 | 
				
			||||||
    "markXTrackOnlyAsUpdated": "Mark {}\n(Track-Only)\nas Updated",
 | 
					    "markXTrackOnlyAsUpdated": "Mark {}\n(track-only)\nas updated",
 | 
				
			||||||
    "changeX": "Change {}",
 | 
					    "changeX": "Change {}",
 | 
				
			||||||
    "installUpdateApps": "Install/Update Apps",
 | 
					    "installUpdateApps": "Install/update apps",
 | 
				
			||||||
    "installUpdateSelectedApps": "Install/Update Selected Apps",
 | 
					    "installUpdateSelectedApps": "Install/update selected apps",
 | 
				
			||||||
    "markXSelectedAppsAsUpdated": "Mark {} Selected Apps as Updated?",
 | 
					    "markXSelectedAppsAsUpdated": "Mark {} selected apps as updated?",
 | 
				
			||||||
    "no": "No",
 | 
					    "no": "No",
 | 
				
			||||||
    "yes": "Yes",
 | 
					    "yes": "Yes",
 | 
				
			||||||
    "markSelectedAppsUpdated": "Mark Selected Apps as Updated",
 | 
					    "markSelectedAppsUpdated": "Mark selected apps as updated",
 | 
				
			||||||
    "pinToTop": "Pin to top",
 | 
					    "pinToTop": "Pin to top",
 | 
				
			||||||
    "unpinFromTop": "Unpin from top",
 | 
					    "unpinFromTop": "Unpin from top",
 | 
				
			||||||
    "resetInstallStatusForSelectedAppsQuestion": "Reset Install Status for Selected Apps?",
 | 
					    "resetInstallStatusForSelectedAppsQuestion": "Reset install status for selected apps?",
 | 
				
			||||||
    "installStatusOfXWillBeResetExplanation": "The install status of any selected Apps will be reset.\n\nThis can help when the App version shown in Obtainium is incorrect due to failed updates or other issues.",
 | 
					    "installStatusOfXWillBeResetExplanation": "The install status of any selected apps will be reset.\n\nThis can help when the app version shown in Obtainium is incorrect due to failed updates or other issues.",
 | 
				
			||||||
    "customLinkMessage": "These links work on devices with Obtainium installed",
 | 
					    "customLinkMessage": "These links work on devices with Obtainium installed",
 | 
				
			||||||
    "shareAppConfigLinks": "Share app configuration as HTML link",
 | 
					    "shareAppConfigLinks": "Share app configuration as HTML link",
 | 
				
			||||||
    "shareSelectedAppURLs": "Share Selected App URLs",
 | 
					    "shareSelectedAppURLs": "Share selected app URLs",
 | 
				
			||||||
    "resetInstallStatus": "Reset Install Status",
 | 
					    "resetInstallStatus": "Reset install status",
 | 
				
			||||||
    "more": "More",
 | 
					    "more": "More",
 | 
				
			||||||
    "removeOutdatedFilter": "Remove Out-of-Date App Filter",
 | 
					    "removeOutdatedFilter": "Remove out-of-date app filter",
 | 
				
			||||||
    "showOutdatedOnly": "Show Out-of-Date Apps Only",
 | 
					    "showOutdatedOnly": "Show out-of-date apps only",
 | 
				
			||||||
    "filter": "Filter",
 | 
					    "filter": "Filter",
 | 
				
			||||||
    "filterApps": "Filter Apps",
 | 
					    "filterApps": "Filter apps",
 | 
				
			||||||
    "appName": "App Name",
 | 
					    "appName": "App name",
 | 
				
			||||||
    "author": "Author",
 | 
					    "author": "Author",
 | 
				
			||||||
    "upToDateApps": "Up to Date Apps",
 | 
					    "upToDateApps": "Up to date apps",
 | 
				
			||||||
    "nonInstalledApps": "Non-Installed Apps",
 | 
					    "nonInstalledApps": "Non-installed apps",
 | 
				
			||||||
    "importExport": "Import/Export",
 | 
					    "importExport": "Import/Export",
 | 
				
			||||||
    "settings": "Settings",
 | 
					    "settings": "Settings",
 | 
				
			||||||
    "exportedTo": "Exported to {}",
 | 
					    "exportedTo": "Exported to {}",
 | 
				
			||||||
    "obtainiumExport": "Obtainium Export",
 | 
					    "obtainiumExport": "Obtainium export",
 | 
				
			||||||
    "invalidInput": "Invalid input",
 | 
					    "invalidInput": "Invalid input",
 | 
				
			||||||
    "importedX": "Imported {}",
 | 
					    "importedX": "Imported {}",
 | 
				
			||||||
    "obtainiumImport": "Obtainium Import",
 | 
					    "obtainiumImport": "Obtainium import",
 | 
				
			||||||
    "importFromURLList": "Import from URL List",
 | 
					    "importFromURLList": "Import from URL list",
 | 
				
			||||||
    "searchQuery": "Search Query",
 | 
					    "searchQuery": "Search query",
 | 
				
			||||||
    "appURLList": "App URL List",
 | 
					    "appURLList": "App URL list",
 | 
				
			||||||
    "line": "Line",
 | 
					    "line": "Line",
 | 
				
			||||||
    "searchX": "Search {}",
 | 
					    "searchX": "Search {}",
 | 
				
			||||||
    "noResults": "No results found",
 | 
					    "noResults": "No results found",
 | 
				
			||||||
    "importX": "Import {}",
 | 
					    "importX": "Import {}",
 | 
				
			||||||
    "importedAppsIdDisclaimer": "Imported Apps may incorrectly show as \"Not Installed\".\nTo fix this, re-install them through Obtainium.\nThis should not affect App data.\n\nOnly affects URL and third-party import methods.",
 | 
					    "importedAppsIdDisclaimer": "Imported apps may incorrectly show as \"not installed\".\nTo fix this, re-install them through Obtainium.\nThis should not affect app data.\n\nOnly affects URL and third-party import methods.",
 | 
				
			||||||
    "importErrors": "Import Errors",
 | 
					    "importErrors": "Import errors",
 | 
				
			||||||
    "importedXOfYApps": "{} of {} Apps imported.",
 | 
					    "importedXOfYApps": "{} of {} apps imported.",
 | 
				
			||||||
    "followingURLsHadErrors": "The following URLs had errors:",
 | 
					    "followingURLsHadErrors": "The following URLs had errors:",
 | 
				
			||||||
    "selectURL": "Select URL",
 | 
					    "selectURL": "Select URL",
 | 
				
			||||||
    "selectURLs": "Select URLs",
 | 
					    "selectURLs": "Select URLs",
 | 
				
			||||||
@@ -112,26 +112,26 @@
 | 
				
			|||||||
    "theme": "Theme",
 | 
					    "theme": "Theme",
 | 
				
			||||||
    "dark": "Dark",
 | 
					    "dark": "Dark",
 | 
				
			||||||
    "light": "Light",
 | 
					    "light": "Light",
 | 
				
			||||||
    "followSystem": "Follow System",
 | 
					    "followSystem": "Follow system",
 | 
				
			||||||
    "followSystemThemeExplanation": "Following system theme is possible only by using third-party applications",
 | 
					    "followSystemThemeExplanation": "Following system theme is possible only by using third-party applications",
 | 
				
			||||||
    "useBlackTheme": "Use pure black dark theme",
 | 
					    "useBlackTheme": "Use pure black dark theme",
 | 
				
			||||||
    "appSortBy": "App Sort By",
 | 
					    "appSortBy": "App sort by",
 | 
				
			||||||
    "authorName": "Author/Name",
 | 
					    "authorName": "Author/name",
 | 
				
			||||||
    "nameAuthor": "Name/Author",
 | 
					    "nameAuthor": "Name/author",
 | 
				
			||||||
    "asAdded": "As Added",
 | 
					    "asAdded": "As added",
 | 
				
			||||||
    "appSortOrder": "App Sort Order",
 | 
					    "appSortOrder": "App sort order",
 | 
				
			||||||
    "ascending": "Ascending",
 | 
					    "ascending": "Ascending",
 | 
				
			||||||
    "descending": "Descending",
 | 
					    "descending": "Descending",
 | 
				
			||||||
    "bgUpdateCheckInterval": "Background Update Checking Interval",
 | 
					    "bgUpdateCheckInterval": "Background update checking interval",
 | 
				
			||||||
    "neverManualOnly": "Never - Manual Only",
 | 
					    "neverManualOnly": "Never - manual only",
 | 
				
			||||||
    "appearance": "Appearance",
 | 
					    "appearance": "Appearance",
 | 
				
			||||||
    "showWebInAppView": "Show Source webpage in App view",
 | 
					    "showWebInAppView": "Show source webpage in app view",
 | 
				
			||||||
    "pinUpdates": "Pin updates to top of Apps view",
 | 
					    "pinUpdates": "Pin updates to top of apps view",
 | 
				
			||||||
    "updates": "Updates",
 | 
					    "updates": "Updates",
 | 
				
			||||||
    "sourceSpecific": "Source-Specific",
 | 
					    "sourceSpecific": "Source-specific",
 | 
				
			||||||
    "appSource": "App Source",
 | 
					    "appSource": "App source",
 | 
				
			||||||
    "noLogs": "No Logs",
 | 
					    "noLogs": "No logs",
 | 
				
			||||||
    "appLogs": "App Logs",
 | 
					    "appLogs": "App logs",
 | 
				
			||||||
    "close": "Close",
 | 
					    "close": "Close",
 | 
				
			||||||
    "share": "Share",
 | 
					    "share": "Share",
 | 
				
			||||||
    "appNotFound": "App not found",
 | 
					    "appNotFound": "App not found",
 | 
				
			||||||
@@ -141,28 +141,28 @@
 | 
				
			|||||||
    "deviceSupportsXArch": "Your device supports the {} CPU architecture.",
 | 
					    "deviceSupportsXArch": "Your device supports the {} CPU architecture.",
 | 
				
			||||||
    "deviceSupportsFollowingArchs": "Your device supports the following CPU architectures:",
 | 
					    "deviceSupportsFollowingArchs": "Your device supports the following CPU architectures:",
 | 
				
			||||||
    "warning": "Warning",
 | 
					    "warning": "Warning",
 | 
				
			||||||
    "sourceIsXButPackageFromYPrompt": "The App source is '{}' but the release package comes from '{}'. Continue?",
 | 
					    "sourceIsXButPackageFromYPrompt": "The app source is '{}' but the release package comes from '{}'. Continue?",
 | 
				
			||||||
    "updatesAvailable": "Updates Available",
 | 
					    "updatesAvailable": "Updates available",
 | 
				
			||||||
    "updatesAvailableNotifDescription": "Notifies the user that updates are available for one or more Apps tracked by Obtainium",
 | 
					    "updatesAvailableNotifDescription": "Notifies the user that updates are available for one or more apps tracked by Obtainium",
 | 
				
			||||||
    "noNewUpdates": "No new updates.",
 | 
					    "noNewUpdates": "No new updates.",
 | 
				
			||||||
    "xHasAnUpdate": "{} has an update.",
 | 
					    "xHasAnUpdate": "{} has an update.",
 | 
				
			||||||
    "appsUpdated": "Apps Updated",
 | 
					    "appsUpdated": "Apps updated",
 | 
				
			||||||
    "appsNotUpdated": "Failed to update applications",
 | 
					    "appsNotUpdated": "Failed to update applications",
 | 
				
			||||||
    "appsUpdatedNotifDescription": "Notifies the user that updates to one or more Apps were applied in the background",
 | 
					    "appsUpdatedNotifDescription": "Notifies the user that updates to one or more apps were applied in the background",
 | 
				
			||||||
    "xWasUpdatedToY": "{} was updated to {}.",
 | 
					    "xWasUpdatedToY": "{} was updated to {}.",
 | 
				
			||||||
    "xWasNotUpdatedToY": "Failed to update {} to {}.",
 | 
					    "xWasNotUpdatedToY": "Failed to update {} to {}.",
 | 
				
			||||||
    "errorCheckingUpdates": "Error Checking for Updates",
 | 
					    "errorCheckingUpdates": "Error checking for updates",
 | 
				
			||||||
    "errorCheckingUpdatesNotifDescription": "A notification that shows when background update checking fails",
 | 
					    "errorCheckingUpdatesNotifDescription": "A notification that shows when background update checking fails",
 | 
				
			||||||
    "appsRemoved": "Apps Removed",
 | 
					    "appsRemoved": "Apps removed",
 | 
				
			||||||
    "appsRemovedNotifDescription": "Notifies the user that one or more Apps were removed due to errors while loading them",
 | 
					    "appsRemovedNotifDescription": "Notifies the user that one or more apps were removed due to errors while loading them",
 | 
				
			||||||
    "xWasRemovedDueToErrorY": "{} was removed due to this error: {}",
 | 
					    "xWasRemovedDueToErrorY": "{} was removed due to this error: {}",
 | 
				
			||||||
    "completeAppInstallation": "Complete App Installation",
 | 
					    "completeAppInstallation": "Complete app installation",
 | 
				
			||||||
    "obtainiumMustBeOpenToInstallApps": "Obtainium must be open to install Apps",
 | 
					    "obtainiumMustBeOpenToInstallApps": "Obtainium must be open to install apps",
 | 
				
			||||||
    "completeAppInstallationNotifDescription": "Asks the user to return to Obtainium to finish installing an App",
 | 
					    "completeAppInstallationNotifDescription": "Asks the user to return to Obtainium to finish installing an app",
 | 
				
			||||||
    "checkingForUpdates": "Checking for Updates",
 | 
					    "checkingForUpdates": "Checking for updates",
 | 
				
			||||||
    "checkingForUpdatesNotifDescription": "Transient notification that appears when checking for updates",
 | 
					    "checkingForUpdatesNotifDescription": "Transient notification that appears when checking for updates",
 | 
				
			||||||
    "pleaseAllowInstallPerm": "Please allow Obtainium to install Apps",
 | 
					    "pleaseAllowInstallPerm": "Please allow Obtainium to install apps",
 | 
				
			||||||
    "trackOnly": "Track-Only",
 | 
					    "trackOnly": "Track-only",
 | 
				
			||||||
    "errorWithHttpStatusCode": "Error {}",
 | 
					    "errorWithHttpStatusCode": "Error {}",
 | 
				
			||||||
    "versionCorrectionDisabled": "Version correction disabled (plugin doesn't seem to work)",
 | 
					    "versionCorrectionDisabled": "Version correction disabled (plugin doesn't seem to work)",
 | 
				
			||||||
    "unknown": "Unknown",
 | 
					    "unknown": "Unknown",
 | 
				
			||||||
@@ -170,87 +170,88 @@
 | 
				
			|||||||
    "never": "Never",
 | 
					    "never": "Never",
 | 
				
			||||||
    "latestVersionX": "Latest: {}",
 | 
					    "latestVersionX": "Latest: {}",
 | 
				
			||||||
    "installedVersionX": "Installed: {}",
 | 
					    "installedVersionX": "Installed: {}",
 | 
				
			||||||
    "lastUpdateCheckX": "Last Update Check: {}",
 | 
					    "lastUpdateCheckX": "Last update check: {}",
 | 
				
			||||||
    "remove": "Remove",
 | 
					    "remove": "Remove",
 | 
				
			||||||
    "yesMarkUpdated": "Yes, Mark as Updated",
 | 
					    "yesMarkUpdated": "Yes, mark as updated",
 | 
				
			||||||
    "fdroid": "F-Droid Official",
 | 
					    "fdroid": "F-Droid official",
 | 
				
			||||||
    "appIdOrName": "App ID or Name",
 | 
					    "appIdOrName": "App ID or name",
 | 
				
			||||||
    "appId": "App ID",
 | 
					    "appId": "App ID",
 | 
				
			||||||
    "appWithIdOrNameNotFound": "No App was found with that ID or Name",
 | 
					    "appWithIdOrNameNotFound": "No app was found with that ID or name",
 | 
				
			||||||
    "reposHaveMultipleApps": "Repos may contain multiple Apps",
 | 
					    "reposHaveMultipleApps": "Repos may contain multiple apps",
 | 
				
			||||||
    "fdroidThirdPartyRepo": "F-Droid Third-Party Repo",
 | 
					    "fdroidThirdPartyRepo": "F-Droid third-party repo",
 | 
				
			||||||
    "install": "Install",
 | 
					    "install": "Install",
 | 
				
			||||||
    "markInstalled": "Mark Installed",
 | 
					    "markInstalled": "Mark installed",
 | 
				
			||||||
    "update": "Update",
 | 
					    "update": "Update",
 | 
				
			||||||
    "markUpdated": "Mark Updated",
 | 
					    "markUpdated": "Mark updated",
 | 
				
			||||||
    "additionalOptions": "Additional Options",
 | 
					    "additionalOptions": "Additional options",
 | 
				
			||||||
    "disableVersionDetection": "Disable Version Detection",
 | 
					    "disableVersionDetection": "Disable version detection",
 | 
				
			||||||
    "noVersionDetectionExplanation": "This option should only be used for Apps where version detection does not work correctly.",
 | 
					    "noVersionDetectionExplanation": "This option should only be used for apps where version detection does not work correctly.",
 | 
				
			||||||
    "downloadingX": "Downloading {}",
 | 
					    "downloadingX": "Downloading {}",
 | 
				
			||||||
    "downloadX": "Download {}",
 | 
					    "downloadX": "Download {}",
 | 
				
			||||||
    "downloadedX": "Downloaded {}",
 | 
					    "downloadedX": "Downloaded {}",
 | 
				
			||||||
    "releaseAsset": "Release Asset",
 | 
					    "releaseAsset": "Release asset",
 | 
				
			||||||
    "downloadNotifDescription": "Notifies the user of the progress in downloading an App",
 | 
					    "downloadNotifDescription": "Notifies the user of the progress in downloading an app",
 | 
				
			||||||
    "noAPKFound": "No APK found",
 | 
					    "noAPKFound": "No APK found",
 | 
				
			||||||
    "noVersionDetection": "No version detection",
 | 
					    "noVersionDetection": "No version detection",
 | 
				
			||||||
    "categorize": "Categorize",
 | 
					    "categorize": "Categorize",
 | 
				
			||||||
    "categories": "Categories",
 | 
					    "categories": "Categories",
 | 
				
			||||||
    "category": "Category",
 | 
					    "category": "Category",
 | 
				
			||||||
    "noCategory": "No Category",
 | 
					    "noCategory": "No category",
 | 
				
			||||||
    "noCategories": "No Categories",
 | 
					    "noCategories": "No categories",
 | 
				
			||||||
    "deleteCategoriesQuestion": "Delete Categories?",
 | 
					    "deleteCategoriesQuestion": "Delete categories?",
 | 
				
			||||||
    "categoryDeleteWarning": "All Apps in deleted categories will be set to uncategorized.",
 | 
					    "categoryDeleteWarning": "All apps in deleted categories will be set to uncategorized.",
 | 
				
			||||||
    "addCategory": "Add Category",
 | 
					    "addCategory": "Add category",
 | 
				
			||||||
    "label": "Label",
 | 
					    "label": "Label",
 | 
				
			||||||
    "language": "Language",
 | 
					    "language": "Language",
 | 
				
			||||||
    "copiedToClipboard": "Copied to Clipboard",
 | 
					    "copiedToClipboard": "Copied to clipboard",
 | 
				
			||||||
    "storagePermissionDenied": "Storage permission denied",
 | 
					    "storagePermissionDenied": "Storage permission denied",
 | 
				
			||||||
    "selectedCategorizeWarning": "This will replace any existing category settings for the selected Apps.",
 | 
					    "selectedCategorizeWarning": "This will replace any existing category settings for the selected apps.",
 | 
				
			||||||
    "filterAPKsByRegEx": "Filter APKs by Regular Expression",
 | 
					    "filterAPKsByRegEx": "Filter APKs by regular expression",
 | 
				
			||||||
    "removeFromObtainium": "Remove from Obtainium",
 | 
					    "removeFromObtainium": "Remove from Obtainium",
 | 
				
			||||||
    "uninstallFromDevice": "Uninstall from Device",
 | 
					    "uninstallFromDevice": "Uninstall from device",
 | 
				
			||||||
    "onlyWorksWithNonVersionDetectApps": "Only works for Apps with version detection disabled.",
 | 
					    "onlyWorksWithNonVersionDetectApps": "Only works for apps with version detection disabled.",
 | 
				
			||||||
    "releaseDateAsVersion": "Use release date as version string",
 | 
					    "releaseDateAsVersion": "Use release date as version string",
 | 
				
			||||||
    "releaseTitleAsVersion": "Use release title as version string",
 | 
					    "releaseTitleAsVersion": "Use release title as version string",
 | 
				
			||||||
    "releaseDateAsVersionExplanation": "This option should only be used for Apps where version detection does not work correctly, but a release date is available.",
 | 
					    "releaseDateAsVersionExplanation": "This option should only be used for apps where version detection does not work correctly, but a release date is available.",
 | 
				
			||||||
    "changes": "Changes",
 | 
					    "changes": "Changes",
 | 
				
			||||||
    "releaseDate": "Release Date",
 | 
					    "releaseDate": "Release date",
 | 
				
			||||||
    "importFromURLsInFile": "Import from URLs in File (like OPML)",
 | 
					    "importFromURLsInFile": "Import from URLs in file (like OPML)",
 | 
				
			||||||
    "versionDetectionExplanation": "Reconcile version string with version detected from OS",
 | 
					    "versionDetectionExplanation": "Reconcile version string with version detected from OS",
 | 
				
			||||||
    "versionDetection": "Version Detection",
 | 
					    "versionDetection": "Version detection",
 | 
				
			||||||
    "standardVersionDetection": "Standard version detection",
 | 
					    "standardVersionDetection": "Standard version detection",
 | 
				
			||||||
    "groupByCategory": "Group by Category",
 | 
					    "groupByCategory": "Group by category",
 | 
				
			||||||
    "autoApkFilterByArch": "Attempt to filter APKs by CPU architecture if possible",
 | 
					    "autoApkFilterByArch": "Attempt to filter APKs by CPU architecture if possible",
 | 
				
			||||||
    "overrideSource": "Override Source",
 | 
					    "autoLinkFilterByArch": "Attempt to filter links by CPU architecture if possible",
 | 
				
			||||||
 | 
					    "overrideSource": "Override source",
 | 
				
			||||||
    "dontShowAgain": "Don't show this again",
 | 
					    "dontShowAgain": "Don't show this again",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Don't show 'Track-Only' warnings",
 | 
					    "dontShowTrackOnlyWarnings": "Don't show 'track-only' warnings",
 | 
				
			||||||
    "dontShowAPKOriginWarnings": "Don't show APK origin warnings",
 | 
					    "dontShowAPKOriginWarnings": "Don't show APK origin warnings",
 | 
				
			||||||
    "moveNonInstalledAppsToBottom": "Move non-installed Apps to bottom of Apps view",
 | 
					    "moveNonInstalledAppsToBottom": "Move non-installed apps to bottom of apps view",
 | 
				
			||||||
    "gitlabPATLabel": "GitLab Personal Access Token",
 | 
					    "gitlabPATLabel": "GitLab personal access token",
 | 
				
			||||||
    "about": "About",
 | 
					    "about": "About",
 | 
				
			||||||
    "requiresCredentialsInSettings": "{} needs additional credentials (in Settings)",
 | 
					    "requiresCredentialsInSettings": "{} needs additional credentials (in Settings)",
 | 
				
			||||||
    "checkOnStart": "Check for updates on startup",
 | 
					    "checkOnStart": "Check for updates on startup",
 | 
				
			||||||
    "tryInferAppIdFromCode": "Try inferring App ID from source code",
 | 
					    "tryInferAppIdFromCode": "Try inferring app ID from source code",
 | 
				
			||||||
    "removeOnExternalUninstall": "Automatically remove externally uninstalled Apps",
 | 
					    "removeOnExternalUninstall": "Automatically remove externally uninstalled apps",
 | 
				
			||||||
    "pickHighestVersionCode": "Auto-select highest version code APK",
 | 
					    "pickHighestVersionCode": "Auto-select highest version code APK",
 | 
				
			||||||
    "checkUpdateOnDetailPage": "Check for updates on opening an App detail page",
 | 
					    "checkUpdateOnDetailPage": "Check for updates on opening an app detail page",
 | 
				
			||||||
    "disablePageTransitions": "Disable page transition animations",
 | 
					    "disablePageTransitions": "Disable page transition animations",
 | 
				
			||||||
    "reversePageTransitions": "Reverse page transition animations",
 | 
					    "reversePageTransitions": "Reverse page transition animations",
 | 
				
			||||||
    "minStarCount": "Minimum Star Count",
 | 
					    "minStarCount": "Minimum star count",
 | 
				
			||||||
    "addInfoBelow": "Add this info below.",
 | 
					    "addInfoBelow": "Add this info below.",
 | 
				
			||||||
    "addInfoInSettings": "Add this info in the Settings.",
 | 
					    "addInfoInSettings": "Add this info in the Settings.",
 | 
				
			||||||
    "githubSourceNote": "GitHub rate limiting can be avoided using an API key.",
 | 
					    "githubSourceNote": "GitHub rate limiting can be avoided using an API key.",
 | 
				
			||||||
    "sortByLastLinkSegment": "Sort by only the last segment of the link",
 | 
					    "sortByLastLinkSegment": "Sort by only the last segment of the link",
 | 
				
			||||||
    "filterReleaseNotesByRegEx": "Filter Release Notes by Regular Expression",
 | 
					    "filterReleaseNotesByRegEx": "Filter release notes by regular expression",
 | 
				
			||||||
    "customLinkFilterRegex": "Custom APK Link Filter by Regular Expression (Default '.apk$')",
 | 
					    "customLinkFilterRegex": "Custom APK link filter by regular expression (default '.apk$')",
 | 
				
			||||||
    "appsPossiblyUpdated": "App Updates Attempted",
 | 
					    "appsPossiblyUpdated": "App updates attempted",
 | 
				
			||||||
    "appsPossiblyUpdatedNotifDescription": "Notifies the user that updates to one or more Apps were potentially applied in the background",
 | 
					    "appsPossiblyUpdatedNotifDescription": "Notifies the user that updates to one or more apps were potentially applied in the background",
 | 
				
			||||||
    "xWasPossiblyUpdatedToY": "{} may have been updated to {}.",
 | 
					    "xWasPossiblyUpdatedToY": "{} may have been updated to {}.",
 | 
				
			||||||
    "enableBackgroundUpdates": "Enable background updates",
 | 
					    "enableBackgroundUpdates": "Enable background updates",
 | 
				
			||||||
    "backgroundUpdateReqsExplanation": "Background updates may not be possible for all apps.",
 | 
					    "backgroundUpdateReqsExplanation": "Background updates may not be possible for all apps.",
 | 
				
			||||||
    "backgroundUpdateLimitsExplanation": "The success of a background install can only be determined when Obtainium is opened.",
 | 
					    "backgroundUpdateLimitsExplanation": "The success of a background install can only be determined when Obtainium is opened.",
 | 
				
			||||||
    "verifyLatestTag": "Verify the 'latest' tag",
 | 
					    "verifyLatestTag": "Verify the 'latest' tag",
 | 
				
			||||||
    "intermediateLinkRegex": "Filter for an 'Intermediate' Link to Visit",
 | 
					    "intermediateLinkRegex": "Filter for an 'intermediate' link to visit",
 | 
				
			||||||
    "filterByLinkText": "Filter links by link text",
 | 
					    "filterByLinkText": "Filter links by link text",
 | 
				
			||||||
    "intermediateLinkNotFound": "Intermediate link not found",
 | 
					    "intermediateLinkNotFound": "Intermediate link not found",
 | 
				
			||||||
    "intermediateLink": "Intermediate link",
 | 
					    "intermediateLink": "Intermediate link",
 | 
				
			||||||
@@ -258,35 +259,35 @@
 | 
				
			|||||||
    "bgUpdatesOnWiFiOnly": "Disable background updates when not on Wi-Fi",
 | 
					    "bgUpdatesOnWiFiOnly": "Disable background updates when not on Wi-Fi",
 | 
				
			||||||
    "bgUpdatesWhileChargingOnly": "Disable background updates when not charging",
 | 
					    "bgUpdatesWhileChargingOnly": "Disable background updates when not charging",
 | 
				
			||||||
    "autoSelectHighestVersionCode": "Auto-select highest versionCode APK",
 | 
					    "autoSelectHighestVersionCode": "Auto-select highest versionCode APK",
 | 
				
			||||||
    "versionExtractionRegEx": "Version String Extraction RegEx",
 | 
					    "versionExtractionRegEx": "Version string extraction RegEx",
 | 
				
			||||||
    "trimVersionString": "Trim Version String With RegEx",
 | 
					    "trimVersionString": "Trim version string with RegEx",
 | 
				
			||||||
    "matchGroupToUseForX": "Match Group to Use for \"{}\"",
 | 
					    "matchGroupToUseForX": "Match group to use for \"{}\"",
 | 
				
			||||||
    "matchGroupToUse": "Match Group to Use for Version String Extraction RegEx",
 | 
					    "matchGroupToUse": "Match group to use for version string extraction RegEx",
 | 
				
			||||||
    "highlightTouchTargets": "Highlight less obvious touch targets",
 | 
					    "highlightTouchTargets": "Highlight less obvious touch targets",
 | 
				
			||||||
    "pickExportDir": "Pick Export Directory",
 | 
					    "pickExportDir": "Pick export directory",
 | 
				
			||||||
    "autoExportOnChanges": "Auto-export on changes",
 | 
					    "autoExportOnChanges": "Automatically export on changes",
 | 
				
			||||||
    "includeSettings": "Include settings",
 | 
					    "includeSettings": "Include settings",
 | 
				
			||||||
    "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",
 | 
					    "dontSortReleasesList": "Retain release order from API",
 | 
				
			||||||
    "reverseSort": "Reverse sorting",
 | 
					    "reverseSort": "Reverse sorting",
 | 
				
			||||||
    "takeFirstLink": "Take first link",
 | 
					    "takeFirstLink": "Take first link",
 | 
				
			||||||
    "skipSort": "Skip sorting",
 | 
					    "skipSort": "Skip sorting",
 | 
				
			||||||
    "debugMenu": "Debug Menu",
 | 
					    "debugMenu": "Debug menu",
 | 
				
			||||||
    "bgTaskStarted": "Background task started - check logs.",
 | 
					    "bgTaskStarted": "Background task started - check logs.",
 | 
				
			||||||
    "runBgCheckNow": "Run Background Update Check Now",
 | 
					    "runBgCheckNow": "Run background update check now",
 | 
				
			||||||
    "versionExtractWholePage": "Apply version string extraction Regex to entire page",
 | 
					    "versionExtractWholePage": "Apply version string extraction Regex to entire page",
 | 
				
			||||||
    "installing": "Installing",
 | 
					    "installing": "Installing",
 | 
				
			||||||
    "skipUpdateNotifications": "Skip update notifications",
 | 
					    "skipUpdateNotifications": "Skip update notifications",
 | 
				
			||||||
    "updatesAvailableNotifChannel": "Updates Available",
 | 
					    "updatesAvailableNotifChannel": "Updates available",
 | 
				
			||||||
    "appsUpdatedNotifChannel": "Apps Updated",
 | 
					    "appsUpdatedNotifChannel": "Apps updated",
 | 
				
			||||||
    "appsPossiblyUpdatedNotifChannel": "App Updates Attempted",
 | 
					    "appsPossiblyUpdatedNotifChannel": "App updates attempted",
 | 
				
			||||||
    "errorCheckingUpdatesNotifChannel": "Error Checking for Updates",
 | 
					    "errorCheckingUpdatesNotifChannel": "Error checking for updates",
 | 
				
			||||||
    "appsRemovedNotifChannel": "Apps Removed",
 | 
					    "appsRemovedNotifChannel": "Apps removed",
 | 
				
			||||||
    "downloadingXNotifChannel": "Downloading {}",
 | 
					    "downloadingXNotifChannel": "Downloading {}",
 | 
				
			||||||
    "completeAppInstallationNotifChannel": "Complete App Installation",
 | 
					    "completeAppInstallationNotifChannel": "Complete app installation",
 | 
				
			||||||
    "checkingForUpdatesNotifChannel": "Checking for Updates",
 | 
					    "checkingForUpdatesNotifChannel": "Checking for updates",
 | 
				
			||||||
    "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates",
 | 
					    "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and track-only apps for updates",
 | 
				
			||||||
    "supportFixedAPKURL": "Support fixed APK URLs",
 | 
					    "supportFixedAPKURL": "Support fixed APK URLs",
 | 
				
			||||||
    "selectX": "Select {}",
 | 
					    "selectX": "Select {}",
 | 
				
			||||||
    "parallelDownloads": "Allow parallel downloads",
 | 
					    "parallelDownloads": "Allow parallel downloads",
 | 
				
			||||||
@@ -299,29 +300,39 @@
 | 
				
			|||||||
    "useVersionCodeAsOSVersion": "Use app versionCode as OS-detected version",
 | 
					    "useVersionCodeAsOSVersion": "Use app versionCode as OS-detected version",
 | 
				
			||||||
    "requestHeader": "Request header",
 | 
					    "requestHeader": "Request header",
 | 
				
			||||||
    "useLatestAssetDateAsReleaseDate": "Use latest asset upload as release date",
 | 
					    "useLatestAssetDateAsReleaseDate": "Use latest asset upload as release date",
 | 
				
			||||||
    "defaultPseudoVersioningMethod": "Default Pseudo-Versioning Method",
 | 
					    "defaultPseudoVersioningMethod": "Default pseudo-versioning method",
 | 
				
			||||||
    "partialAPKHash": "Partial APK Hash",
 | 
					    "partialAPKHash": "Partial APK hash",
 | 
				
			||||||
    "APKLinkHash": "APK Link Hash",
 | 
					    "APKLinkHash": "APK link hash",
 | 
				
			||||||
    "directAPKLink": "Direct APK Link",
 | 
					    "directAPKLink": "Direct APK link",
 | 
				
			||||||
    "pseudoVersionInUse": "A Pseudo-Version is in Use",
 | 
					    "pseudoVersionInUse": "A pseudo-version is in use",
 | 
				
			||||||
    "installed": "Installed",
 | 
					    "installed": "Installed",
 | 
				
			||||||
    "latest": "Latest",
 | 
					    "latest": "Latest",
 | 
				
			||||||
    "invertRegEx": "Invert regular expression",
 | 
					    "invertRegEx": "Invert regular expression",
 | 
				
			||||||
    "note": "Note",
 | 
					    "note": "Note",
 | 
				
			||||||
    "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.",
 | 
					    "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.",
 | 
				
			||||||
    "badDownload": "The APK could not be parsed (incompatible or partial download)",
 | 
					    "badDownload": "The APK could not be parsed (incompatible or partial download)",
 | 
				
			||||||
    "beforeNewInstallsShareToAppVerifier": "Share new Apps with AppVerifier (if available)",
 | 
					    "beforeNewInstallsShareToAppVerifier": "Share new apps with AppVerifier (if available)",
 | 
				
			||||||
    "appVerifierInstructionToast": "Share to AppVerifier, then return here when ready.",
 | 
					    "appVerifierInstructionToast": "Share to AppVerifier, then return here when ready.",
 | 
				
			||||||
    "wiki": "Help/Wiki",
 | 
					    "wiki": "Help/Wiki",
 | 
				
			||||||
    "crowdsourcedConfigsLabel": "Crowdsourced App Configurations (use at your own risk)",
 | 
					    "crowdsourcedConfigsLabel": "Crowdsourced app configurations (use at your own risk)",
 | 
				
			||||||
    "crowdsourcedConfigsShort": "Crowdsourced App Configs",
 | 
					    "crowdsourcedConfigsShort": "Crowdsourced app configurations",
 | 
				
			||||||
    "allowInsecure": "Allow insecure HTTP requests",
 | 
					    "allowInsecure": "Allow insecure HTTP requests",
 | 
				
			||||||
    "stayOneVersionBehind": "Stay one version behind latest",
 | 
					    "stayOneVersionBehind": "Stay one version behind latest",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Auto-select first of multiple APKs",
 | 
				
			||||||
    "refreshBeforeDownload": "Refresh app details before download",
 | 
					    "refreshBeforeDownload": "Refresh app details before download",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Name",
 | 
				
			||||||
 | 
					    "smartname": "Name (smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sort method",
 | 
				
			||||||
 | 
					    "welcome": "Welcome",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Note that background downloads may work more reliably if you disable OS battery optimizations for Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Failed to delete file (try deleting it manually then try again): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Remove App?",
 | 
					        "one": "Remove app?",
 | 
				
			||||||
        "other": "Remove Apps?"
 | 
					        "other": "Remove apps?"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "tooManyRequestsTryAgainInMinutes": {
 | 
					    "tooManyRequestsTryAgainInMinutes": {
 | 
				
			||||||
        "one": "Too many requests (rate limited) - try again in {} minute",
 | 
					        "one": "Too many requests (rate limited) - try again in {} minute",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Por versión",
 | 
					    "standardVersionDetection": "Por versión",
 | 
				
			||||||
    "groupByCategory": "Agrupar por categorías",
 | 
					    "groupByCategory": "Agrupar por categorías",
 | 
				
			||||||
    "autoApkFilterByArch": "Filtrar APK por arquitectura del procesador (si es posible)",
 | 
					    "autoApkFilterByArch": "Filtrar APK por arquitectura del procesador (si es posible)",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Intente filtrar los enlaces por arquitectura de CPU si es posible",
 | 
				
			||||||
    "overrideSource": "Forzar desde la fuente",
 | 
					    "overrideSource": "Forzar desde la fuente",
 | 
				
			||||||
    "dontShowAgain": "No mostrar de nuevo",
 | 
					    "dontShowAgain": "No mostrar de nuevo",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "No mostrar avisos sobre apps 'solo para seguimiento'",
 | 
					    "dontShowTrackOnlyWarnings": "No mostrar avisos sobre apps 'solo para seguimiento'",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Configuración de aplicaciones por crowdsourcing",
 | 
					    "crowdsourcedConfigsShort": "Configuración de aplicaciones por crowdsourcing",
 | 
				
			||||||
    "allowInsecure": "Permitir peticiones HTTP inseguras",
 | 
					    "allowInsecure": "Permitir peticiones HTTP inseguras",
 | 
				
			||||||
    "stayOneVersionBehind": "Mantenerse una versión por detrás de la última",
 | 
					    "stayOneVersionBehind": "Mantenerse una versión por detrás de la última",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Auto-selección del primero de múltiples APKs",
 | 
				
			||||||
    "refreshBeforeDownload": "Actualiza los datos de la aplicación antes de descargarla",
 | 
					    "refreshBeforeDownload": "Actualiza los datos de la aplicación antes de descargarla",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Nombre",
 | 
				
			||||||
 | 
					    "smartname": "Nombre (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Método de clasificación",
 | 
				
			||||||
 | 
					    "welcome": "Bienvenido",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "La página GitHub de Obtainium enlazada a continuación contiene enlaces a vídeos, artículos, debates y otros recursos que te ayudarán a entender cómo utilizar la aplicación.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Ten en cuenta que las descargas en segundo plano pueden funcionar de forma más fiable si desactivas las optimizaciones de batería del sistema operativo para Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "No se ha podido eliminar el archivo (intente eliminarlo manualmente y vuelva a intentarlo): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "¿Eliminar aplicación?",
 | 
					        "one": "¿Eliminar aplicación?",
 | 
				
			||||||
        "other": "¿Eliminar aplicaciones?"
 | 
					        "other": "¿Eliminar aplicaciones?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "تشخیص نسخه استاندارد",
 | 
					    "standardVersionDetection": "تشخیص نسخه استاندارد",
 | 
				
			||||||
    "groupByCategory": "گروه بر اساس دسته",
 | 
					    "groupByCategory": "گروه بر اساس دسته",
 | 
				
			||||||
    "autoApkFilterByArch": "در صورت امکان سعی کنید APKها را بر اساس معماری CPU فیلتر کنید",
 | 
					    "autoApkFilterByArch": "در صورت امکان سعی کنید APKها را بر اساس معماری CPU فیلتر کنید",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Attempt to filter links by CPU architecture if possible",
 | 
				
			||||||
    "overrideSource": "نادیده گرفتن منبع",
 | 
					    "overrideSource": "نادیده گرفتن منبع",
 | 
				
			||||||
    "dontShowAgain": "دوباره این را نشان نده",
 | 
					    "dontShowAgain": "دوباره این را نشان نده",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "هشدار 'فقط ردیابی' را نشان ندهید",
 | 
					    "dontShowTrackOnlyWarnings": "هشدار 'فقط ردیابی' را نشان ندهید",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "تنظیمات برنامه های مشارکت جمعی",
 | 
					    "crowdsourcedConfigsShort": "تنظیمات برنامه های مشارکت جمعی",
 | 
				
			||||||
    "allowInsecure": "درخواست های HTTP ناامن را مجاز کنید",
 | 
					    "allowInsecure": "درخواست های HTTP ناامن را مجاز کنید",
 | 
				
			||||||
    "stayOneVersionBehind": "یک نسخه از آخرین نسخه پشت سر بگذارید",
 | 
					    "stayOneVersionBehind": "یک نسخه از آخرین نسخه پشت سر بگذارید",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Auto-select first of multiple APKs",
 | 
				
			||||||
    "refreshBeforeDownload": "قبل از دانلود، جزئیات برنامه را بازخوانی کنید",
 | 
					    "refreshBeforeDownload": "قبل از دانلود، جزئیات برنامه را بازخوانی کنید",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Name",
 | 
				
			||||||
 | 
					    "smartname": "Name (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sort Method",
 | 
				
			||||||
 | 
					    "welcome": "Welcome",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Note that background downloads may work more reliably if you disable OS battery optimizations for Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Failed to delete file (try deleting it manually then try again): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "برنامه حذف شود؟",
 | 
					        "one": "برنامه حذف شود؟",
 | 
				
			||||||
        "other": "برنامه ها حذف شوند؟"
 | 
					        "other": "برنامه ها حذف شوند؟"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,11 +9,11 @@
 | 
				
			|||||||
    "placeholder": "Espace réservé",
 | 
					    "placeholder": "Espace réservé",
 | 
				
			||||||
    "someErrors": "Des erreurs sont survenues",
 | 
					    "someErrors": "Des erreurs sont survenues",
 | 
				
			||||||
    "unexpectedError": "Erreur inattendue",
 | 
					    "unexpectedError": "Erreur inattendue",
 | 
				
			||||||
    "ok": "Ok",
 | 
					    "ok": "OK",
 | 
				
			||||||
    "and": "et",
 | 
					    "and": "et",
 | 
				
			||||||
    "githubPATLabel": "Jeton d'accès personnel GitHub (augmente la limite de débit)",
 | 
					    "githubPATLabel": "Jeton d'accès personnel GitHub (augmente la limite de débit)",
 | 
				
			||||||
    "includePrereleases": "Inclure les versions préliminaires",
 | 
					    "includePrereleases": "Inclure les versions préliminaires",
 | 
				
			||||||
    "fallbackToOlderReleases": "Retour aux anciennes versions",
 | 
					    "fallbackToOlderReleases": "Revenir aux anciennes versions",
 | 
				
			||||||
    "filterReleaseTitlesByRegEx": "Filtrer les titres de version par expression régulière",
 | 
					    "filterReleaseTitlesByRegEx": "Filtrer les titres de version par expression régulière",
 | 
				
			||||||
    "invalidRegEx": "Expression régulière invalide",
 | 
					    "invalidRegEx": "Expression régulière invalide",
 | 
				
			||||||
    "noDescription": "Aucune description",
 | 
					    "noDescription": "Aucune description",
 | 
				
			||||||
@@ -30,13 +30,13 @@
 | 
				
			|||||||
    "wrongArgNum": "Nombre incorrect des arguments fournis",
 | 
					    "wrongArgNum": "Nombre incorrect des arguments fournis",
 | 
				
			||||||
    "xIsTrackOnly": "{} en Suivi uniquement",
 | 
					    "xIsTrackOnly": "{} en Suivi uniquement",
 | 
				
			||||||
    "source": "source",
 | 
					    "source": "source",
 | 
				
			||||||
    "app": "Application",
 | 
					    "app": "Appli",
 | 
				
			||||||
    "appsFromSourceAreTrackOnly": "Les applications de cette source sont en 'Suivi uniquement'.",
 | 
					    "appsFromSourceAreTrackOnly": "Les applications de cette source sont en 'Suivi uniquement'.",
 | 
				
			||||||
    "youPickedTrackOnly": "Vous avez sélectionné l'option 'Suivi uniquement'.",
 | 
					    "youPickedTrackOnly": "Vous avez sélectionné l'option 'Suivi uniquement'.",
 | 
				
			||||||
    "trackOnlyAppDescription": "L'application sera suivie pour les mises à jour, mais Obtainium ne pourra pas la télécharger ou l'installer.",
 | 
					    "trackOnlyAppDescription": "L'application sera suivie pour les mises à jour, mais Obtainium ne pourra pas la télécharger ou l'installer.",
 | 
				
			||||||
    "cancelled": "Annulé",
 | 
					    "cancelled": "Annulé",
 | 
				
			||||||
    "appAlreadyAdded": "Application déjà ajoutée",
 | 
					    "appAlreadyAdded": "Application déjà ajoutée",
 | 
				
			||||||
    "alreadyUpToDateQuestion": "L'application est à jour?",
 | 
					    "alreadyUpToDateQuestion": "L'application est déjà à jour?",
 | 
				
			||||||
    "addApp": "Ajouter appli",
 | 
					    "addApp": "Ajouter appli",
 | 
				
			||||||
    "appSourceURL": "URL source de l'application",
 | 
					    "appSourceURL": "URL source de l'application",
 | 
				
			||||||
    "error": "Erreur",
 | 
					    "error": "Erreur",
 | 
				
			||||||
@@ -47,30 +47,30 @@
 | 
				
			|||||||
    "supportedSources": "Sources prises en charge",
 | 
					    "supportedSources": "Sources prises en charge",
 | 
				
			||||||
    "trackOnlyInBrackets": "(Suivi uniquement)",
 | 
					    "trackOnlyInBrackets": "(Suivi uniquement)",
 | 
				
			||||||
    "searchableInBrackets": "(Interrogeable)",
 | 
					    "searchableInBrackets": "(Interrogeable)",
 | 
				
			||||||
    "appsString": "Applications",
 | 
					    "appsString": "Applis",
 | 
				
			||||||
    "noApps": "Aucune application",
 | 
					    "noApps": "Aucune application",
 | 
				
			||||||
    "noAppsForFilter": "Aucune application à filtrer",
 | 
					    "noAppsForFilter": "Aucune application correspondant au filtre",
 | 
				
			||||||
    "byX": "Par {}",
 | 
					    "byX": "Par {}",
 | 
				
			||||||
    "percentProgress": "Progression : {}%",
 | 
					    "percentProgress": "Progression : {}%",
 | 
				
			||||||
    "pleaseWait": "Veuillez patienter",
 | 
					    "pleaseWait": "Veuillez patienter",
 | 
				
			||||||
    "updateAvailable": "Mise à jour disponible",
 | 
					    "updateAvailable": "Mise à jour disponible",
 | 
				
			||||||
    "notInstalled": "Non installé",
 | 
					    "notInstalled": "Non installée",
 | 
				
			||||||
    "pseudoVersion": "Version fictive",
 | 
					    "pseudoVersion": "Version fictive",
 | 
				
			||||||
    "selectAll": "Tout sélectionner",
 | 
					    "selectAll": "Tout sélectionner",
 | 
				
			||||||
    "deselectX": "Déselectionner {}",
 | 
					    "deselectX": "Désélectionner {}",
 | 
				
			||||||
    "xWillBeRemovedButRemainInstalled": "{} sera supprimée d'Obtainium mais restera installée sur l'appareil.",
 | 
					    "xWillBeRemovedButRemainInstalled": "{} sera supprimée d'Obtainium mais restera installée sur l'appareil.",
 | 
				
			||||||
    "removeSelectedAppsQuestion": "Supprimer les applications sélectionnées ?",
 | 
					    "removeSelectedAppsQuestion": "Supprimer les applications sélectionnées ?",
 | 
				
			||||||
    "removeSelectedApps": "Supprimer les applications sélectionnées",
 | 
					    "removeSelectedApps": "Supprimer les applications sélectionnées",
 | 
				
			||||||
    "updateX": "Mettre à jour {}",
 | 
					    "updateX": "Mettre à jour {}",
 | 
				
			||||||
    "installX": "Installer {}",
 | 
					    "installX": "Installer {}",
 | 
				
			||||||
    "markXTrackOnlyAsUpdated": "Marquer {}\n(Suivi uniquement)\ncomme étant à jour",
 | 
					    "markXTrackOnlyAsUpdated": "Marquer {}\n(Suivi uniquement)\ncomme étant à jour",
 | 
				
			||||||
    "changeX": "Changer {}",
 | 
					    "changeX": "Modifier {}",
 | 
				
			||||||
    "installUpdateApps": "Installer/Mettre à jour les applications",
 | 
					    "installUpdateApps": "Installer/Mettre à jour les applications",
 | 
				
			||||||
    "installUpdateSelectedApps": "Installer/Mettre à jour les applications sélectionnées",
 | 
					    "installUpdateSelectedApps": "Installer/Mettre à jour les applications sélectionnées",
 | 
				
			||||||
    "markXSelectedAppsAsUpdated": "Marquer les {} applications sélectionnées comme étant à jour ?",
 | 
					    "markXSelectedAppsAsUpdated": "Marquer les {} applications sélectionnées comme étant à jour ?",
 | 
				
			||||||
    "no": "Non",
 | 
					    "no": "Non",
 | 
				
			||||||
    "yes": "Oui",
 | 
					    "yes": "Oui",
 | 
				
			||||||
    "markSelectedAppsUpdated": "Marquer les application sélectionnées comme étant à jour",
 | 
					    "markSelectedAppsUpdated": "Marquer les applications sélectionnées comme étant à jour",
 | 
				
			||||||
    "pinToTop": "Épingler en haut",
 | 
					    "pinToTop": "Épingler en haut",
 | 
				
			||||||
    "unpinFromTop": "Désépingler du haut",
 | 
					    "unpinFromTop": "Désépingler du haut",
 | 
				
			||||||
    "resetInstallStatusForSelectedAppsQuestion": "Réinitialiser l'état d'installation des applications sélectionnées ?",
 | 
					    "resetInstallStatusForSelectedAppsQuestion": "Réinitialiser l'état d'installation des applications sélectionnées ?",
 | 
				
			||||||
@@ -88,7 +88,7 @@
 | 
				
			|||||||
    "author": "Auteur",
 | 
					    "author": "Auteur",
 | 
				
			||||||
    "upToDateApps": "Applications à jour",
 | 
					    "upToDateApps": "Applications à jour",
 | 
				
			||||||
    "nonInstalledApps": "Applications non installées",
 | 
					    "nonInstalledApps": "Applications non installées",
 | 
				
			||||||
    "importExport": "Importer/exporter",
 | 
					    "importExport": "Import/Export",
 | 
				
			||||||
    "settings": "Paramètres",
 | 
					    "settings": "Paramètres",
 | 
				
			||||||
    "exportedTo": "Exporté vers {}",
 | 
					    "exportedTo": "Exporté vers {}",
 | 
				
			||||||
    "obtainiumExport": "Exporter la configuration d'Obtainium",
 | 
					    "obtainiumExport": "Exporter la configuration d'Obtainium",
 | 
				
			||||||
@@ -97,24 +97,24 @@
 | 
				
			|||||||
    "obtainiumImport": "Importer la configuration sur Obtainium",
 | 
					    "obtainiumImport": "Importer la configuration sur Obtainium",
 | 
				
			||||||
    "importFromURLList": "Importer depuis une liste d'URL",
 | 
					    "importFromURLList": "Importer depuis une liste d'URL",
 | 
				
			||||||
    "searchQuery": "Requête de recherche",
 | 
					    "searchQuery": "Requête de recherche",
 | 
				
			||||||
    "appURLList": "Liste d'URL de l'application",
 | 
					    "appURLList": "Liste d'URL des applications",
 | 
				
			||||||
    "line": "Ligne",
 | 
					    "line": "Ligne",
 | 
				
			||||||
    "searchX": "Sélectionner {}",
 | 
					    "searchX": "Rechercher {}",
 | 
				
			||||||
    "noResults": "Aucun résultat",
 | 
					    "noResults": "Aucun résultat",
 | 
				
			||||||
    "importX": "Importation de {}",
 | 
					    "importX": "Importation de {}",
 | 
				
			||||||
    "importedAppsIdDisclaimer": "Les applications importées peuvent s'afficher de manière incorrecte comme étant \"Non installées\".\nPour résoudre ce problème, réinstallez-les via Obtainium.\nCela n'affectera pas les données des applications.\n\nN'affecte que les méthodes d'importation d'URL et par des tiers.",
 | 
					    "importedAppsIdDisclaimer": "Les applications importées peuvent s'afficher de manière incorrecte comme étant \"Non installées\".\nPour résoudre ce problème, réinstallez-les via Obtainium.\nCela n'affectera pas les données des applications.\n\nCela n'affecte que les méthodes d'importation d'URL et par des tiers.",
 | 
				
			||||||
    "importErrors": "Erreurs lors de l'importation",
 | 
					    "importErrors": "Erreurs lors de l'importation",
 | 
				
			||||||
    "importedXOfYApps": "{} applications sur {} ont été importés.",
 | 
					    "importedXOfYApps": "{} applications sur {} ont été importées.",
 | 
				
			||||||
    "followingURLsHadErrors": "Les URL suivants comportent des erreurs :",
 | 
					    "followingURLsHadErrors": "Les URL suivantes comportent des erreurs :",
 | 
				
			||||||
    "selectURL": "Sélectionner l'URL",
 | 
					    "selectURL": "Sélectionner l'URL",
 | 
				
			||||||
    "selectURLs": "Sélectionner les URL",
 | 
					    "selectURLs": "Sélectionner les URL",
 | 
				
			||||||
    "pick": "Choisir",
 | 
					    "pick": "Choisir",
 | 
				
			||||||
    "theme": "Thème",
 | 
					    "theme": "Thème",
 | 
				
			||||||
    "dark": "Sombre",
 | 
					    "dark": "Sombre",
 | 
				
			||||||
    "light": "Clair",
 | 
					    "light": "Clair",
 | 
				
			||||||
    "followSystem": "Correspondre au système",
 | 
					    "followSystem": "Suivre le système",
 | 
				
			||||||
    "followSystemThemeExplanation": "Correspondre au thème du système est possible en utilisant des applications tierces.",
 | 
					    "followSystemThemeExplanation": "Suivre le thème du système est possible en utilisant des applications tierces.",
 | 
				
			||||||
    "useBlackTheme": "Utiliser un thème Noir",
 | 
					    "useBlackTheme": "Utiliser un thème noir",
 | 
				
			||||||
    "appSortBy": "Trier les applications par",
 | 
					    "appSortBy": "Trier les applications par",
 | 
				
			||||||
    "authorName": "Auteur/Nom",
 | 
					    "authorName": "Auteur/Nom",
 | 
				
			||||||
    "nameAuthor": "Nom/Auteur",
 | 
					    "nameAuthor": "Nom/Auteur",
 | 
				
			||||||
@@ -136,10 +136,10 @@
 | 
				
			|||||||
    "share": "Partager",
 | 
					    "share": "Partager",
 | 
				
			||||||
    "appNotFound": "Application introuvable",
 | 
					    "appNotFound": "Application introuvable",
 | 
				
			||||||
    "obtainiumExportHyphenatedLowercase": "export-obtainium",
 | 
					    "obtainiumExportHyphenatedLowercase": "export-obtainium",
 | 
				
			||||||
    "pickAnAPK": "Selectionner un APK",
 | 
					    "pickAnAPK": "Sélectionner un APK",
 | 
				
			||||||
    "appHasMoreThanOnePackage": "{} a plus d'un paquet :",
 | 
					    "appHasMoreThanOnePackage": "{} a plus d'un paquet :",
 | 
				
			||||||
    "deviceSupportsXArch": "Votre appareil prend en charge l'architecture CPU {}.",
 | 
					    "deviceSupportsXArch": "Votre appareil prend en charge l'architecture CPU {}.",
 | 
				
			||||||
    "deviceSupportsFollowingArchs": "Votre appareil prend en charge les architectures CPU suivants: ",
 | 
					    "deviceSupportsFollowingArchs": "Votre appareil prend en charge les architectures CPU suivantes : ",
 | 
				
			||||||
    "warning": "Avertissement",
 | 
					    "warning": "Avertissement",
 | 
				
			||||||
    "sourceIsXButPackageFromYPrompt": "La source de l'application est '{}' mais le paquet de mise à jour provient de '{}'. Continuer ?",
 | 
					    "sourceIsXButPackageFromYPrompt": "La source de l'application est '{}' mais le paquet de mise à jour provient de '{}'. Continuer ?",
 | 
				
			||||||
    "updatesAvailable": "Mises à jour disponibles",
 | 
					    "updatesAvailable": "Mises à jour disponibles",
 | 
				
			||||||
@@ -149,7 +149,7 @@
 | 
				
			|||||||
    "appsUpdated": "Applications mises à jour",
 | 
					    "appsUpdated": "Applications mises à jour",
 | 
				
			||||||
    "appsNotUpdated": "Échec de la mise à jour des applications",
 | 
					    "appsNotUpdated": "Échec de la mise à jour des applications",
 | 
				
			||||||
    "appsUpdatedNotifDescription": "Notifie à l'utilisateur que des mises à jour d'une ou plusieurs applications ont été installées en arrière-plan.",
 | 
					    "appsUpdatedNotifDescription": "Notifie à l'utilisateur que des mises à jour d'une ou plusieurs applications ont été installées en arrière-plan.",
 | 
				
			||||||
    "xWasUpdatedToY": "{} a été mis à jour en {}.",
 | 
					    "xWasUpdatedToY": "{} a été mise à jour vers {}.",
 | 
				
			||||||
    "xWasNotUpdatedToY": "Échec de la mise à jour de {} vers {}.",
 | 
					    "xWasNotUpdatedToY": "Échec de la mise à jour de {} vers {}.",
 | 
				
			||||||
    "errorCheckingUpdates": "Erreur lors de la recherche de mises à jour",
 | 
					    "errorCheckingUpdates": "Erreur lors de la recherche de mises à jour",
 | 
				
			||||||
    "errorCheckingUpdatesNotifDescription": "Notifie l'utilisateur lorsque la recherche de mises à jour en arrière-plan échoue.",
 | 
					    "errorCheckingUpdatesNotifDescription": "Notifie l'utilisateur lorsque la recherche de mises à jour en arrière-plan échoue.",
 | 
				
			||||||
@@ -180,24 +180,24 @@
 | 
				
			|||||||
    "reposHaveMultipleApps": "Les dépôts peuvent contenir plusieurs applications",
 | 
					    "reposHaveMultipleApps": "Les dépôts peuvent contenir plusieurs applications",
 | 
				
			||||||
    "fdroidThirdPartyRepo": "Dépôt tiers F-Droid",
 | 
					    "fdroidThirdPartyRepo": "Dépôt tiers F-Droid",
 | 
				
			||||||
    "install": "Installer",
 | 
					    "install": "Installer",
 | 
				
			||||||
    "markInstalled": "Marquer comme étant installé",
 | 
					    "markInstalled": "Marquer comme installée",
 | 
				
			||||||
    "update": "Mettre à jour",
 | 
					    "update": "Mettre à jour",
 | 
				
			||||||
    "markUpdated": "Marquer comme étant à jour",
 | 
					    "markUpdated": "Marquer comme à jour",
 | 
				
			||||||
    "additionalOptions": "Options supplémentaires",
 | 
					    "additionalOptions": "Options supplémentaires",
 | 
				
			||||||
    "disableVersionDetection": "Désactiver la détection de la version",
 | 
					    "disableVersionDetection": "Désactiver la détection de la version",
 | 
				
			||||||
    "noVersionDetectionExplanation": "Cette option ne doit être utilisée que pour les applications où la détection de la version ne fonctionne pas correctement.",
 | 
					    "noVersionDetectionExplanation": "Cette option ne doit être utilisée que pour les applications où la détection de la version ne fonctionne pas correctement.",
 | 
				
			||||||
    "downloadingX": "Téléchargement {}",
 | 
					    "downloadingX": "Téléchargement de {}",
 | 
				
			||||||
    "downloadX": "Télécharger {}",
 | 
					    "downloadX": "Télécharger {}",
 | 
				
			||||||
    "downloadedX": "Téléchargé {}",
 | 
					    "downloadedX": "Téléchargé {}",
 | 
				
			||||||
    "releaseAsset": "Version active",
 | 
					    "releaseAsset": "Élément de version",
 | 
				
			||||||
    "downloadNotifDescription": "Notifie l'utilisateur sur l'avancement du téléchargement d'une application",
 | 
					    "downloadNotifDescription": "Notifie l'utilisateur sur l'avancement du téléchargement d'une application",
 | 
				
			||||||
    "noAPKFound": "Aucun APK trouvé",
 | 
					    "noAPKFound": "Aucun APK trouvé",
 | 
				
			||||||
    "noVersionDetection": "Aucune version trouvée",
 | 
					    "noVersionDetection": "Aucune détection de version",
 | 
				
			||||||
    "categorize": "Catégoriser",
 | 
					    "categorize": "Catégoriser",
 | 
				
			||||||
    "categories": "Catégories",
 | 
					    "categories": "Catégories",
 | 
				
			||||||
    "category": "Catégorie",
 | 
					    "category": "Catégorie",
 | 
				
			||||||
    "noCategory": "Aucune catégorie",
 | 
					    "noCategory": "Aucune catégorie",
 | 
				
			||||||
    "noCategories": "Aucune catégories",
 | 
					    "noCategories": "Aucune catégorie",
 | 
				
			||||||
    "deleteCategoriesQuestion": "Supprimer les catégories ?",
 | 
					    "deleteCategoriesQuestion": "Supprimer les catégories ?",
 | 
				
			||||||
    "categoryDeleteWarning": "Toutes les applications des catégories supprimées seront définies comme non catégorisées.",
 | 
					    "categoryDeleteWarning": "Toutes les applications des catégories supprimées seront définies comme non catégorisées.",
 | 
				
			||||||
    "addCategory": "Ajouter une catégorie",
 | 
					    "addCategory": "Ajouter une catégorie",
 | 
				
			||||||
@@ -209,26 +209,27 @@
 | 
				
			|||||||
    "filterAPKsByRegEx": "Filtrer les APK par expression régulière",
 | 
					    "filterAPKsByRegEx": "Filtrer les APK par expression régulière",
 | 
				
			||||||
    "removeFromObtainium": "Supprimer d'Obtainium",
 | 
					    "removeFromObtainium": "Supprimer d'Obtainium",
 | 
				
			||||||
    "uninstallFromDevice": "Désinstaller de l'appareil",
 | 
					    "uninstallFromDevice": "Désinstaller de l'appareil",
 | 
				
			||||||
    "onlyWorksWithNonVersionDetectApps": "Ne fonctionne que pour les applications dont la détection de la version est désactivée.",
 | 
					    "onlyWorksWithNonVersionDetectApps": "Ne fonctionne qu'avec les applications dont la détection de la version est désactivée.",
 | 
				
			||||||
    "releaseDateAsVersion": "Utiliser la date de sortie comme version",
 | 
					    "releaseDateAsVersion": "Utiliser la date de sortie comme version",
 | 
				
			||||||
    "releaseTitleAsVersion": "Utiliser le titre de la version comme chaîne de caractères de la version",
 | 
					    "releaseTitleAsVersion": "Utiliser le titre de la version comme chaîne de version",
 | 
				
			||||||
    "releaseDateAsVersionExplanation": "Cette option ne doit être utilisée que pour les applications pour lesquelles la détection de la version ne fonctionne pas correctement, mais dont une date de sortie est disponible.",
 | 
					    "releaseDateAsVersionExplanation": "Cette option ne doit être utilisée que pour les applications pour lesquelles la détection de la version ne fonctionne pas correctement, mais dont une date de sortie est disponible.",
 | 
				
			||||||
    "changes": "Modifications",
 | 
					    "changes": "Modifications",
 | 
				
			||||||
    "releaseDate": "Date de sortie",
 | 
					    "releaseDate": "Date de sortie",
 | 
				
			||||||
    "importFromURLsInFile": "Importer à partir des URLs d'un fichier (comme OPML)",
 | 
					    "importFromURLsInFile": "Importer à partir des URLs d'un fichier (comme OPML)",
 | 
				
			||||||
    "versionDetectionExplanation": "Reporter la chaîne de version selon la version détectée par le système d'exploitation",
 | 
					    "versionDetectionExplanation": "Réconcilier la chaîne de version avec la version détectée par le système d'exploitation",
 | 
				
			||||||
    "versionDetection": "Détection de la version",
 | 
					    "versionDetection": "Détection de la version",
 | 
				
			||||||
    "standardVersionDetection": "Détection de la version standard",
 | 
					    "standardVersionDetection": "Détection de la version standard",
 | 
				
			||||||
    "groupByCategory": "Grouper par catégorie",
 | 
					    "groupByCategory": "Grouper par catégorie",
 | 
				
			||||||
    "autoApkFilterByArch": "Essayer de filtrer les APKs par architecture CPU si possible",
 | 
					    "autoApkFilterByArch": "Essayer de filtrer les APKs par architecture CPU si possible",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Essayer de filtrer les liens en fonction de l'architecture de l'unité centrale si possible",
 | 
				
			||||||
    "overrideSource": "Remplacer la source",
 | 
					    "overrideSource": "Remplacer la source",
 | 
				
			||||||
    "dontShowAgain": "Ne plus afficher",
 | 
					    "dontShowAgain": "Ne plus afficher",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Ne plus afficher les erreurs 'Suivi uniquement'",
 | 
					    "dontShowTrackOnlyWarnings": "Ne plus afficher les avertissements 'Suivi uniquement'",
 | 
				
			||||||
    "dontShowAPKOriginWarnings": "Ne plus afficher les erreurs sur l'origine de l'APK",
 | 
					    "dontShowAPKOriginWarnings": "Ne plus afficher les avertissements sur l'origine de l'APK",
 | 
				
			||||||
    "moveNonInstalledAppsToBottom": "Déplacer les applications non installées vers le bas de la vue Applications",
 | 
					    "moveNonInstalledAppsToBottom": "Déplacer les applications non installées vers le bas de la vue Applications",
 | 
				
			||||||
    "gitlabPATLabel": "Jeton d'accès personnel GitLab",
 | 
					    "gitlabPATLabel": "Jeton d'accès personnel GitLab",
 | 
				
			||||||
    "about": "À propos",
 | 
					    "about": "À propos",
 | 
				
			||||||
    "requiresCredentialsInSettings": "{} a besoin d'un complément d'information (dans les Paramètres)",
 | 
					    "requiresCredentialsInSettings": "{} a besoin d'informations d'identification supplémentaires (dans les Paramètres)",
 | 
				
			||||||
    "checkOnStart": "Rechercher les mises à jour au démarrage",
 | 
					    "checkOnStart": "Rechercher les mises à jour au démarrage",
 | 
				
			||||||
    "tryInferAppIdFromCode": "Essayer de déduire l'identifiant de l'application à partir du code source",
 | 
					    "tryInferAppIdFromCode": "Essayer de déduire l'identifiant de l'application à partir du code source",
 | 
				
			||||||
    "removeOnExternalUninstall": "Supprimer automatiquement les applications désinstallées en externe",
 | 
					    "removeOnExternalUninstall": "Supprimer automatiquement les applications désinstallées en externe",
 | 
				
			||||||
@@ -243,67 +244,67 @@
 | 
				
			|||||||
    "sortByLastLinkSegment": "Trier par le dernier segment du lien",
 | 
					    "sortByLastLinkSegment": "Trier par le dernier segment du lien",
 | 
				
			||||||
    "filterReleaseNotesByRegEx": "Filtrer les notes de version par expression régulière",
 | 
					    "filterReleaseNotesByRegEx": "Filtrer les notes de version par expression régulière",
 | 
				
			||||||
    "customLinkFilterRegex": "Filtre de lien APK personnalisé par expression régulière (par défaut '.apk$')",
 | 
					    "customLinkFilterRegex": "Filtre de lien APK personnalisé par expression régulière (par défaut '.apk$')",
 | 
				
			||||||
    "appsPossiblyUpdated": "Tentative de mise à jour des applications",
 | 
					    "appsPossiblyUpdated": "Tentatives de mise à jour d'applications",
 | 
				
			||||||
    "appsPossiblyUpdatedNotifDescription": "Notifie à l'utilisateur que des mises à jour d'une ou plusieurs applications ont potentiellement été appliquées en arrière-plan",
 | 
					    "appsPossiblyUpdatedNotifDescription": "Notifie à l'utilisateur que des mises à jour d'une ou plusieurs applications ont potentiellement été appliquées en arrière-plan",
 | 
				
			||||||
    "xWasPossiblyUpdatedToY": "{} peut être mis à jour en {}.",
 | 
					    "xWasPossiblyUpdatedToY": "{} a peut-être été mise à jour vers {}.",
 | 
				
			||||||
    "enableBackgroundUpdates": "Activer les mises à jour en arrière-plan",
 | 
					    "enableBackgroundUpdates": "Activer les mises à jour en arrière-plan",
 | 
				
			||||||
    "backgroundUpdateReqsExplanation": "Les mises à jour en arrière-plan peuvent ne pas être possibles pour toutes les applications.",
 | 
					    "backgroundUpdateReqsExplanation": "Les mises à jour en arrière-plan peuvent ne pas être possibles pour toutes les applications.",
 | 
				
			||||||
    "backgroundUpdateLimitsExplanation": "Le résultat d'une installation en arrière-plan ne peut être déterminé qu'à l'ouverture d'Obtainium.",
 | 
					    "backgroundUpdateLimitsExplanation": "Le succès d'une installation en arrière-plan ne peut être déterminé qu'à l'ouverture d'Obtainium.",
 | 
				
			||||||
    "verifyLatestTag": "Vérifier la balise 'latest'",
 | 
					    "verifyLatestTag": "Vérifier la balise 'latest'",
 | 
				
			||||||
    "intermediateLinkRegex": "Filtrer un lien 'intermédiaire' à visiter",
 | 
					    "intermediateLinkRegex": "Filtrer un lien 'intermédiaire' à visiter",
 | 
				
			||||||
    "filterByLinkText": "Filtrer les liens par texte du lien",
 | 
					    "filterByLinkText": "Filtrer les liens par texte du lien",
 | 
				
			||||||
    "intermediateLinkNotFound": "Lien intermédiaire introuvable",
 | 
					    "intermediateLinkNotFound": "Lien intermédiaire introuvable",
 | 
				
			||||||
    "intermediateLink": "Lien intermédiaire",
 | 
					    "intermediateLink": "Lien intermédiaire",
 | 
				
			||||||
    "exemptFromBackgroundUpdates": "Exclure de la mise à jour en arrière-plan (si activé)",
 | 
					    "exemptFromBackgroundUpdates": "Exclure des mises à jour en arrière-plan (si activées)",
 | 
				
			||||||
    "bgUpdatesOnWiFiOnly": "Désactiver les mises à jour en arrière-plan lorsque vous n'êtes pas en Wi-Fi",
 | 
					    "bgUpdatesOnWiFiOnly": "Désactiver les mises à jour en arrière-plan lorsque vous n'êtes pas en Wi-Fi",
 | 
				
			||||||
    "bgUpdatesWhileChargingOnly": "Désactiver les mises à jour en arrière-plan lorsque le véhicule n'est pas en charge",
 | 
					    "bgUpdatesWhileChargingOnly": "Désactiver les mises à jour en arrière-plan lorsque l'appareil n'est pas en charge",
 | 
				
			||||||
    "autoSelectHighestVersionCode": "Sélectionner automatiquement la version la plus récente du code APK",
 | 
					    "autoSelectHighestVersionCode": "Sélectionner automatiquement la version la plus récente du code APK",
 | 
				
			||||||
    "versionExtractionRegEx": "Extraire la version par Expression régulière",
 | 
					    "versionExtractionRegEx": "Expression régulière d'extraction de version",
 | 
				
			||||||
    "trimVersionString": "Découper la version par Expression régulière",
 | 
					    "trimVersionString": "Découper la chaîne de version avec une expression régulière",
 | 
				
			||||||
    "matchGroupToUseForX": "Groupe de correspondance à utiliser pour \"{}\"",
 | 
					    "matchGroupToUseForX": "Groupe de correspondance à utiliser pour \"{}\"",
 | 
				
			||||||
    "matchGroupToUse": "Groupe de correspondance à utiliser pour l'extraction de la version par Expression régulière",
 | 
					    "matchGroupToUse": "Groupe de correspondance à utiliser pour l'extraction de la version par expression régulière",
 | 
				
			||||||
    "highlightTouchTargets": "Mettre en évidence les touches moins évidentes",
 | 
					    "highlightTouchTargets": "Mettre en évidence les zones tactiles moins évidentes",
 | 
				
			||||||
    "pickExportDir": "Selectionner le dossier d'exportation",
 | 
					    "pickExportDir": "Sélectionner le dossier d'exportation",
 | 
				
			||||||
    "autoExportOnChanges": "Exporter automatiquement lors de modifications",
 | 
					    "autoExportOnChanges": "Exporter automatiquement lors de modifications",
 | 
				
			||||||
    "includeSettings": "Inclure les paramètres",
 | 
					    "includeSettings": "Inclure les paramètres",
 | 
				
			||||||
    "filterVersionsByRegEx": "Filtrer les versions par expression régulière",
 | 
					    "filterVersionsByRegEx": "Filtrer les versions par expression régulière",
 | 
				
			||||||
    "trySelectingSuggestedVersionCode": "Essayer de sélectionner la version suggérée du code APK",
 | 
					    "trySelectingSuggestedVersionCode": "Essayer de sélectionner le code de version APK suggéré",
 | 
				
			||||||
    "dontSortReleasesList": "Conserver l'ordre de la version de l'API",
 | 
					    "dontSortReleasesList": "Conserver l'ordre de version de l'API",
 | 
				
			||||||
    "reverseSort": "Tri inversé",
 | 
					    "reverseSort": "Tri inversé",
 | 
				
			||||||
    "takeFirstLink": "Utiliser le premier lien",
 | 
					    "takeFirstLink": "Utiliser le premier lien",
 | 
				
			||||||
    "skipSort": "Ignorer le tri",
 | 
					    "skipSort": "Ignorer le tri",
 | 
				
			||||||
    "debugMenu": "Menu de déboggage",
 | 
					    "debugMenu": "Menu de débogage",
 | 
				
			||||||
    "bgTaskStarted": "Tâche en arrière-plan démarrée - vérifier les journaux.",
 | 
					    "bgTaskStarted": "Tâche en arrière-plan démarrée - vérifier les journaux.",
 | 
				
			||||||
    "runBgCheckNow": "Exécuter la recherche de mise à jour en arrière-plan maintenant",
 | 
					    "runBgCheckNow": "Exécuter la recherche de mises à jour en arrière-plan maintenant",
 | 
				
			||||||
    "versionExtractWholePage": "Appliquer l'extraction de la version par expression régulière à l'ensemble de la page",
 | 
					    "versionExtractWholePage": "Appliquer l'expression régulière d'extraction de version à l'ensemble de la page",
 | 
				
			||||||
    "installing": "Installation",
 | 
					    "installing": "Installation",
 | 
				
			||||||
    "skipUpdateNotifications": "Ignorer les notifications de mise à jour",
 | 
					    "skipUpdateNotifications": "Désactiver les notifications de mise à jour",
 | 
				
			||||||
    "updatesAvailableNotifChannel": "Mises à jour disponibles",
 | 
					    "updatesAvailableNotifChannel": "Mises à jour disponibles",
 | 
				
			||||||
    "appsUpdatedNotifChannel": "Applications mises à jour",
 | 
					    "appsUpdatedNotifChannel": "Applications mises à jour",
 | 
				
			||||||
    "appsPossiblyUpdatedNotifChannel": "Essayer de mettre à jour les applications",
 | 
					    "appsPossiblyUpdatedNotifChannel": "Tentatives de mise à jour d'applications",
 | 
				
			||||||
    "errorCheckingUpdatesNotifChannel": "Erreur lors de la recherche de mises à jour",
 | 
					    "errorCheckingUpdatesNotifChannel": "Erreur lors de la recherche de mises à jour",
 | 
				
			||||||
    "appsRemovedNotifChannel": "Applications supprimées",
 | 
					    "appsRemovedNotifChannel": "Applications supprimées",
 | 
				
			||||||
    "downloadingXNotifChannel": "Téléchargement {}",
 | 
					    "downloadingXNotifChannel": "Téléchargement de {}",
 | 
				
			||||||
    "completeAppInstallationNotifChannel": "Installation complète de l'application",
 | 
					    "completeAppInstallationNotifChannel": "Terminer l'installation de l'application",
 | 
				
			||||||
    "checkingForUpdatesNotifChannel": "Recherche de mises à jour",
 | 
					    "checkingForUpdatesNotifChannel": "Recherche de mises à jour",
 | 
				
			||||||
    "onlyCheckInstalledOrTrackOnlyApps": "Rechercher uniquement les mises à jour des applications installées et des applications 'Suivi uniquement'",
 | 
					    "onlyCheckInstalledOrTrackOnlyApps": "Rechercher uniquement les mises à jour des applications installées et des applications 'Suivi uniquement'",
 | 
				
			||||||
    "supportFixedAPKURL": "Prise en charge des URL APK fixes",
 | 
					    "supportFixedAPKURL": "Prise en charge des URL APK fixes",
 | 
				
			||||||
    "selectX": "Sélectionner {}",
 | 
					    "selectX": "Sélectionner {}",
 | 
				
			||||||
    "parallelDownloads": "Autoriser les téléchargements simultanés",
 | 
					    "parallelDownloads": "Autoriser les téléchargements simultanés",
 | 
				
			||||||
    "useShizuku": "Utiliser Shizuku ou Sui pour l'installation",
 | 
					    "useShizuku": "Utiliser Shizuku ou Sui pour l'installation",
 | 
				
			||||||
    "shizukuBinderNotFound": "Le service Shizuku est introuvable",
 | 
					    "shizukuBinderNotFound": "Le service Shizuku n'est pas en cours d'exécution",
 | 
				
			||||||
    "shizukuOld": "Ancienne version de Shizuku (<11) - veuillez le mettre à jour",
 | 
					    "shizukuOld": "Ancienne version de Shizuku (<11) - veuillez le mettre à jour",
 | 
				
			||||||
    "shizukuOldAndroidWithADB": "Shizuku fonctionne sur Android < 8.1 avec ADB - veuillez mettre à jour Android ou utiliser Sui à la place",
 | 
					    "shizukuOldAndroidWithADB": "Shizuku fonctionne sur Android < 8.1 avec ADB - veuillez mettre à jour Android ou utiliser Sui à la place",
 | 
				
			||||||
    "shizukuPretendToBeGooglePlay": "Définir Google Play comme source d'installation (si Shizuku est utilisé)",
 | 
					    "shizukuPretendToBeGooglePlay": "Définir Google Play comme source d'installation (si Shizuku est utilisé)",
 | 
				
			||||||
    "useSystemFont": "Utiliser la police du système",
 | 
					    "useSystemFont": "Utiliser la police du système",
 | 
				
			||||||
    "useVersionCodeAsOSVersion": "Utiliser le code de version de l'application détectée par le système d'exploitation",
 | 
					    "useVersionCodeAsOSVersion": "Utiliser le code de version de l'application détectée par le système d'exploitation",
 | 
				
			||||||
    "requestHeader": "Intitulé de la demande",
 | 
					    "requestHeader": "En-tête de requête",
 | 
				
			||||||
    "useLatestAssetDateAsReleaseDate": "Utiliser le dernier élément mis en ligne comme date de sortie",
 | 
					    "useLatestAssetDateAsReleaseDate": "Utiliser la date du dernier élément mis en ligne comme date de sortie",
 | 
				
			||||||
    "defaultPseudoVersioningMethod": "Méthode de version fictive par défaut",
 | 
					    "defaultPseudoVersioningMethod": "Méthode de versionnage fictif par défaut",
 | 
				
			||||||
    "partialAPKHash": "Hash partiel de l'APK",
 | 
					    "partialAPKHash": "Hash partiel de l'APK",
 | 
				
			||||||
    "APKLinkHash": "Hash du lien APK",
 | 
					    "APKLinkHash": "Hash du lien APK",
 | 
				
			||||||
    "directAPKLink": "Lien direct de l'APK",
 | 
					    "directAPKLink": "Lien direct de l'APK",
 | 
				
			||||||
    "pseudoVersionInUse": "Version fictive utilisé",
 | 
					    "pseudoVersionInUse": "Une version fictive est utilisée",
 | 
				
			||||||
    "installed": "Installée",
 | 
					    "installed": "Installée",
 | 
				
			||||||
    "latest": "Dernière version",
 | 
					    "latest": "Dernière version",
 | 
				
			||||||
    "invertRegEx": "Inverser l'expression régulière",
 | 
					    "invertRegEx": "Inverser l'expression régulière",
 | 
				
			||||||
@@ -313,27 +314,37 @@
 | 
				
			|||||||
    "beforeNewInstallsShareToAppVerifier": "Partager les nouvelles applications avec AppVerifier (si disponible)",
 | 
					    "beforeNewInstallsShareToAppVerifier": "Partager les nouvelles applications avec AppVerifier (si disponible)",
 | 
				
			||||||
    "appVerifierInstructionToast": "Partagez avec AppVerifier, puis revenez ici lorsque tout est prêt.",
 | 
					    "appVerifierInstructionToast": "Partagez avec AppVerifier, puis revenez ici lorsque tout est prêt.",
 | 
				
			||||||
    "wiki": "Aide/Wiki",
 | 
					    "wiki": "Aide/Wiki",
 | 
				
			||||||
    "crowdsourcedConfigsLabel": "Configuration d'applis communautaires (à utiliser à vos risques et périls)",
 | 
					    "crowdsourcedConfigsLabel": "Configurations d'applications communautaires (à utiliser à vos risques et périls)",
 | 
				
			||||||
    "crowdsourcedConfigsShort": "Applis communautaires",
 | 
					    "crowdsourcedConfigsShort": "Applications communautaires",
 | 
				
			||||||
    "allowInsecure": "Autoriser les requêtes HTTP non sécurisées",
 | 
					    "allowInsecure": "Autoriser les requêtes HTTP non sécurisées",
 | 
				
			||||||
    "stayOneVersionBehind": "Rester à une version de la dernière",
 | 
					    "stayOneVersionBehind": "Rester une version en arrière de la dernière",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Sélection automatique du premier APK parmi plusieurs",
 | 
				
			||||||
    "refreshBeforeDownload": "Actualiser les détails de l'application avant de la télécharger",
 | 
					    "refreshBeforeDownload": "Actualiser les détails de l'application avant de la télécharger",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Nom",
 | 
				
			||||||
 | 
					    "smartname": "Nom (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Méthode de tri",
 | 
				
			||||||
 | 
					    "welcome": "Bienvenue",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "La page GitHub d'Obtainium, dont le lien figure ci-dessous, contient des liens vers des vidéos, des articles, des discussions et d'autres ressources qui vous aideront à comprendre comment utiliser l'application.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Notez que les téléchargements en arrière-plan peuvent fonctionner de manière plus fiable si vous désactivez les optimisations de la batterie du système d'exploitation pour Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Échec de la suppression du fichier (essayez de le supprimer manuellement puis réessayez) : \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Supprimer l'application ?",
 | 
					        "one": "Supprimer l'application ?",
 | 
				
			||||||
        "other": "Supprimer les applications ?"
 | 
					        "other": "Supprimer les applications ?"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "tooManyRequestsTryAgainInMinutes": {
 | 
					    "tooManyRequestsTryAgainInMinutes": {
 | 
				
			||||||
        "one": "Trop de requêtes (taux limité) - réessayez dans {} minute",
 | 
					        "one": "Trop de requêtes (taux limité) - réessayez dans {} minute",
 | 
				
			||||||
        "other": "Trop de requêtes (taux limité) - réessayez dans {} minutes"
 | 
					        "other": "Trop de requêtes (taux limité) - réessayez dans {} minutes"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "bgUpdateGotErrorRetryInMinutes": {
 | 
					    "bgUpdateGotErrorRetryInMinutes": {
 | 
				
			||||||
        "one": "La recherche de mise à jour en arrière-plan a rencontré un {}, une nouvelle tentative programmée dans {} minute",
 | 
					        "one": "La recherche de mise à jour en arrière-plan a rencontré une erreur {}, une nouvelle tentative programmée dans {} minute",
 | 
				
			||||||
        "other": "La recherche de mise à jour en arrière-plan a rencontré un {}, une nouvelle tentative programmée dans {} minutes"
 | 
					        "other": "La recherche de mise à jour en arrière-plan a rencontré une erreur {}, une nouvelle tentative programmée dans {} minutes"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "bgCheckFoundUpdatesWillNotifyIfNeeded": {
 | 
					    "bgCheckFoundUpdatesWillNotifyIfNeeded": {
 | 
				
			||||||
        "one": "La recherche de mises à jour en arrière-plan à trouvée {} mise à jour - l'utilisateur sera notifié si nécessaire",
 | 
					        "one": "La recherche de mises à jour en arrière-plan a trouvé {} mise à jour - l'utilisateur sera notifié si nécessaire",
 | 
				
			||||||
        "other": "La recherche de mises à jour en arrière-plan à trouvée {} mises à jour - l'utilisateur sera notifié si nécessaire"
 | 
					        "other": "La recherche de mises à jour en arrière-plan a trouvé {} mises à jour - l'utilisateur sera notifié si nécessaire"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "apps": {
 | 
					    "apps": {
 | 
				
			||||||
        "one": "{} Application",
 | 
					        "one": "{} Application",
 | 
				
			||||||
@@ -341,7 +352,7 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "url": {
 | 
					    "url": {
 | 
				
			||||||
        "one": "{} URL",
 | 
					        "one": "{} URL",
 | 
				
			||||||
        "other": "{} URL"
 | 
					        "other": "{} URLs"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "minute": {
 | 
					    "minute": {
 | 
				
			||||||
        "one": "{} Minute",
 | 
					        "one": "{} Minute",
 | 
				
			||||||
@@ -365,7 +376,7 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "xAndNMoreUpdatesInstalled": {
 | 
					    "xAndNMoreUpdatesInstalled": {
 | 
				
			||||||
        "one": "{} et 1 autre application ont été mises à jour.",
 | 
					        "one": "{} et 1 autre application ont été mises à jour.",
 | 
				
			||||||
        "other": "{} et {} autres applications ont étés mis à jour."
 | 
					        "other": "{} et {} autres applications ont été mises à jour."
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "xAndNMoreUpdatesFailed": {
 | 
					    "xAndNMoreUpdatesFailed": {
 | 
				
			||||||
        "one": "Échec de la mise à jour de {} et 1 autre application.",
 | 
					        "one": "Échec de la mise à jour de {} et 1 autre application.",
 | 
				
			||||||
@@ -373,7 +384,7 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "xAndNMoreUpdatesPossiblyInstalled": {
 | 
					    "xAndNMoreUpdatesPossiblyInstalled": {
 | 
				
			||||||
        "one": "{} et 1 autre application ont peut-être été mises à jour.",
 | 
					        "one": "{} et 1 autre application ont peut-être été mises à jour.",
 | 
				
			||||||
        "other": "{} et {} autres applications ont peut-être étés mis à jour."
 | 
					        "other": "{} et {} autres applications ont peut-être été mises à jour."
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "apk": {
 | 
					    "apk": {
 | 
				
			||||||
        "one": "{} APK",
 | 
					        "one": "{} APK",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -28,11 +28,11 @@
 | 
				
			|||||||
    "githubStarredRepos": "Csillagozott GitHub tárolók",
 | 
					    "githubStarredRepos": "Csillagozott GitHub tárolók",
 | 
				
			||||||
    "uname": "Felhasználónév",
 | 
					    "uname": "Felhasználónév",
 | 
				
			||||||
    "wrongArgNum": "A megadott argumentumok száma nem megfelelő",
 | 
					    "wrongArgNum": "A megadott argumentumok száma nem megfelelő",
 | 
				
			||||||
    "xIsTrackOnly": "A(z) {} csak nyomon-követhető",
 | 
					    "xIsTrackOnly": "A(z) {} csak nyomon követhető",
 | 
				
			||||||
    "source": "Forrás",
 | 
					    "source": "Forrás",
 | 
				
			||||||
    "app": "Alkalmazás",
 | 
					    "app": "Alkalmazás",
 | 
				
			||||||
    "appsFromSourceAreTrackOnly": "Az ebből a forrásból származó alkalmazások „csak nyomon-követhetők”.",
 | 
					    "appsFromSourceAreTrackOnly": "Az ebből a forrásból származó alkalmazások „csak nyomon követhetők”.",
 | 
				
			||||||
    "youPickedTrackOnly": "„Csak nyomon-követés” opciót választotta.",
 | 
					    "youPickedTrackOnly": "„Csak nyomon követés” opciót választotta.",
 | 
				
			||||||
    "trackOnlyAppDescription": "Az alkalmazás frissítéseit nyomon követi, de az Obtainium nem tudja letölteni vagy telepíteni.",
 | 
					    "trackOnlyAppDescription": "Az alkalmazás frissítéseit nyomon követi, de az Obtainium nem tudja letölteni vagy telepíteni.",
 | 
				
			||||||
    "cancelled": "Visszavonva",
 | 
					    "cancelled": "Visszavonva",
 | 
				
			||||||
    "appAlreadyAdded": "Az alkalmazás már hozzá van adva",
 | 
					    "appAlreadyAdded": "Az alkalmazás már hozzá van adva",
 | 
				
			||||||
@@ -45,7 +45,7 @@
 | 
				
			|||||||
    "search": "Keresés",
 | 
					    "search": "Keresés",
 | 
				
			||||||
    "additionalOptsFor": "További lehetőségek a következőhöz: {}",
 | 
					    "additionalOptsFor": "További lehetőségek a következőhöz: {}",
 | 
				
			||||||
    "supportedSources": "Támogatott források",
 | 
					    "supportedSources": "Támogatott források",
 | 
				
			||||||
    "trackOnlyInBrackets": "(Csak nyomon-követés)",
 | 
					    "trackOnlyInBrackets": "(Csak nyomon követés)",
 | 
				
			||||||
    "searchableInBrackets": "(Kereshető)",
 | 
					    "searchableInBrackets": "(Kereshető)",
 | 
				
			||||||
    "appsString": "Alkalmazások",
 | 
					    "appsString": "Alkalmazások",
 | 
				
			||||||
    "noApps": "Nincsenek alkalmazások",
 | 
					    "noApps": "Nincsenek alkalmazások",
 | 
				
			||||||
@@ -63,7 +63,7 @@
 | 
				
			|||||||
    "removeSelectedApps": "A kiválasztott alkalmazások eltávolítása",
 | 
					    "removeSelectedApps": "A kiválasztott alkalmazások eltávolítása",
 | 
				
			||||||
    "updateX": "{} frissítése",
 | 
					    "updateX": "{} frissítése",
 | 
				
			||||||
    "installX": "{} telepítése",
 | 
					    "installX": "{} telepítése",
 | 
				
			||||||
    "markXTrackOnlyAsUpdated": "Megjelölés: {}\n(Csak nyomon-követés)\nFrissítettként",
 | 
					    "markXTrackOnlyAsUpdated": "Megjelölés: {}\n(Csak nyomon követés)\nFrissítettként",
 | 
				
			||||||
    "changeX": "{}-változás",
 | 
					    "changeX": "{}-változás",
 | 
				
			||||||
    "installUpdateApps": "Alkalmazások telepítése/frissítése",
 | 
					    "installUpdateApps": "Alkalmazások telepítése/frissítése",
 | 
				
			||||||
    "installUpdateSelectedApps": "A kiválasztott alkalmazások telepítése/frissítése",
 | 
					    "installUpdateSelectedApps": "A kiválasztott alkalmazások telepítése/frissítése",
 | 
				
			||||||
@@ -143,7 +143,7 @@
 | 
				
			|||||||
    "warning": "Figyelem",
 | 
					    "warning": "Figyelem",
 | 
				
			||||||
    "sourceIsXButPackageFromYPrompt": "Az alkalmazás forrása a(z) „{}” tároló, de a kiadási csomag innen származik: „{}”. Folytatja?",
 | 
					    "sourceIsXButPackageFromYPrompt": "Az alkalmazás forrása a(z) „{}” tároló, de a kiadási csomag innen származik: „{}”. Folytatja?",
 | 
				
			||||||
    "updatesAvailable": "Frissítések érhetők el",
 | 
					    "updatesAvailable": "Frissítések érhetők el",
 | 
				
			||||||
    "updatesAvailableNotifDescription": "Értesíti a felhasználót, hogy egy vagy több, az Obtainium által nyomon-követett alkalmazáshoz frissítések állnak rendelkezésre",
 | 
					    "updatesAvailableNotifDescription": "Értesíti a felhasználót, hogy egy vagy több, az Obtainium által nyomon követett alkalmazáshoz frissítések állnak rendelkezésre",
 | 
				
			||||||
    "noNewUpdates": "Nincsenek új frissítések.",
 | 
					    "noNewUpdates": "Nincsenek új frissítések.",
 | 
				
			||||||
    "xHasAnUpdate": "A(z) {} frissítést kapott.",
 | 
					    "xHasAnUpdate": "A(z) {} frissítést kapott.",
 | 
				
			||||||
    "appsUpdated": "Alkalmazások frissítve",
 | 
					    "appsUpdated": "Alkalmazások frissítve",
 | 
				
			||||||
@@ -162,7 +162,7 @@
 | 
				
			|||||||
    "checkingForUpdates": "Frissítések ellenőrzése",
 | 
					    "checkingForUpdates": "Frissítések ellenőrzése",
 | 
				
			||||||
    "checkingForUpdatesNotifDescription": "Átmeneti értesítés, amely a frissítések ellenőrzésekor jelenik meg",
 | 
					    "checkingForUpdatesNotifDescription": "Átmeneti értesítés, amely a frissítések ellenőrzésekor jelenik meg",
 | 
				
			||||||
    "pleaseAllowInstallPerm": "Engedélyezze az Obtainiumnak az alkalmazások telepítését",
 | 
					    "pleaseAllowInstallPerm": "Engedélyezze az Obtainiumnak az alkalmazások telepítését",
 | 
				
			||||||
    "trackOnly": "Csak nyomon-követés",
 | 
					    "trackOnly": "Csak nyomon követés",
 | 
				
			||||||
    "errorWithHttpStatusCode": "Hiba {}",
 | 
					    "errorWithHttpStatusCode": "Hiba {}",
 | 
				
			||||||
    "versionCorrectionDisabled": "Verzió-korrekció letiltva (úgy tűnik, hogy a bővítmény nem működik)",
 | 
					    "versionCorrectionDisabled": "Verzió-korrekció letiltva (úgy tűnik, hogy a bővítmény nem működik)",
 | 
				
			||||||
    "unknown": "Ismeretlen",
 | 
					    "unknown": "Ismeretlen",
 | 
				
			||||||
@@ -220,10 +220,11 @@
 | 
				
			|||||||
    "versionDetection": "Verzió-érzékelés",
 | 
					    "versionDetection": "Verzió-érzékelés",
 | 
				
			||||||
    "standardVersionDetection": "Alapértelmezett verzió-érzékelés",
 | 
					    "standardVersionDetection": "Alapértelmezett verzió-érzékelés",
 | 
				
			||||||
    "groupByCategory": "Csoportosítás kategória alapján",
 | 
					    "groupByCategory": "Csoportosítás kategória alapján",
 | 
				
			||||||
    "autoApkFilterByArch": "Ha lehetséges, próbálja CPU architektúra szerint szűrni az APK-kat",
 | 
					    "autoApkFilterByArch": "Ha lehetséges, próbálja meg az APK-kat CPU-architektúra szerint szűrni",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Ha lehetséges, próbálja meg a hivatkozásokat CPU-architektúra szerint szűrni",
 | 
				
			||||||
    "overrideSource": "Forrás felülírása",
 | 
					    "overrideSource": "Forrás felülírása",
 | 
				
			||||||
    "dontShowAgain": "Ne jelenítse meg ezt többé",
 | 
					    "dontShowAgain": "Ne jelenítse meg ezt többé",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Ne jelenítse meg a „Csak nyomon-követés” figyelmeztetést",
 | 
					    "dontShowTrackOnlyWarnings": "Ne jelenítse meg a „Csak nyomon követés” figyelmeztetést",
 | 
				
			||||||
    "dontShowAPKOriginWarnings": "Ne jelenítse meg az APK eredetére vonatkozó figyelmeztetéseket",
 | 
					    "dontShowAPKOriginWarnings": "Ne jelenítse meg az APK eredetére vonatkozó figyelmeztetéseket",
 | 
				
			||||||
    "moveNonInstalledAppsToBottom": "Helyezze át a nem telepített alkalmazásokat az alkalmazásnézet aljára",
 | 
					    "moveNonInstalledAppsToBottom": "Helyezze át a nem telepített alkalmazásokat az alkalmazásnézet aljára",
 | 
				
			||||||
    "gitlabPATLabel": "GitLab személyes hozzáférési token",
 | 
					    "gitlabPATLabel": "GitLab személyes hozzáférési token",
 | 
				
			||||||
@@ -286,7 +287,7 @@
 | 
				
			|||||||
    "downloadingXNotifChannel": "A(z) {} letöltése",
 | 
					    "downloadingXNotifChannel": "A(z) {} letöltése",
 | 
				
			||||||
    "completeAppInstallationNotifChannel": "Teljes alkalmazás telepítés",
 | 
					    "completeAppInstallationNotifChannel": "Teljes alkalmazás telepítés",
 | 
				
			||||||
    "checkingForUpdatesNotifChannel": "Frissítések ellenőrzése",
 | 
					    "checkingForUpdatesNotifChannel": "Frissítések ellenőrzése",
 | 
				
			||||||
    "onlyCheckInstalledOrTrackOnlyApps": "Csak a telepített és a csak nyomon-követhető alkalmazások frissítéseinek ellenőrzése",
 | 
					    "onlyCheckInstalledOrTrackOnlyApps": "Csak a telepített és a csak nyomon követhető alkalmazások frissítéseinek ellenőrzése",
 | 
				
			||||||
    "supportFixedAPKURL": "Támogatja a rögzített APK webcímeket",
 | 
					    "supportFixedAPKURL": "Támogatja a rögzített APK webcímeket",
 | 
				
			||||||
    "selectX": "{} kiválasztása",
 | 
					    "selectX": "{} kiválasztása",
 | 
				
			||||||
    "parallelDownloads": "Párhuzamos letöltések engedélyezése",
 | 
					    "parallelDownloads": "Párhuzamos letöltések engedélyezése",
 | 
				
			||||||
@@ -294,7 +295,7 @@
 | 
				
			|||||||
    "shizukuBinderNotFound": "A Shizuku szolgáltatás nem fut",
 | 
					    "shizukuBinderNotFound": "A Shizuku szolgáltatás nem fut",
 | 
				
			||||||
    "shizukuOld": "Régi Shizuku verzió (<11) - frissítse",
 | 
					    "shizukuOld": "Régi Shizuku verzió (<11) - frissítse",
 | 
				
			||||||
    "shizukuOldAndroidWithADB": "A Shizuku csak Android < 8.1 ADB-vel fut - frissítse az Androidot vagy használja a Sui-t helyette",
 | 
					    "shizukuOldAndroidWithADB": "A Shizuku csak Android < 8.1 ADB-vel fut - frissítse az Androidot vagy használja a Sui-t helyette",
 | 
				
			||||||
    "shizukuPretendToBeGooglePlay": "Állítsa be a Google Playt telepítési forrásként (ha Shizukut használ)",
 | 
					    "shizukuPretendToBeGooglePlay": "A Google Play beállítása telepítési forrásként (ha Shizukut használ)",
 | 
				
			||||||
    "useSystemFont": "A rendszer betűtípusának használata",
 | 
					    "useSystemFont": "A rendszer betűtípusának használata",
 | 
				
			||||||
    "useVersionCodeAsOSVersion": "Az alkalmazás verziókódjának használata a rendszer által érzékelt verzióként",
 | 
					    "useVersionCodeAsOSVersion": "Az alkalmazás verziókódjának használata a rendszer által érzékelt verzióként",
 | 
				
			||||||
    "requestHeader": "Kérelemfejléc",
 | 
					    "requestHeader": "Kérelemfejléc",
 | 
				
			||||||
@@ -313,12 +314,22 @@
 | 
				
			|||||||
    "beforeNewInstallsShareToAppVerifier": "Új alkalmazások megosztása az AppVerifierrel (ha elérhető)",
 | 
					    "beforeNewInstallsShareToAppVerifier": "Új alkalmazások megosztása az AppVerifierrel (ha elérhető)",
 | 
				
			||||||
    "appVerifierInstructionToast": "Ossza meg az AppVerifierrel, majd térjen vissza ide, ha kész.",
 | 
					    "appVerifierInstructionToast": "Ossza meg az AppVerifierrel, majd térjen vissza ide, ha kész.",
 | 
				
			||||||
    "wiki": "Súgó/Wiki",
 | 
					    "wiki": "Súgó/Wiki",
 | 
				
			||||||
    "crowdsourcedConfigsLabel": "Crowdsource-ből származó alkalmazások beállítása (saját felelősségére használja)",
 | 
					    "crowdsourcedConfigsLabel": "Közreműködők által összeállított alkalmazásbeállítások (saját felelősségére használja)",
 | 
				
			||||||
    "crowdsourcedConfigsShort": "Crowdsourced App Configs",
 | 
					    "crowdsourcedConfigsShort": "Alkalmazáslista",
 | 
				
			||||||
    "allowInsecure": "Nem biztonságos HTTP-kérések engedélyezése",
 | 
					    "allowInsecure": "Nem biztonságos HTTP-kérések engedélyezése",
 | 
				
			||||||
    "stayOneVersionBehind": "Maradjon egy verzióval a legújabb mögött",
 | 
					    "stayOneVersionBehind": "Maradjon egy verzióval a legújabb mögött",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "A legelső APK automatikus kiválasztása, ha több APK is található",
 | 
				
			||||||
    "refreshBeforeDownload": "Az alkalmazás adatainak frissítése a letöltés előtt",
 | 
					    "refreshBeforeDownload": "Az alkalmazás adatainak frissítése a letöltés előtt",
 | 
				
			||||||
    "tencentAppStore": "Tencent Appstore",
 | 
					    "tencentAppStore": "Tencent Appstore",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Név",
 | 
				
			||||||
 | 
					    "smartname": "Név (Okos)",
 | 
				
			||||||
 | 
					    "sortMethod": "Rendezési eljárás",
 | 
				
			||||||
 | 
					    "welcome": "Üdvözöljük!",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Az alábbi hivatkozás az Obtainium GitHub oldalára vezet, amely további videók, cikkek, beszélgetések és egyéb források hivatkozásait tartalmazza, amelyek segítenek megérteni az alkalmazás használatát.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Megjegyzés: A háttérfrissítések megbízhatóbban működhetnek, ha kikapcsolja a rendszer akkumulátor-optimalizálását az Obtainium számára.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Nem sikerült törölni a fájlt (próbálja meg kézzel törölni, majd próbálja meg újra): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Eltávolítja az alkalmazást?",
 | 
					        "one": "Eltávolítja az alkalmazást?",
 | 
				
			||||||
        "other": "Eltávolítja az alkalmazásokat?"
 | 
					        "other": "Eltávolítja az alkalmazásokat?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Pendeteksi versi standar",
 | 
					    "standardVersionDetection": "Pendeteksi versi standar",
 | 
				
			||||||
    "groupByCategory": "Kelompokkan berdasarkan kategori",
 | 
					    "groupByCategory": "Kelompokkan berdasarkan kategori",
 | 
				
			||||||
    "autoApkFilterByArch": "Coba filter APK berdasarkan arsitektur CPU jika memungkinkan",
 | 
					    "autoApkFilterByArch": "Coba filter APK berdasarkan arsitektur CPU jika memungkinkan",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Mencoba memfilter tautan berdasarkan arsitektur CPU jika memungkinkan",
 | 
				
			||||||
    "overrideSource": "Ganti sumber",
 | 
					    "overrideSource": "Ganti sumber",
 | 
				
			||||||
    "dontShowAgain": "Jangan tampilkan lagi",
 | 
					    "dontShowAgain": "Jangan tampilkan lagi",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Jangan tampilkan peringatan 'Pelacakan Saja'",
 | 
					    "dontShowTrackOnlyWarnings": "Jangan tampilkan peringatan 'Pelacakan Saja'",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Konfigurasi Aplikasi Crowdsourced",
 | 
					    "crowdsourcedConfigsShort": "Konfigurasi Aplikasi Crowdsourced",
 | 
				
			||||||
    "allowInsecure": "Izinkan permintaan HTTP yang tidak aman",
 | 
					    "allowInsecure": "Izinkan permintaan HTTP yang tidak aman",
 | 
				
			||||||
    "stayOneVersionBehind": "Tetap satu versi di belakang versi terbaru",
 | 
					    "stayOneVersionBehind": "Tetap satu versi di belakang versi terbaru",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Pilih otomatis yang pertama dari beberapa APK",
 | 
				
			||||||
    "refreshBeforeDownload": "Segarkan detail aplikasi sebelum mengunduh",
 | 
					    "refreshBeforeDownload": "Segarkan detail aplikasi sebelum mengunduh",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Nama",
 | 
				
			||||||
 | 
					    "smartname": "Nama (Cerdas)",
 | 
				
			||||||
 | 
					    "sortMethod": "Metode Penyortiran",
 | 
				
			||||||
 | 
					    "welcome": "Selamat datang.",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Halaman GitHub Obtainium yang ditautkan di bawah ini berisi tautan ke video, artikel, diskusi, dan sumber daya lain yang akan membantu Anda memahami cara menggunakan aplikasi.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Perhatikan bahwa unduhan latar belakang dapat bekerja lebih andal jika Anda menonaktifkan optimasi baterai OS untuk Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Gagal menghapus file (coba hapus secara manual, lalu coba lagi): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Hapus aplikasi?",
 | 
					        "one": "Hapus aplikasi?",
 | 
				
			||||||
        "other": "Hapus aplikasi?"
 | 
					        "other": "Hapus aplikasi?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Rilevamento di versione standard",
 | 
					    "standardVersionDetection": "Rilevamento di versione standard",
 | 
				
			||||||
    "groupByCategory": "Raggruppa per categoria",
 | 
					    "groupByCategory": "Raggruppa per categoria",
 | 
				
			||||||
    "autoApkFilterByArch": "Tenta di filtrare gli APK in base all'architettura della CPU, se possibile",
 | 
					    "autoApkFilterByArch": "Tenta di filtrare gli APK in base all'architettura della CPU, se possibile",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Tentare di filtrare i collegamenti in base all'architettura della CPU, se possibile.",
 | 
				
			||||||
    "overrideSource": "Sovrascrivi fonte",
 | 
					    "overrideSource": "Sovrascrivi fonte",
 | 
				
			||||||
    "dontShowAgain": "Non mostrarlo più",
 | 
					    "dontShowAgain": "Non mostrarlo più",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Non mostrare gli avvisi 'Solo-Monitoraggio'",
 | 
					    "dontShowTrackOnlyWarnings": "Non mostrare gli avvisi 'Solo-Monitoraggio'",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Configurazioni di app in crowdsourcing",
 | 
					    "crowdsourcedConfigsShort": "Configurazioni di app in crowdsourcing",
 | 
				
			||||||
    "allowInsecure": "Consentire le richieste HTTP non sicure",
 | 
					    "allowInsecure": "Consentire le richieste HTTP non sicure",
 | 
				
			||||||
    "stayOneVersionBehind": "Rimanere una versione indietro rispetto alla più recente",
 | 
					    "stayOneVersionBehind": "Rimanere una versione indietro rispetto alla più recente",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Selezione automatica del primo di più APK",
 | 
				
			||||||
    "refreshBeforeDownload": "Aggiornare i dettagli dell'app prima del download",
 | 
					    "refreshBeforeDownload": "Aggiornare i dettagli dell'app prima del download",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Nome",
 | 
				
			||||||
 | 
					    "smartname": "Nome (intelligente)",
 | 
				
			||||||
 | 
					    "sortMethod": "Metodo di ordinamento",
 | 
				
			||||||
 | 
					    "welcome": "Benvenuti",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "La pagina GitHub di Obtainium collegata qui sotto contiene collegamenti a video, articoli, discussioni e altre risorse che vi aiuteranno a capire come utilizzare l'applicazione.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Si noti che i download in background potrebbero funzionare in modo più affidabile se si disabilita l'ottimizzazione della batteria del sistema operativo per Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Errore nell'eliminazione del file (provare a cancellarlo manualmente e poi riprovare): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Rimuovere l'app?",
 | 
					        "one": "Rimuovere l'app?",
 | 
				
			||||||
        "other": "Rimuovere le app?"
 | 
					        "other": "Rimuovere le app?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "標準のバージョン検出",
 | 
					    "standardVersionDetection": "標準のバージョン検出",
 | 
				
			||||||
    "groupByCategory": "カテゴリ別にグループ化する",
 | 
					    "groupByCategory": "カテゴリ別にグループ化する",
 | 
				
			||||||
    "autoApkFilterByArch": "可能であれば、CPUアーキテクチャによるAPKのフィルタリングを試みる",
 | 
					    "autoApkFilterByArch": "可能であれば、CPUアーキテクチャによるAPKのフィルタリングを試みる",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "可能であれば、CPUアーキテクチャによるリンクのフィルタリングを試みる。",
 | 
				
			||||||
    "overrideSource": "ソースの上書き",
 | 
					    "overrideSource": "ソースの上書き",
 | 
				
			||||||
    "dontShowAgain": "二度と表示しない",
 | 
					    "dontShowAgain": "二度と表示しない",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "「追跡のみ」の警告を表示しない",
 | 
					    "dontShowTrackOnlyWarnings": "「追跡のみ」の警告を表示しない",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "クラウドソーシングによるアプリの設定",
 | 
					    "crowdsourcedConfigsShort": "クラウドソーシングによるアプリの設定",
 | 
				
			||||||
    "allowInsecure": "安全でないHTTPリクエストを許可する",
 | 
					    "allowInsecure": "安全でないHTTPリクエストを許可する",
 | 
				
			||||||
    "stayOneVersionBehind": "最新のバージョンから1つ前のものを使用する",
 | 
					    "stayOneVersionBehind": "最新のバージョンから1つ前のものを使用する",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "複数のAPKから最初のAPKを自動選択する",
 | 
				
			||||||
    "refreshBeforeDownload": "ダウンロード前にアプリの詳細を更新する",
 | 
					    "refreshBeforeDownload": "ダウンロード前にアプリの詳細を更新する",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "クールApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "名称",
 | 
				
			||||||
 | 
					    "smartname": "名前(スマート)",
 | 
				
			||||||
 | 
					    "sortMethod": "ソート方法",
 | 
				
			||||||
 | 
					    "welcome": "ようこそ",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "以下のリンクにあるObtainium GitHubページには、ビデオ、記事、ディスカッション、その他のリソースへのリンクがあり、アプリの使い方を理解するのに役立ちます。",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "ObtainiumのOSバッテリー最適化を無効にすると、バックグラウンドダウンロードがより確実に動作するようになります。",
 | 
				
			||||||
 | 
					    "fileDeletionError": "ファイルの削除に失敗しました(手動で削除してから再試行してください):\"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "アプリを削除しますか?",
 | 
					        "one": "アプリを削除しますか?",
 | 
				
			||||||
        "other": "アプリを削除しますか?"
 | 
					        "other": "アプリを削除しますか?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "표준 버전 감지",
 | 
					    "standardVersionDetection": "표준 버전 감지",
 | 
				
			||||||
    "groupByCategory": "카테고리별 그룹화",
 | 
					    "groupByCategory": "카테고리별 그룹화",
 | 
				
			||||||
    "autoApkFilterByArch": "가능한 경우 CPU 아키텍처별로 APK 필터링 시도",
 | 
					    "autoApkFilterByArch": "가능한 경우 CPU 아키텍처별로 APK 필터링 시도",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "가능하면 CPU 아키텍처별로 링크를 필터링해 보세요.",
 | 
				
			||||||
    "overrideSource": "소스 재정의",
 | 
					    "overrideSource": "소스 재정의",
 | 
				
			||||||
    "dontShowAgain": "다시 표시하지 않기",
 | 
					    "dontShowAgain": "다시 표시하지 않기",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "'추적 전용' 경고 표시 안 함",
 | 
					    "dontShowTrackOnlyWarnings": "'추적 전용' 경고 표시 안 함",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "크라우드소싱 앱 구성",
 | 
					    "crowdsourcedConfigsShort": "크라우드소싱 앱 구성",
 | 
				
			||||||
    "allowInsecure": "안전하지 않은 HTTP 요청 허용",
 | 
					    "allowInsecure": "안전하지 않은 HTTP 요청 허용",
 | 
				
			||||||
    "stayOneVersionBehind": "최신 버전보다 한 버전 뒤에 머무르기",
 | 
					    "stayOneVersionBehind": "최신 버전보다 한 버전 뒤에 머무르기",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "여러 앱 중 첫 번째 앱 자동 선택",
 | 
				
			||||||
    "refreshBeforeDownload": "다운로드 전에 앱 세부 정보 새로 고침",
 | 
					    "refreshBeforeDownload": "다운로드 전에 앱 세부 정보 새로 고침",
 | 
				
			||||||
    "tencentAppStore": "텐센트 앱 스토어",
 | 
					    "tencentAppStore": "텐센트 앱 스토어",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "이름",
 | 
				
			||||||
 | 
					    "smartname": "이름(스마트)",
 | 
				
			||||||
 | 
					    "sortMethod": "정렬 방법",
 | 
				
			||||||
 | 
					    "welcome": "환영",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "아래에 링크된 Obtainium 깃허브 페이지에는 앱 사용 방법을 이해하는 데 도움이 되는 동영상, 기사, 토론 및 기타 리소스에 대한 링크가 포함되어 있습니다.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Obtainium의 OS 배터리 최적화를 비활성화하면 백그라운드 다운로드가 더 안정적으로 작동할 수 있습니다.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "파일을 삭제하지 못했습니다(수동으로 삭제한 후 다시 시도하세요): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "앱을 제거하시겠습니까?",
 | 
					        "one": "앱을 제거하시겠습니까?",
 | 
				
			||||||
        "other": "앱을 제거하시겠습니까?"
 | 
					        "other": "앱을 제거하시겠습니까?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Standaard versieherkenning",
 | 
					    "standardVersionDetection": "Standaard versieherkenning",
 | 
				
			||||||
    "groupByCategory": "Groeperen op categorie",
 | 
					    "groupByCategory": "Groeperen op categorie",
 | 
				
			||||||
    "autoApkFilterByArch": "Probeer APK's te filteren op CPU-architectuur, indien mogelijk",
 | 
					    "autoApkFilterByArch": "Probeer APK's te filteren op CPU-architectuur, indien mogelijk",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Probeer links zo mogelijk te filteren op CPU-architectuur",
 | 
				
			||||||
    "overrideSource": "Bron overschrijven",
 | 
					    "overrideSource": "Bron overschrijven",
 | 
				
			||||||
    "dontShowAgain": "Laat dit niet meer zien",
 | 
					    "dontShowAgain": "Laat dit niet meer zien",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Geen waarschuwingen weergeven voor 'Alleen volgen'",
 | 
					    "dontShowTrackOnlyWarnings": "Geen waarschuwingen weergeven voor 'Alleen volgen'",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "App-configuraties door menigte",
 | 
					    "crowdsourcedConfigsShort": "App-configuraties door menigte",
 | 
				
			||||||
    "allowInsecure": "Onveilige HTTP-verzoeken toestaan",
 | 
					    "allowInsecure": "Onveilige HTTP-verzoeken toestaan",
 | 
				
			||||||
    "stayOneVersionBehind": "Blijf een versie achter op de nieuwste",
 | 
					    "stayOneVersionBehind": "Blijf een versie achter op de nieuwste",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Automatisch de eerste van meerdere APK's selecteren",
 | 
				
			||||||
    "refreshBeforeDownload": "Vernieuw app details voor download",
 | 
					    "refreshBeforeDownload": "Vernieuw app details voor download",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Naam",
 | 
				
			||||||
 | 
					    "smartname": "Naam (Slim)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sorteermethode",
 | 
				
			||||||
 | 
					    "welcome": "Welkom",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "De GitHub pagina van Obtainium waarnaar hieronder wordt gelinkt bevat links naar video's, artikelen, discussies en andere bronnen die je zullen helpen begrijpen hoe je de app kunt gebruiken.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Merk op dat downloads op de achtergrond mogelijk betrouwbaarder werken als je de batterijoptimalisatie van het besturingssysteem voor Obtainium uitschakelt.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Bestand is niet verwijderd (probeer het handmatig te verwijderen en probeer het opnieuw): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "App verwijderen?",
 | 
					        "one": "App verwijderen?",
 | 
				
			||||||
        "other": "Apps verwijderen?"
 | 
					        "other": "Apps verwijderen?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Standardowe wykrywanie wersji",
 | 
					    "standardVersionDetection": "Standardowe wykrywanie wersji",
 | 
				
			||||||
    "groupByCategory": "Grupuj według kategorii",
 | 
					    "groupByCategory": "Grupuj według kategorii",
 | 
				
			||||||
    "autoApkFilterByArch": "Spróbuj filtrować pliki APK według architektury procesora, jeśli to możliwe",
 | 
					    "autoApkFilterByArch": "Spróbuj filtrować pliki APK według architektury procesora, jeśli to możliwe",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Spróbuj filtrować linki według architektury procesora, jeśli to możliwe.",
 | 
				
			||||||
    "overrideSource": "Nadpisz źródło",
 | 
					    "overrideSource": "Nadpisz źródło",
 | 
				
			||||||
    "dontShowAgain": "Nie pokazuj tego ponownie",
 | 
					    "dontShowAgain": "Nie pokazuj tego ponownie",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Nie pokazuj ostrzeżeń \"Tylko obserwowana\"",
 | 
					    "dontShowTrackOnlyWarnings": "Nie pokazuj ostrzeżeń \"Tylko obserwowana\"",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Baza konfiguracji",
 | 
					    "crowdsourcedConfigsShort": "Baza konfiguracji",
 | 
				
			||||||
    "allowInsecure": "Zezwalaj na niezabezpieczone żądania HTTP",
 | 
					    "allowInsecure": "Zezwalaj na niezabezpieczone żądania HTTP",
 | 
				
			||||||
    "stayOneVersionBehind": "Pozostań jedną wersję w tyle za najnowszą",
 | 
					    "stayOneVersionBehind": "Pozostań jedną wersję w tyle za najnowszą",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Automatyczny wybór pierwszego z wielu plików APK",
 | 
				
			||||||
    "refreshBeforeDownload": "Odśwież szczegóły aplikacji przed pobraniem",
 | 
					    "refreshBeforeDownload": "Odśwież szczegóły aplikacji przed pobraniem",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Nazwa",
 | 
				
			||||||
 | 
					    "smartname": "Nazwa (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Metoda sortowania",
 | 
				
			||||||
 | 
					    "welcome": "Witamy",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Strona Obtainium GitHub, do której link znajduje się poniżej, zawiera linki do filmów, artykułów, dyskusji i innych zasobów, które pomogą ci zrozumieć, jak korzystać z aplikacji.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Należy pamiętać, że pobieranie w tle może działać bardziej niezawodnie po wyłączeniu optymalizacji baterii systemu operacyjnego dla Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Nie udało się usunąć pliku (spróbuj usunąć go ręcznie, a następnie spróbuj ponownie): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Usunąć aplikację?",
 | 
					        "one": "Usunąć aplikację?",
 | 
				
			||||||
        "few": "Usunąć aplikacje?",
 | 
					        "few": "Usunąć aplikacje?",
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										393
									
								
								assets/translations/pt-BR.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,393 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    "invalidURLForSource": "Não é uma URL de app válida de {}",
 | 
				
			||||||
 | 
					    "noReleaseFound": "Não foi possível encontrar um lançamento adequado",
 | 
				
			||||||
 | 
					    "noVersionFound": "Não foi possível determinar a versão do lançamento",
 | 
				
			||||||
 | 
					    "urlMatchesNoSource": "A URL não corresponde com nenhuma fonte conhecida",
 | 
				
			||||||
 | 
					    "cantInstallOlderVersion": "Não é possível instalar uma versão mais antiga de um app",
 | 
				
			||||||
 | 
					    "appIdMismatch": "O ID do pacote baixado não corresponde ao existente",
 | 
				
			||||||
 | 
					    "functionNotImplemented": "Essa classe não implementou esse recurso ainda",
 | 
				
			||||||
 | 
					    "placeholder": "Espaço reservado",
 | 
				
			||||||
 | 
					    "someErrors": "Ocorreram alguns erros",
 | 
				
			||||||
 | 
					    "unexpectedError": "Erro inesperado",
 | 
				
			||||||
 | 
					    "ok": "Ok",
 | 
				
			||||||
 | 
					    "and": "e",
 | 
				
			||||||
 | 
					    "githubPATLabel": "Token de acesso pessoal do GitHub (aumenta o limite de taxa)",
 | 
				
			||||||
 | 
					    "includePrereleases": "Incluir pré-lançamentos",
 | 
				
			||||||
 | 
					    "fallbackToOlderReleases": "Recorrer à lançamentos mais antigos",
 | 
				
			||||||
 | 
					    "filterReleaseTitlesByRegEx": "Filtrar títulos de lançamentos por expressão regular",
 | 
				
			||||||
 | 
					    "invalidRegEx": "Expressão regular inválida",
 | 
				
			||||||
 | 
					    "noDescription": "Sem descrição",
 | 
				
			||||||
 | 
					    "cancel": "Cancelar",
 | 
				
			||||||
 | 
					    "continue": "Continuar",
 | 
				
			||||||
 | 
					    "requiredInBrackets": "(obrigatório)",
 | 
				
			||||||
 | 
					    "dropdownNoOptsError": "ERRO: O MENU DEVE TER PELO MENOS UMA OPÇÃO",
 | 
				
			||||||
 | 
					    "colour": "Cor",
 | 
				
			||||||
 | 
					    "standard": "Padrão",
 | 
				
			||||||
 | 
					    "custom": "Personalizado",
 | 
				
			||||||
 | 
					    "useMaterialYou": "Usar Material You",
 | 
				
			||||||
 | 
					    "githubStarredRepos": "Repositórios com estrela do GitHub",
 | 
				
			||||||
 | 
					    "uname": "Nome de usuário",
 | 
				
			||||||
 | 
					    "wrongArgNum": "Número errado de argumentos fornecidos",
 | 
				
			||||||
 | 
					    "xIsTrackOnly": "{} é somente de rastreio",
 | 
				
			||||||
 | 
					    "source": "Fonte",
 | 
				
			||||||
 | 
					    "app": "Aplicativo",
 | 
				
			||||||
 | 
					    "appsFromSourceAreTrackOnly": "Apps desta fonte são somente para rastreamento.",
 | 
				
			||||||
 | 
					    "youPickedTrackOnly": "Você selecionou a opção de somente rastreamento.",
 | 
				
			||||||
 | 
					    "trackOnlyAppDescription": "As atualizações do app serão rastreadas, mas o Obtainium não baixará ou instalará elas.",
 | 
				
			||||||
 | 
					    "cancelled": "Cancelado",
 | 
				
			||||||
 | 
					    "appAlreadyAdded": "O app já foi adicionado",
 | 
				
			||||||
 | 
					    "alreadyUpToDateQuestion": "O app já está atualizado?",
 | 
				
			||||||
 | 
					    "addApp": "Adicionar app",
 | 
				
			||||||
 | 
					    "appSourceURL": "URL da fonte do app",
 | 
				
			||||||
 | 
					    "error": "Erro",
 | 
				
			||||||
 | 
					    "add": "Adicionar",
 | 
				
			||||||
 | 
					    "searchSomeSourcesLabel": "Pesquisar (somente algumas fontes)",
 | 
				
			||||||
 | 
					    "search": "Pesquisar",
 | 
				
			||||||
 | 
					    "additionalOptsFor": "Opções adicionais de {}",
 | 
				
			||||||
 | 
					    "supportedSources": "Fontes suportadas",
 | 
				
			||||||
 | 
					    "trackOnlyInBrackets": "(somente rastreamento)",
 | 
				
			||||||
 | 
					    "searchableInBrackets": "(pesquisável)",
 | 
				
			||||||
 | 
					    "appsString": "Aplicativos",
 | 
				
			||||||
 | 
					    "noApps": "Nenhum app",
 | 
				
			||||||
 | 
					    "noAppsForFilter": "Nenhum app pro filtro",
 | 
				
			||||||
 | 
					    "byX": "Por {}",
 | 
				
			||||||
 | 
					    "percentProgress": "Progresso: {}%",
 | 
				
			||||||
 | 
					    "pleaseWait": "Por favor aguarde",
 | 
				
			||||||
 | 
					    "updateAvailable": "Atualização disponível",
 | 
				
			||||||
 | 
					    "notInstalled": "Não instalado",
 | 
				
			||||||
 | 
					    "pseudoVersion": "pseudo-versão",
 | 
				
			||||||
 | 
					    "selectAll": "Selecionar tudo",
 | 
				
			||||||
 | 
					    "deselectX": "Desselecionar {}",
 | 
				
			||||||
 | 
					    "xWillBeRemovedButRemainInstalled": "{} será removido do Obtainium mas continuará instalado no dispositivo.",
 | 
				
			||||||
 | 
					    "removeSelectedAppsQuestion": "Remover os apps selecionados?",
 | 
				
			||||||
 | 
					    "removeSelectedApps": "Remover apps selecionados",
 | 
				
			||||||
 | 
					    "updateX": "Atualizar {}",
 | 
				
			||||||
 | 
					    "installX": "Instalar {}",
 | 
				
			||||||
 | 
					    "markXTrackOnlyAsUpdated": "Marcar {}\n(somente rastreamento)\ncomo atualizado",
 | 
				
			||||||
 | 
					    "changeX": "Alterar {}",
 | 
				
			||||||
 | 
					    "installUpdateApps": "Instalar/atualizar apps",
 | 
				
			||||||
 | 
					    "installUpdateSelectedApps": "Instalar/atualizar apps selecionados",
 | 
				
			||||||
 | 
					    "markXSelectedAppsAsUpdated": "Marcar os {} apps selecionados como atualizados?",
 | 
				
			||||||
 | 
					    "no": "Não",
 | 
				
			||||||
 | 
					    "yes": "Sim",
 | 
				
			||||||
 | 
					    "markSelectedAppsUpdated": "Marcar apps selecionados como atualizados",
 | 
				
			||||||
 | 
					    "pinToTop": "Fixar ao topo",
 | 
				
			||||||
 | 
					    "unpinFromTop": "Desfixar do topo",
 | 
				
			||||||
 | 
					    "resetInstallStatusForSelectedAppsQuestion": "Redefinir o estado de instalação dos apps selecionados?",
 | 
				
			||||||
 | 
					    "installStatusOfXWillBeResetExplanation": "Os estados de instalação dos apps selecionados serão redefinidos.\n\nIsso pode ajudar quando a versão exibida no Obtainium está incorreta devido a atualizações malsucedidas ou outros problemas.",
 | 
				
			||||||
 | 
					    "customLinkMessage": "Esses links funcionarão em dispositivos com o Obtainium instalado",
 | 
				
			||||||
 | 
					    "shareAppConfigLinks": "Compartilhar configuração do app como um link HTML",
 | 
				
			||||||
 | 
					    "shareSelectedAppURLs": "Compartilhar as URLs dos apps selecionados",
 | 
				
			||||||
 | 
					    "resetInstallStatus": "Redefinir estado de instalação",
 | 
				
			||||||
 | 
					    "more": "Mais",
 | 
				
			||||||
 | 
					    "removeOutdatedFilter": "Remover filtro de apps desatualizados",
 | 
				
			||||||
 | 
					    "showOutdatedOnly": "Mostrar somente apps desatualizados",
 | 
				
			||||||
 | 
					    "filter": "Filtro",
 | 
				
			||||||
 | 
					    "filterApps": "Filtrar apps",
 | 
				
			||||||
 | 
					    "appName": "Nome do app",
 | 
				
			||||||
 | 
					    "author": "Autor",
 | 
				
			||||||
 | 
					    "upToDateApps": "Apps atualizados",
 | 
				
			||||||
 | 
					    "nonInstalledApps": "Apps não instalados",
 | 
				
			||||||
 | 
					    "importExport": "Importar/Exportar",
 | 
				
			||||||
 | 
					    "settings": "Configurações",
 | 
				
			||||||
 | 
					    "exportedTo": "Exportado para {}",
 | 
				
			||||||
 | 
					    "obtainiumExport": "Exportação do Obtainium",
 | 
				
			||||||
 | 
					    "invalidInput": "Entrada inválida",
 | 
				
			||||||
 | 
					    "importedX": "{} importado(s)",
 | 
				
			||||||
 | 
					    "obtainiumImport": "Importação do Obtainium",
 | 
				
			||||||
 | 
					    "importFromURLList": "Importar da lista de URLs",
 | 
				
			||||||
 | 
					    "searchQuery": "Consulta de pesquisa",
 | 
				
			||||||
 | 
					    "appURLList": "Lista de URLs dos apps",
 | 
				
			||||||
 | 
					    "line": "Linha",
 | 
				
			||||||
 | 
					    "searchX": "Pesquisar {}",
 | 
				
			||||||
 | 
					    "noResults": "Nenhum resultado encontrado",
 | 
				
			||||||
 | 
					    "importX": "Importar {}",
 | 
				
			||||||
 | 
					    "importedAppsIdDisclaimer": "Os apps importados podem ser exibidos incorretamente como se não estivessem instalados.\nPara resolver isso, reinstale eles pelo Obtainium.\nIsso não afetará os dados dos apps.\n\nIsso somente afeta a URL e os métodos de importação de terceiros.",
 | 
				
			||||||
 | 
					    "importErrors": "Erros de importação",
 | 
				
			||||||
 | 
					    "importedXOfYApps": "{} de {} foram importados.",
 | 
				
			||||||
 | 
					    "followingURLsHadErrors": "As seguintes URLs tiveram erros:",
 | 
				
			||||||
 | 
					    "selectURL": "Selecionar URL",
 | 
				
			||||||
 | 
					    "selectURLs": "Selecionar URLs",
 | 
				
			||||||
 | 
					    "pick": "Escolher",
 | 
				
			||||||
 | 
					    "theme": "Tema",
 | 
				
			||||||
 | 
					    "dark": "Escuro",
 | 
				
			||||||
 | 
					    "light": "Claro",
 | 
				
			||||||
 | 
					    "followSystem": "Seguir o sistema",
 | 
				
			||||||
 | 
					    "followSystemThemeExplanation": "Só é possível seguir o tema do sistema ao usar aplicativos de terceiros",
 | 
				
			||||||
 | 
					    "useBlackTheme": "Usar o tema escuro de preto profundo",
 | 
				
			||||||
 | 
					    "appSortBy": "Ordenar apps por",
 | 
				
			||||||
 | 
					    "authorName": "Autor/nome",
 | 
				
			||||||
 | 
					    "nameAuthor": "Nome/autor",
 | 
				
			||||||
 | 
					    "asAdded": "Como adicionados",
 | 
				
			||||||
 | 
					    "appSortOrder": "Ordem dos apps",
 | 
				
			||||||
 | 
					    "ascending": "Crescente",
 | 
				
			||||||
 | 
					    "descending": "Decrescente",
 | 
				
			||||||
 | 
					    "bgUpdateCheckInterval": "Intervalo de busca por atualizações em segundo plano",
 | 
				
			||||||
 | 
					    "neverManualOnly": "Nunca - somente manualmente",
 | 
				
			||||||
 | 
					    "appearance": "Aparência",
 | 
				
			||||||
 | 
					    "showWebInAppView": "Mostrar a fonte da pagina web na tela de apps",
 | 
				
			||||||
 | 
					    "pinUpdates": "Fixar atualizações no topo da tela de apps",
 | 
				
			||||||
 | 
					    "updates": "Atualizações",
 | 
				
			||||||
 | 
					    "sourceSpecific": "Específico à fonte",
 | 
				
			||||||
 | 
					    "appSource": "Fonte do app",
 | 
				
			||||||
 | 
					    "noLogs": "Nenhum registro",
 | 
				
			||||||
 | 
					    "appLogs": "Registros do app",
 | 
				
			||||||
 | 
					    "close": "Fechar",
 | 
				
			||||||
 | 
					    "share": "Compartilhar",
 | 
				
			||||||
 | 
					    "appNotFound": "O app não foi encontrado",
 | 
				
			||||||
 | 
					    "obtainiumExportHyphenatedLowercase": "obtainium-export",
 | 
				
			||||||
 | 
					    "pickAnAPK": "Selecione um APK",
 | 
				
			||||||
 | 
					    "appHasMoreThanOnePackage": "{} tem mais de um pacote:",
 | 
				
			||||||
 | 
					    "deviceSupportsXArch": "Seu dispositivo suporta a arquitetura de CPU {}.",
 | 
				
			||||||
 | 
					    "deviceSupportsFollowingArchs": "Seu dispositivo suporta as seguintes arquiteturas de CPU:",
 | 
				
			||||||
 | 
					    "warning": "Alerta",
 | 
				
			||||||
 | 
					    "sourceIsXButPackageFromYPrompt": "A fonte do app é '{}' mas o pacote de lançamento vem de '{}'. Continuar mesmo assim?",
 | 
				
			||||||
 | 
					    "updatesAvailable": "Atualizações disponíveis",
 | 
				
			||||||
 | 
					    "updatesAvailableNotifDescription": "Notifica o usuário que atualizações estão disponíveis para um ou mais apps rastreados pelo Obtainium",
 | 
				
			||||||
 | 
					    "noNewUpdates": "Nenhuma atualização disponível.",
 | 
				
			||||||
 | 
					    "xHasAnUpdate": "{} tem uma atualização.",
 | 
				
			||||||
 | 
					    "appsUpdated": "Apps atualizados",
 | 
				
			||||||
 | 
					    "appsNotUpdated": "Falhou ao atualizar os aplicativos",
 | 
				
			||||||
 | 
					    "appsUpdatedNotifDescription": "Notifica o usuário que atualizações de um ou mais apps foram aplicadas em segundo plano",
 | 
				
			||||||
 | 
					    "xWasUpdatedToY": "{} foi atualizado para a versão {}.",
 | 
				
			||||||
 | 
					    "xWasNotUpdatedToY": "Falha ao atualizar {} para a versão {}.",
 | 
				
			||||||
 | 
					    "errorCheckingUpdates": "Ocorreu um erro ao buscar atualizações",
 | 
				
			||||||
 | 
					    "errorCheckingUpdatesNotifDescription": "Uma notificação que mostra quando a busca de atualizações em segundo plano falha",
 | 
				
			||||||
 | 
					    "appsRemoved": "Apps removidos",
 | 
				
			||||||
 | 
					    "appsRemovedNotifDescription": "Notifica o usuário que um ou mais apps foram removidos devido a erros ao carregá-los",
 | 
				
			||||||
 | 
					    "xWasRemovedDueToErrorY": "{} for removido devido ao erro: {}",
 | 
				
			||||||
 | 
					    "completeAppInstallation": "Concluir instalação do app",
 | 
				
			||||||
 | 
					    "obtainiumMustBeOpenToInstallApps": "O Obtainium precisa estar aberto para instalar apps",
 | 
				
			||||||
 | 
					    "completeAppInstallationNotifDescription": "Pede pro usuário voltar ao Obtainium para concluir a instalação de um app",
 | 
				
			||||||
 | 
					    "checkingForUpdates": "Buscando atualizações",
 | 
				
			||||||
 | 
					    "checkingForUpdatesNotifDescription": "Notificação transitória que aparece ao buscar atualizações",
 | 
				
			||||||
 | 
					    "pleaseAllowInstallPerm": "Permita que o Obtainium instale apps",
 | 
				
			||||||
 | 
					    "trackOnly": "Somente rastreamento",
 | 
				
			||||||
 | 
					    "errorWithHttpStatusCode": "Erro {}",
 | 
				
			||||||
 | 
					    "versionCorrectionDisabled": "Correção de versão desativada (o plugin parece não funcionar)",
 | 
				
			||||||
 | 
					    "unknown": "Desconhecido",
 | 
				
			||||||
 | 
					    "none": "Nenhum",
 | 
				
			||||||
 | 
					    "never": "Nunca",
 | 
				
			||||||
 | 
					    "latestVersionX": "Mais recente: {}",
 | 
				
			||||||
 | 
					    "installedVersionX": "Instalado: {}",
 | 
				
			||||||
 | 
					    "lastUpdateCheckX": "Última busca por atualizações: {}",
 | 
				
			||||||
 | 
					    "remove": "Remover",
 | 
				
			||||||
 | 
					    "yesMarkUpdated": "Sim, marcar como atualizado",
 | 
				
			||||||
 | 
					    "fdroid": "Oficial do F-Droid",
 | 
				
			||||||
 | 
					    "appIdOrName": "ID do app ou nome",
 | 
				
			||||||
 | 
					    "appId": "ID do app",
 | 
				
			||||||
 | 
					    "appWithIdOrNameNotFound": "Nenhum app foi encontrado com aquele ID ou nome",
 | 
				
			||||||
 | 
					    "reposHaveMultipleApps": "Repositórios podem conter vários apps",
 | 
				
			||||||
 | 
					    "fdroidThirdPartyRepo": "Repositório de terceiros do F-Droid",
 | 
				
			||||||
 | 
					    "install": "Instalar",
 | 
				
			||||||
 | 
					    "markInstalled": "Marcar como instalado",
 | 
				
			||||||
 | 
					    "update": "Atualizar",
 | 
				
			||||||
 | 
					    "markUpdated": "Marcar como atualizado",
 | 
				
			||||||
 | 
					    "additionalOptions": "Opções adicionais",
 | 
				
			||||||
 | 
					    "disableVersionDetection": "Desativar detecção de versão",
 | 
				
			||||||
 | 
					    "noVersionDetectionExplanation": "Essa opção só seve ser usada para apps aonde a detecção de versão não funciona corretamente.",
 | 
				
			||||||
 | 
					    "downloadingX": "Baixando {}",
 | 
				
			||||||
 | 
					    "downloadX": "Baixar {}",
 | 
				
			||||||
 | 
					    "downloadedX": "{} foi baixado",
 | 
				
			||||||
 | 
					    "releaseAsset": "Item de lançamento",
 | 
				
			||||||
 | 
					    "downloadNotifDescription": "Notifica o usuário do progresso ao baixar um app",
 | 
				
			||||||
 | 
					    "noAPKFound": "Nenhum APK encontrado",
 | 
				
			||||||
 | 
					    "noVersionDetection": "Sem detecção de versão",
 | 
				
			||||||
 | 
					    "categorize": "Categorizar",
 | 
				
			||||||
 | 
					    "categories": "Categorias",
 | 
				
			||||||
 | 
					    "category": "Categoria",
 | 
				
			||||||
 | 
					    "noCategory": "Nenhuma categoria",
 | 
				
			||||||
 | 
					    "noCategories": "Nenhuma categoria",
 | 
				
			||||||
 | 
					    "deleteCategoriesQuestion": "Excluir categorias?",
 | 
				
			||||||
 | 
					    "categoryDeleteWarning": "Todos os apps em categorias excluídas ficarão sem categoria.",
 | 
				
			||||||
 | 
					    "addCategory": "Adicionar categoria",
 | 
				
			||||||
 | 
					    "label": "Rótulo",
 | 
				
			||||||
 | 
					    "language": "Idioma",
 | 
				
			||||||
 | 
					    "copiedToClipboard": "Copiado para a área de transferência",
 | 
				
			||||||
 | 
					    "storagePermissionDenied": "Permissão de armazenamento negada",
 | 
				
			||||||
 | 
					    "selectedCategorizeWarning": "Isso substituirá a configuração de categoria existente dos apps selecionados.",
 | 
				
			||||||
 | 
					    "filterAPKsByRegEx": "Filtrar APKs por expressão regular",
 | 
				
			||||||
 | 
					    "removeFromObtainium": "Remover do Obtainium",
 | 
				
			||||||
 | 
					    "uninstallFromDevice": "Desinstalar do dispositivo",
 | 
				
			||||||
 | 
					    "onlyWorksWithNonVersionDetectApps": "Funciona somente em apps com a detecção de versão desativada.",
 | 
				
			||||||
 | 
					    "releaseDateAsVersion": "Usar data de lançamento como número da versão",
 | 
				
			||||||
 | 
					    "releaseTitleAsVersion": "Usar título do lançamento como número da versão",
 | 
				
			||||||
 | 
					    "releaseDateAsVersionExplanation": "Essa opção só deve ser usada para apps quais a detecção de versão não funciona corretamente, mas uma data de lançamento está disponível.",
 | 
				
			||||||
 | 
					    "changes": "Alterações",
 | 
				
			||||||
 | 
					    "releaseDate": "Data de lançamento",
 | 
				
			||||||
 | 
					    "importFromURLsInFile": "Importar das URLs em arquivo (como OPML)",
 | 
				
			||||||
 | 
					    "versionDetectionExplanation": "Combinar o número da versão com a versão detectada pelo sistema",
 | 
				
			||||||
 | 
					    "versionDetection": "Detecção de versão",
 | 
				
			||||||
 | 
					    "standardVersionDetection": "Detecção de versão padrão",
 | 
				
			||||||
 | 
					    "groupByCategory": "Agrupar por categoria",
 | 
				
			||||||
 | 
					    "autoApkFilterByArch": "Tentar filtrar APKs pela arquitetura da CPU quando possível",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Tentar filtrar links pela arquitetura da CPU quando possível",
 | 
				
			||||||
 | 
					    "overrideSource": "Sobrescrever fonte",
 | 
				
			||||||
 | 
					    "dontShowAgain": "Não mostrar isso novamente",
 | 
				
			||||||
 | 
					    "dontShowTrackOnlyWarnings": "Não mostrar alertas de \"somente rastreamento\"",
 | 
				
			||||||
 | 
					    "dontShowAPKOriginWarnings": "Não mostrar alertas de origem dos APKs",
 | 
				
			||||||
 | 
					    "moveNonInstalledAppsToBottom": "Mover apps não instalados ao final da tela de apps",
 | 
				
			||||||
 | 
					    "gitlabPATLabel": "Token de acesso pessoal do GitLab",
 | 
				
			||||||
 | 
					    "about": "Sobre",
 | 
				
			||||||
 | 
					    "requiresCredentialsInSettings": "{} precisa de credenciais adicionais (nas Configurações)",
 | 
				
			||||||
 | 
					    "checkOnStart": "Buscar atualizações ao abrir o app",
 | 
				
			||||||
 | 
					    "tryInferAppIdFromCode": "Tentar inferir o ID do app pelo código fonte",
 | 
				
			||||||
 | 
					    "removeOnExternalUninstall": "Remover automaticamente apps desinstalados externamente",
 | 
				
			||||||
 | 
					    "pickHighestVersionCode": "Selecionar APK de versão mais alta automaticamente",
 | 
				
			||||||
 | 
					    "checkUpdateOnDetailPage": "Buscar atualizações ao abrir a tela de detalhes de um app",
 | 
				
			||||||
 | 
					    "disablePageTransitions": "Desativar animações de transição de tela",
 | 
				
			||||||
 | 
					    "reversePageTransitions": "Inverter animações de transição de tela",
 | 
				
			||||||
 | 
					    "minStarCount": "Número de estrelas mínimo",
 | 
				
			||||||
 | 
					    "addInfoBelow": "Adicione essa informação abaixo.",
 | 
				
			||||||
 | 
					    "addInfoInSettings": "Adicione essa informação nas Configurações.",
 | 
				
			||||||
 | 
					    "githubSourceNote": "O limite de taxa do GitHub pode ser evitado ao usar uma chave de API.",
 | 
				
			||||||
 | 
					    "sortByLastLinkSegment": "Ordenar somente pelo ultimo segmento do link",
 | 
				
			||||||
 | 
					    "filterReleaseNotesByRegEx": "Filtrar notas de lançamento por expressão regular",
 | 
				
			||||||
 | 
					    "customLinkFilterRegex": "Filtro de link de APK personalizado por expressão regular (padrão '.apk$')",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdated": "Tentativas de atualização de apps",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdatedNotifDescription": "Notifica o usuário que atualizações de um ou mais apps podem ter sido aplicadas em segundo plano",
 | 
				
			||||||
 | 
					    "xWasPossiblyUpdatedToY": "{} pode ter sido atualizado para a versão {}.",
 | 
				
			||||||
 | 
					    "enableBackgroundUpdates": "Ativar atualizações em segundo plano",
 | 
				
			||||||
 | 
					    "backgroundUpdateReqsExplanation": "Atualizações em segundo plano podem não funcionar com todos os apps.",
 | 
				
			||||||
 | 
					    "backgroundUpdateLimitsExplanation": "O sucesso de uma instalação em segundo plano só pode ser determinada ao abrir o Obtainium.",
 | 
				
			||||||
 | 
					    "verifyLatestTag": "Verificar a tag 'mais recente'",
 | 
				
			||||||
 | 
					    "intermediateLinkRegex": "Filtrar por um link 'intermediário' para visitar",
 | 
				
			||||||
 | 
					    "filterByLinkText": "Filtrar links por texto do link",
 | 
				
			||||||
 | 
					    "intermediateLinkNotFound": "Link intermediário não encontrado",
 | 
				
			||||||
 | 
					    "intermediateLink": "Link intermediário",
 | 
				
			||||||
 | 
					    "exemptFromBackgroundUpdates": "Isento de atualizações em segundo plano (caso ativadas)",
 | 
				
			||||||
 | 
					    "bgUpdatesOnWiFiOnly": "Desativar atualizações em segundo plano fora do Wi-Fi",
 | 
				
			||||||
 | 
					    "bgUpdatesWhileChargingOnly": "Desativar atualizações em segundo plano fora do carregador",
 | 
				
			||||||
 | 
					    "autoSelectHighestVersionCode": "Selecionar automaticamente APK com o código de versão mais alto",
 | 
				
			||||||
 | 
					    "versionExtractionRegEx": "ExReg de extração do número da versão",
 | 
				
			||||||
 | 
					    "trimVersionString": "Cortar número da versal com ExReg",
 | 
				
			||||||
 | 
					    "matchGroupToUseForX": "Corresponder grupo para o uso em \"{}\"",
 | 
				
			||||||
 | 
					    "matchGroupToUse": "Corresponder grupo para o uso para a extração do número da versão por ExReg",
 | 
				
			||||||
 | 
					    "highlightTouchTargets": "Acentuar alvos de toque menos óbvios",
 | 
				
			||||||
 | 
					    "pickExportDir": "Selecionar pasta de exportação",
 | 
				
			||||||
 | 
					    "autoExportOnChanges": "Exportar automaticamente ao ocorrer alterações",
 | 
				
			||||||
 | 
					    "includeSettings": "Incluir configurações",
 | 
				
			||||||
 | 
					    "filterVersionsByRegEx": "Filtrar versões por expressão regular",
 | 
				
			||||||
 | 
					    "trySelectingSuggestedVersionCode": "Tente selecionar o APK com o código de versão sugerido",
 | 
				
			||||||
 | 
					    "dontSortReleasesList": "Manter ordem de lançamento da API",
 | 
				
			||||||
 | 
					    "reverseSort": "Ordem inversa",
 | 
				
			||||||
 | 
					    "takeFirstLink": "Usar o primeiro link",
 | 
				
			||||||
 | 
					    "skipSort": "Pular ordenação",
 | 
				
			||||||
 | 
					    "debugMenu": "Menu de depuração",
 | 
				
			||||||
 | 
					    "bgTaskStarted": "Tarefa em segundo plano iniada - verifique os registros.",
 | 
				
			||||||
 | 
					    "runBgCheckNow": "Executar busca por atualizações em segundo plano agora",
 | 
				
			||||||
 | 
					    "versionExtractWholePage": "Aplicar ExReg de extração de número de versão à página inteira",
 | 
				
			||||||
 | 
					    "installing": "Instalando",
 | 
				
			||||||
 | 
					    "skipUpdateNotifications": "Pular notificações de atualização",
 | 
				
			||||||
 | 
					    "updatesAvailableNotifChannel": "Atualizações disponíveis",
 | 
				
			||||||
 | 
					    "appsUpdatedNotifChannel": "Apps atualizados",
 | 
				
			||||||
 | 
					    "appsPossiblyUpdatedNotifChannel": "Tentativas de atualização de apps",
 | 
				
			||||||
 | 
					    "errorCheckingUpdatesNotifChannel": "Erro ao buscar atualizações",
 | 
				
			||||||
 | 
					    "appsRemovedNotifChannel": "Apps removidos",
 | 
				
			||||||
 | 
					    "downloadingXNotifChannel": "Baixando {}",
 | 
				
			||||||
 | 
					    "completeAppInstallationNotifChannel": "Concluir instalação do app",
 | 
				
			||||||
 | 
					    "checkingForUpdatesNotifChannel": "Buscando atualizações",
 | 
				
			||||||
 | 
					    "onlyCheckInstalledOrTrackOnlyApps": "Buscar atualizações somente para apps instalados e de somente rastreamento",
 | 
				
			||||||
 | 
					    "supportFixedAPKURL": "Suportar URLs de APK fixas",
 | 
				
			||||||
 | 
					    "selectX": "Selecionar {}",
 | 
				
			||||||
 | 
					    "parallelDownloads": "Permitir downloads em paralelo",
 | 
				
			||||||
 | 
					    "useShizuku": "Usar Shizuku ou Sui para instalação",
 | 
				
			||||||
 | 
					    "shizukuBinderNotFound": "Serviço Shizuku não está em execução",
 | 
				
			||||||
 | 
					    "shizukuOld": "Versão do Shizuku antiga (<11) - atualize",
 | 
				
			||||||
 | 
					    "shizukuOldAndroidWithADB": "Shizuku sendo executado no Android < 8.1 com ADB - atualize o Android ou use o Sui",
 | 
				
			||||||
 | 
					    "shizukuPretendToBeGooglePlay": "Definir Google Play como a fonte de instalação (se o Shizuku é usado)",
 | 
				
			||||||
 | 
					    "useSystemFont": "Usar a fonte do sistema",
 | 
				
			||||||
 | 
					    "useVersionCodeAsOSVersion": "Usar código de versão do app como a versão detectada pelo sistema",
 | 
				
			||||||
 | 
					    "requestHeader": "Cabeçalho da solicitação",
 | 
				
			||||||
 | 
					    "useLatestAssetDateAsReleaseDate": "Usar o envio de item mais recente como a data de lançamento",
 | 
				
			||||||
 | 
					    "defaultPseudoVersioningMethod": "Método de pseudo-versão padrão",
 | 
				
			||||||
 | 
					    "partialAPKHash": "Hash do APK parcial",
 | 
				
			||||||
 | 
					    "APKLinkHash": "Hash do link do APK",
 | 
				
			||||||
 | 
					    "directAPKLink": "Link direto ao APK",
 | 
				
			||||||
 | 
					    "pseudoVersionInUse": "Uma pseudo-versão está em uso",
 | 
				
			||||||
 | 
					    "installed": "Instalado",
 | 
				
			||||||
 | 
					    "latest": "Mais recente",
 | 
				
			||||||
 | 
					    "invertRegEx": "Inverter expressão regular",
 | 
				
			||||||
 | 
					    "note": "Observação",
 | 
				
			||||||
 | 
					    "selfHostedNote": "O menu de opções \"{}\" pode ser usado para alcançar instâncias hospedadas-por-você/personalizadas de qualquer fonte.",
 | 
				
			||||||
 | 
					    "badDownload": "O APK não pode ser interpretado (incompatível ou baixado parcialmente)",
 | 
				
			||||||
 | 
					    "beforeNewInstallsShareToAppVerifier": "Compartilhar apps novos com o AppVerifier (se disponível)",
 | 
				
			||||||
 | 
					    "appVerifierInstructionToast": "Compartilhe com o AppVerifier, e volte aqui ao estar pronto.",
 | 
				
			||||||
 | 
					    "wiki": "Ajuda/Wiki",
 | 
				
			||||||
 | 
					    "crowdsourcedConfigsLabel": "Configurações de app pela comunidade (use ao seu próprio risco)",
 | 
				
			||||||
 | 
					    "crowdsourcedConfigsShort": "Configurações de app da comunidade",
 | 
				
			||||||
 | 
					    "allowInsecure": "Permitir solicitações de HTTP inseguras",
 | 
				
			||||||
 | 
					    "stayOneVersionBehind": "Ficar uma versão antes da mais recente",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Seleção automática do primeiro de vários APKs",
 | 
				
			||||||
 | 
					    "refreshBeforeDownload": "Atualizar detalhes do app antes de baixar",
 | 
				
			||||||
 | 
					    "tencentAppStore": "Loja de Apps da Tencent",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "Vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Nome",
 | 
				
			||||||
 | 
					    "smartname": "Nome (inteligente)",
 | 
				
			||||||
 | 
					    "sortMethod": "Método de ordenação",
 | 
				
			||||||
 | 
					    "welcome": "Boas vindas",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "A página do Obtainium no GitHub visível abaixo contém links de vídeos, artigos, discussões, e outros recursos que podem te ajudar ao usar o app.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Observe que os downloads em segundo plano podem funcionar de forma mais confiável se você desativar as otimizações de bateria do sistema operacional para o Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Falha ao excluir o arquivo (tente excluí-lo manualmente e tente novamente): \"{}\"",
 | 
				
			||||||
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
 | 
					        "one": "Remover app?",
 | 
				
			||||||
 | 
					        "other": "Remover apps?"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "tooManyRequestsTryAgainInMinutes": {
 | 
				
			||||||
 | 
					        "one": "Muitas solicitações (limitado) - tente novamente em {} minuto",
 | 
				
			||||||
 | 
					        "other": "Muitas solicitações (limitado) - tente novamente em {} minutos"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "bgUpdateGotErrorRetryInMinutes": {
 | 
				
			||||||
 | 
					        "one": "A busca de atualizações em segundo plano encontrou um {}, será agendado uma nova tentativa em {} minuto",
 | 
				
			||||||
 | 
					        "other": "A busca de atualizações em segundo plano encontrou um {}, será agendado uma nova tentativa em {} minutos"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "bgCheckFoundUpdatesWillNotifyIfNeeded": {
 | 
				
			||||||
 | 
					        "one": "Verificação da atualização do BG encontrada {} atualização - notificará o usuário se necessário",
 | 
				
			||||||
 | 
					        "other": "Verificação de atualização do BG encontrou atualizações {} - notificará o usuário se necessário"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "apps": {
 | 
				
			||||||
 | 
					        "one": "{} app",
 | 
				
			||||||
 | 
					        "other": "{} apps"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "url": {
 | 
				
			||||||
 | 
					        "one": "{} URL",
 | 
				
			||||||
 | 
					        "other": "{} URLs"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "minute": {
 | 
				
			||||||
 | 
					        "one": "{} minuto",
 | 
				
			||||||
 | 
					        "other": "{} minutos"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "hour": {
 | 
				
			||||||
 | 
					        "one": "{} hora",
 | 
				
			||||||
 | 
					        "other": "{} horas"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "day": {
 | 
				
			||||||
 | 
					        "one": "{} dia",
 | 
				
			||||||
 | 
					        "other": "{} dias"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "clearedNLogsBeforeXAfterY": {
 | 
				
			||||||
 | 
					        "one": "Limpou {n} registros (before = {before}, after = {after})",
 | 
				
			||||||
 | 
					        "other": "Limpou {n} registros (antes = {before}, depois = {after})"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesAvailable": {
 | 
				
			||||||
 | 
					        "one": "{} e mais 1 app têm atualizações.",
 | 
				
			||||||
 | 
					        "other": "{} e mais {} apps têm atualizações."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesInstalled": {
 | 
				
			||||||
 | 
					        "one": "{} e mais 1 app foram atualizados.",
 | 
				
			||||||
 | 
					        "other": "{} e mais {} apps foram atualizados."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesFailed": {
 | 
				
			||||||
 | 
					        "one": "Falha ao atualizar {} e mais 1 app.",
 | 
				
			||||||
 | 
					        "other": "Falha ao atualizar {} e mais {} apps."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "xAndNMoreUpdatesPossiblyInstalled": {
 | 
				
			||||||
 | 
					        "one": "{} e mais 1 app podem ter sido atualizados.",
 | 
				
			||||||
 | 
					        "other": "{} e mais {} apps podem ter sido atualizados."
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "apk": {
 | 
				
			||||||
 | 
					        "one": "{} APK",
 | 
				
			||||||
 | 
					        "other": "{} APKs"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Detecção de versão padrão",
 | 
					    "standardVersionDetection": "Detecção de versão padrão",
 | 
				
			||||||
    "groupByCategory": "Agroupar por categoria",
 | 
					    "groupByCategory": "Agroupar por categoria",
 | 
				
			||||||
    "autoApkFilterByArch": "Tente filtrar APKs por arquitetura de CPU, se possível",
 | 
					    "autoApkFilterByArch": "Tente filtrar APKs por arquitetura de CPU, se possível",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Tentativa de filtrar as ligações por arquitetura de CPU, se possível",
 | 
				
			||||||
    "overrideSource": "Substituir fonte",
 | 
					    "overrideSource": "Substituir fonte",
 | 
				
			||||||
    "dontShowAgain": "Não mostrar isso novamente",
 | 
					    "dontShowAgain": "Não mostrar isso novamente",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Não mostrar avisos 'Apenas monitorar'",
 | 
					    "dontShowTrackOnlyWarnings": "Não mostrar avisos 'Apenas monitorar'",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Configurações de aplicações com base em crowdsourcing",
 | 
					    "crowdsourcedConfigsShort": "Configurações de aplicações com base em crowdsourcing",
 | 
				
			||||||
    "allowInsecure": "Permitir pedidos HTTP inseguros",
 | 
					    "allowInsecure": "Permitir pedidos HTTP inseguros",
 | 
				
			||||||
    "stayOneVersionBehind": "Manter-se uma versão atrás da mais recente",
 | 
					    "stayOneVersionBehind": "Manter-se uma versão atrás da mais recente",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Seleção automática do primeiro de vários APKs",
 | 
				
			||||||
    "refreshBeforeDownload": "Atualizar os detalhes da aplicação antes da transferência",
 | 
					    "refreshBeforeDownload": "Atualizar os detalhes da aplicação antes da transferência",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Nome",
 | 
				
			||||||
 | 
					    "smartname": "Nome (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Método de ordenação",
 | 
				
			||||||
 | 
					    "welcome": "Bem-vindo",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "A página do Obtainium no GitHub com a ligação abaixo contém ligações para vídeos, artigos, discussões e outros recursos que o ajudarão a compreender como utilizar a aplicação.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Note que os downloads em segundo plano podem funcionar de forma mais fiável se desativar as optimizações da bateria do SO para o Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Falha ao eliminar o ficheiro (tente eliminá-lo manualmente e depois tente novamente): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Remover aplicativo?",
 | 
					        "one": "Remover aplicativo?",
 | 
				
			||||||
        "other": "Remover aplicativos?"
 | 
					        "other": "Remover aplicativos?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Стандартное",
 | 
					    "standardVersionDetection": "Стандартное",
 | 
				
			||||||
    "groupByCategory": "Группировать по категориям",
 | 
					    "groupByCategory": "Группировать по категориям",
 | 
				
			||||||
    "autoApkFilterByArch": "Попытаться отфильтровать APK-файлы по архитектуре процессора",
 | 
					    "autoApkFilterByArch": "Попытаться отфильтровать APK-файлы по архитектуре процессора",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Попытайтесь отфильтровать ссылки по архитектуре процессора, если это возможно",
 | 
				
			||||||
    "overrideSource": "Переопределить источник",
 | 
					    "overrideSource": "Переопределить источник",
 | 
				
			||||||
    "dontShowAgain": "Не показывать снова",
 | 
					    "dontShowAgain": "Не показывать снова",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Не показывать предупреждения о только отслеживаемых приложениях",
 | 
					    "dontShowTrackOnlyWarnings": "Не показывать предупреждения о только отслеживаемых приложениях",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Конфиги приложений с помощью краудсорсинга",
 | 
					    "crowdsourcedConfigsShort": "Конфиги приложений с помощью краудсорсинга",
 | 
				
			||||||
    "allowInsecure": "Разрешить небезопасные HTTP-запросы",
 | 
					    "allowInsecure": "Разрешить небезопасные HTTP-запросы",
 | 
				
			||||||
    "stayOneVersionBehind": "Не отставайте от последней версии",
 | 
					    "stayOneVersionBehind": "Не отставайте от последней версии",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Автоматический выбор первого из нескольких APK",
 | 
				
			||||||
    "refreshBeforeDownload": "Обновляйте информацию о приложении перед загрузкой",
 | 
					    "refreshBeforeDownload": "Обновляйте информацию о приложении перед загрузкой",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Имя",
 | 
				
			||||||
 | 
					    "smartname": "Имя (умное)",
 | 
				
			||||||
 | 
					    "sortMethod": "Метод сортировки",
 | 
				
			||||||
 | 
					    "welcome": "Добро пожаловать",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "На странице Obtainium GitHub, ссылка на которую приведена ниже, содержатся ссылки на видео, статьи, обсуждения и другие ресурсы, которые помогут вам понять, как пользоваться приложением.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Обратите внимание, что фоновая загрузка может работать более надежно, если отключить оптимизацию батареи ОС для Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Не удалось удалить файл (попробуйте удалить его вручную, а затем повторите попытку): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Удалить приложение?",
 | 
					        "one": "Удалить приложение?",
 | 
				
			||||||
        "other": "Удалить приложения?"
 | 
					        "other": "Удалить приложения?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,14 @@ const neverAutoTranslate = {
 | 
				
			|||||||
    obtainiumExportHyphenatedLowercase: ['*'],
 | 
					    obtainiumExportHyphenatedLowercase: ['*'],
 | 
				
			||||||
    theme: ['de'],
 | 
					    theme: ['de'],
 | 
				
			||||||
    appId: ['de'],
 | 
					    appId: ['de'],
 | 
				
			||||||
    placeholder: ['pl']
 | 
					    placeholder: ['pl'],
 | 
				
			||||||
 | 
					    importExport: ['fr'],
 | 
				
			||||||
 | 
					    url: ['fr'],
 | 
				
			||||||
 | 
					    vivoAppStore: ['cs', 'ja', 'ko'],
 | 
				
			||||||
 | 
					    coolapk: ['ja'],
 | 
				
			||||||
 | 
					    obtainiumImport: ['nl'],
 | 
				
			||||||
 | 
					    appLogs: ['nl'],
 | 
				
			||||||
 | 
					    tencentAppStore: ['*']
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const translateText = async (text, targetLang, authKey) => {
 | 
					const translateText = async (text, targetLang, authKey) => {
 | 
				
			||||||
@@ -76,12 +83,18 @@ const main = async () => {
 | 
				
			|||||||
        const translationKeys = Object.keys(templateTranslation)
 | 
					        const translationKeys = Object.keys(templateTranslation)
 | 
				
			||||||
        for (let j in translationKeys) {
 | 
					        for (let j in translationKeys) {
 | 
				
			||||||
            const k = translationKeys[j]
 | 
					            const k = translationKeys[j]
 | 
				
			||||||
 | 
					            try {
 | 
				
			||||||
                if (JSON.stringify(thisTranslation[k]) == JSON.stringify(templateTranslation[k])) {
 | 
					                if (JSON.stringify(thisTranslation[k]) == JSON.stringify(templateTranslation[k])) {
 | 
				
			||||||
                    const lang = file.split('/').pop().split('.')[0]
 | 
					                    const lang = file.split('/').pop().split('.')[0]
 | 
				
			||||||
                    if (!neverAutoTranslate[k] || (neverAutoTranslate[k].indexOf('*') < 0 && neverAutoTranslate[k].indexOf(lang) < 0)) {
 | 
					                    if (!neverAutoTranslate[k] || (neverAutoTranslate[k].indexOf('*') < 0 && neverAutoTranslate[k].indexOf(lang) < 0)) {
 | 
				
			||||||
                        const reportLine = `${file} :::: ${k} :::: ${JSON.stringify(thisTranslation[k])}`
 | 
					                        const reportLine = `${file} :::: ${k} :::: ${JSON.stringify(thisTranslation[k])}`
 | 
				
			||||||
                        if (deeplAPIKey) {
 | 
					                        if (deeplAPIKey) {
 | 
				
			||||||
                            const translateFunc = async (str) => {
 | 
					                            const translateFunc = async (str) => {
 | 
				
			||||||
 | 
					                                await new Promise((resolve, reject) => {
 | 
				
			||||||
 | 
					                                    setTimeout(() => {
 | 
				
			||||||
 | 
					                                        resolve()
 | 
				
			||||||
 | 
					                                    }, Math.random() * 10000); // Try to avoid rate limit
 | 
				
			||||||
 | 
					                                })
 | 
				
			||||||
                                const response = await translateText(str, lang, deeplAPIKey)
 | 
					                                const response = await translateText(str, lang, deeplAPIKey)
 | 
				
			||||||
                                if (response.translations) {
 | 
					                                if (response.translations) {
 | 
				
			||||||
                                    return response.translations[0].text
 | 
					                                    return response.translations[0].text
 | 
				
			||||||
@@ -111,6 +124,9 @@ const main = async () => {
 | 
				
			|||||||
                        }
 | 
					                        }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					            } catch (err) {
 | 
				
			||||||
 | 
					                console.error(err)
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        fs.writeFileSync(file, `${JSON.stringify(thisTranslation, null, '    ')}\n`)
 | 
					        fs.writeFileSync(file, `${JSON.stringify(thisTranslation, null, '    ')}\n`)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Standardversionsdetektering",
 | 
					    "standardVersionDetection": "Standardversionsdetektering",
 | 
				
			||||||
    "groupByCategory": "Gruppera via Kategori",
 | 
					    "groupByCategory": "Gruppera via Kategori",
 | 
				
			||||||
    "autoApkFilterByArch": "Försök att filtrera APK-filer efter CPU-arkitektur om möjligt",
 | 
					    "autoApkFilterByArch": "Försök att filtrera APK-filer efter CPU-arkitektur om möjligt",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Försök att filtrera länkar efter CPU-arkitektur om möjligt",
 | 
				
			||||||
    "overrideSource": "Överskrid Källa",
 | 
					    "overrideSource": "Överskrid Källa",
 | 
				
			||||||
    "dontShowAgain": "Visa inte detta igen",
 | 
					    "dontShowAgain": "Visa inte detta igen",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Visa inte 'Följ-Endast' varningar",
 | 
					    "dontShowTrackOnlyWarnings": "Visa inte 'Följ-Endast' varningar",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Appkonfigurationer med hjälp av crowdsourcing",
 | 
					    "crowdsourcedConfigsShort": "Appkonfigurationer med hjälp av crowdsourcing",
 | 
				
			||||||
    "allowInsecure": "Tillåt osäkra HTTP-förfrågningar",
 | 
					    "allowInsecure": "Tillåt osäkra HTTP-förfrågningar",
 | 
				
			||||||
    "stayOneVersionBehind": "Håll dig en version bakom den senaste",
 | 
					    "stayOneVersionBehind": "Håll dig en version bakom den senaste",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Välj automatiskt den första av flera APK:er",
 | 
				
			||||||
    "refreshBeforeDownload": "Uppdatera appdetaljerna före nedladdning",
 | 
					    "refreshBeforeDownload": "Uppdatera appdetaljerna före nedladdning",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Namn",
 | 
				
			||||||
 | 
					    "smartname": "Namn (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sorteringsmetod",
 | 
				
			||||||
 | 
					    "welcome": "Välkommen",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Obtainium GitHub-sidan som länkas nedan innehåller länkar till videor, artiklar, diskussioner och andra resurser som hjälper dig att förstå hur du använder appen.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Observera att nedladdningar i bakgrunden kan fungera mer tillförlitligt om du inaktiverar OS-batterioptimeringar för Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Misslyckades med att radera filen (försök radera den manuellt och försök sedan igen): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Ta Bort App?",
 | 
					        "one": "Ta Bort App?",
 | 
				
			||||||
        "other": "Ta Bort Appar?"
 | 
					        "other": "Ta Bort Appar?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Standart sürüm tespiti",
 | 
					    "standardVersionDetection": "Standart sürüm tespiti",
 | 
				
			||||||
    "groupByCategory": "Kategoriye Göre Grupla",
 | 
					    "groupByCategory": "Kategoriye Göre Grupla",
 | 
				
			||||||
    "autoApkFilterByArch": "Mümkünse APK'leri CPU mimarisi ile filtreleme girişimi",
 | 
					    "autoApkFilterByArch": "Mümkünse APK'leri CPU mimarisi ile filtreleme girişimi",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Mümkünse bağlantıları CPU mimarisine göre filtrelemeye çalışın",
 | 
				
			||||||
    "overrideSource": "Öncelenecek Kaynak",
 | 
					    "overrideSource": "Öncelenecek Kaynak",
 | 
				
			||||||
    "dontShowAgain": "Bunu tekrar gösterme",
 | 
					    "dontShowAgain": "Bunu tekrar gösterme",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "'Yalnızca Takip Edilen' uyarılarını gösterme",
 | 
					    "dontShowTrackOnlyWarnings": "'Yalnızca Takip Edilen' uyarılarını gösterme",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Kitle Kaynaklı Uygulama Yapılandırmaları",
 | 
					    "crowdsourcedConfigsShort": "Kitle Kaynaklı Uygulama Yapılandırmaları",
 | 
				
			||||||
    "allowInsecure": "Güvensiz HTTP isteklerine izin ver",
 | 
					    "allowInsecure": "Güvensiz HTTP isteklerine izin ver",
 | 
				
			||||||
    "stayOneVersionBehind": "En son sürümün bir sürüm gerisinde kalın",
 | 
					    "stayOneVersionBehind": "En son sürümün bir sürüm gerisinde kalın",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Birden fazla APK arasından ilkini otomatik seçme",
 | 
				
			||||||
    "refreshBeforeDownload": "İndirmeden önce uygulama ayrıntılarını yenileyin",
 | 
					    "refreshBeforeDownload": "İndirmeden önce uygulama ayrıntılarını yenileyin",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "İsim",
 | 
				
			||||||
 | 
					    "smartname": "İsim (Akıllı)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sıralama Yöntemi",
 | 
				
			||||||
 | 
					    "welcome": "Hoş geldiniz",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Aşağıda bağlantısı verilen Obtainium GitHub sayfası, uygulamayı nasıl kullanacağınızı anlamanıza yardımcı olacak videolara, makalelere, tartışmalara ve diğer kaynaklara bağlantılar içerir.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Obtainium için işletim sistemi pil optimizasyonlarını devre dışı bırakırsanız arka planda indirmelerin daha güvenilir şekilde çalışabileceğini unutmayın.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Dosya silinemedi (elle silmeyi deneyin ve sonra tekrar deneyin): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Uygulamayı Kaldır?",
 | 
					        "one": "Uygulamayı Kaldır?",
 | 
				
			||||||
        "other": "Uygulamaları Kaldır?"
 | 
					        "other": "Uygulamaları Kaldır?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Стандартне визначення версії",
 | 
					    "standardVersionDetection": "Стандартне визначення версії",
 | 
				
			||||||
    "groupByCategory": "Групувати за категоріями",
 | 
					    "groupByCategory": "Групувати за категоріями",
 | 
				
			||||||
    "autoApkFilterByArch": "Спробувати фільтрувати APK за архітектурою ЦП, якщо можливо",
 | 
					    "autoApkFilterByArch": "Спробувати фільтрувати APK за архітектурою ЦП, якщо можливо",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Спробуйте відфільтрувати посилання за архітектурою процесора, якщо це можливо",
 | 
				
			||||||
    "overrideSource": "Перевизначити джерело",
 | 
					    "overrideSource": "Перевизначити джерело",
 | 
				
			||||||
    "dontShowAgain": "Не показувати це знову",
 | 
					    "dontShowAgain": "Не показувати це знову",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Не показувати попередження про 'Тільки відстеження'",
 | 
					    "dontShowTrackOnlyWarnings": "Не показувати попередження про 'Тільки відстеження'",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "Налаштування краудсорсингових додатків",
 | 
					    "crowdsourcedConfigsShort": "Налаштування краудсорсингових додатків",
 | 
				
			||||||
    "allowInsecure": "Дозволити незахищені HTTP-запити",
 | 
					    "allowInsecure": "Дозволити незахищені HTTP-запити",
 | 
				
			||||||
    "stayOneVersionBehind": "Залишайтеся на одну версію актуальнішою",
 | 
					    "stayOneVersionBehind": "Залишайтеся на одну версію актуальнішою",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Автоматичний вибір першого з декількох APK",
 | 
				
			||||||
    "refreshBeforeDownload": "Оновіть інформацію про програму перед завантаженням",
 | 
					    "refreshBeforeDownload": "Оновіть інформацію про програму перед завантаженням",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Ім'я",
 | 
				
			||||||
 | 
					    "smartname": "Ім'я (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Метод сортування",
 | 
				
			||||||
 | 
					    "welcome": "Ласкаво просимо.",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "Сторінка Obtainium на GitHub, посилання на яку наведено нижче, містить посилання на відео, статті, дискусії та інші ресурси, які допоможуть вам зрозуміти, як користуватися додатком.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Зауважте, що фонові завантаження можуть працювати надійніше, якщо ви вимкнете оптимізацію батареї ОС для Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Не вдалося видалити файл (спробуйте видалити його вручну, а потім спробуйте ще раз): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Видалити застосунок?",
 | 
					        "one": "Видалити застосунок?",
 | 
				
			||||||
        "other": "Видалити застосунки?"
 | 
					        "other": "Видалити застосунки?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "Phát hiện phiên bản tiêu chuẩn",
 | 
					    "standardVersionDetection": "Phát hiện phiên bản tiêu chuẩn",
 | 
				
			||||||
    "groupByCategory": "Nhóm theo danh mục",
 | 
					    "groupByCategory": "Nhóm theo danh mục",
 | 
				
			||||||
    "autoApkFilterByArch": "Cố gắng lọc APK theo kiến trúc CPU nếu có thể",
 | 
					    "autoApkFilterByArch": "Cố gắng lọc APK theo kiến trúc CPU nếu có thể",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "Attempt to filter links by CPU architecture if possible",
 | 
				
			||||||
    "overrideSource": "Ghi đè nguồn",
 | 
					    "overrideSource": "Ghi đè nguồn",
 | 
				
			||||||
    "dontShowAgain": "Đừng hiển thị thông tin này nữa",
 | 
					    "dontShowAgain": "Đừng hiển thị thông tin này nữa",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "Không hiển thị cảnh báo 'Chỉ theo dõi'",
 | 
					    "dontShowTrackOnlyWarnings": "Không hiển thị cảnh báo 'Chỉ theo dõi'",
 | 
				
			||||||
@@ -314,11 +315,21 @@
 | 
				
			|||||||
    "appVerifierInstructionToast": "Chia sẻ lên AppVerifier, sau đó quay lại đây khi sẵn sàng.",
 | 
					    "appVerifierInstructionToast": "Chia sẻ lên AppVerifier, sau đó quay lại đây khi sẵn sàng.",
 | 
				
			||||||
    "wiki": "Trợ giúp/Wiki",
 | 
					    "wiki": "Trợ giúp/Wiki",
 | 
				
			||||||
    "crowdsourcedConfigsLabel": "Crowdsourced App Configurations (use at your own risk)",
 | 
					    "crowdsourcedConfigsLabel": "Crowdsourced App Configurations (use at your own risk)",
 | 
				
			||||||
    "crowdsourcedConfigsShort": "Crowdsourced App Configs",
 | 
					    "crowdsourcedConfigsShort": "Crowdsourced App Configurations",
 | 
				
			||||||
    "allowInsecure": "Allow insecure HTTP requests",
 | 
					    "allowInsecure": "Allow insecure HTTP requests",
 | 
				
			||||||
    "stayOneVersionBehind": "Stay one version behind latest",
 | 
					    "stayOneVersionBehind": "Stay one version behind latest",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "Auto-select first of multiple APKs",
 | 
				
			||||||
    "refreshBeforeDownload": "Refresh app details before download",
 | 
					    "refreshBeforeDownload": "Refresh app details before download",
 | 
				
			||||||
    "tencentAppStore": "Tencent App Store",
 | 
					    "tencentAppStore": "Tencent App Store",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "Name",
 | 
				
			||||||
 | 
					    "smartname": "Name (Smart)",
 | 
				
			||||||
 | 
					    "sortMethod": "Sort Method",
 | 
				
			||||||
 | 
					    "welcome": "Welcome",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Note that background downloads may work more reliably if you disable OS battery optimizations for Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Failed to delete file (try deleting it manually then try again): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "Gỡ ứng dụng?",
 | 
					        "one": "Gỡ ứng dụng?",
 | 
				
			||||||
        "other": "Gỡ ứng dụng?"
 | 
					        "other": "Gỡ ứng dụng?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -211,7 +211,7 @@
 | 
				
			|||||||
    "uninstallFromDevice": "從裝置解除安裝",
 | 
					    "uninstallFromDevice": "從裝置解除安裝",
 | 
				
			||||||
    "onlyWorksWithNonVersionDetectApps": "僅適用於停用版本偵測的應用程式。",
 | 
					    "onlyWorksWithNonVersionDetectApps": "僅適用於停用版本偵測的應用程式。",
 | 
				
			||||||
    "releaseDateAsVersion": "使用發佈日期作為版本字串",
 | 
					    "releaseDateAsVersion": "使用發佈日期作為版本字串",
 | 
				
			||||||
    "releaseTitleAsVersion": "Use release title as version string",
 | 
					    "releaseTitleAsVersion": "使用發佈標題作為版本字串",
 | 
				
			||||||
    "releaseDateAsVersionExplanation": "此選項僅應用於版本偵測無法正確工作但有發佈日期的應用程式。",
 | 
					    "releaseDateAsVersionExplanation": "此選項僅應用於版本偵測無法正確工作但有發佈日期的應用程式。",
 | 
				
			||||||
    "changes": "變更",
 | 
					    "changes": "變更",
 | 
				
			||||||
    "releaseDate": "發佈日期",
 | 
					    "releaseDate": "發佈日期",
 | 
				
			||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "標準版本偵測",
 | 
					    "standardVersionDetection": "標準版本偵測",
 | 
				
			||||||
    "groupByCategory": "按類別分組",
 | 
					    "groupByCategory": "按類別分組",
 | 
				
			||||||
    "autoApkFilterByArch": "如果可能,嘗試按 CPU 架構過濾 APK",
 | 
					    "autoApkFilterByArch": "如果可能,嘗試按 CPU 架構過濾 APK",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "若可能,自動根據 CPU 架構篩選連結",
 | 
				
			||||||
    "overrideSource": "覆蓋來源",
 | 
					    "overrideSource": "覆蓋來源",
 | 
				
			||||||
    "dontShowAgain": "不要再顯示",
 | 
					    "dontShowAgain": "不要再顯示",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "不要顯示「僅追蹤」警告",
 | 
					    "dontShowTrackOnlyWarnings": "不要顯示「僅追蹤」警告",
 | 
				
			||||||
@@ -256,7 +257,7 @@
 | 
				
			|||||||
    "intermediateLink": "中間連結",
 | 
					    "intermediateLink": "中間連結",
 | 
				
			||||||
    "exemptFromBackgroundUpdates": "免除背景更新(若已啟用)",
 | 
					    "exemptFromBackgroundUpdates": "免除背景更新(若已啟用)",
 | 
				
			||||||
    "bgUpdatesOnWiFiOnly": "停用非 Wi-Fi 的背景更新",
 | 
					    "bgUpdatesOnWiFiOnly": "停用非 Wi-Fi 的背景更新",
 | 
				
			||||||
    "bgUpdatesWhileChargingOnly": "Disable background updates when not charging",
 | 
					    "bgUpdatesWhileChargingOnly": "未充電時停用背景更新",
 | 
				
			||||||
    "autoSelectHighestVersionCode": "自動選擇最高 versionCode 的 APK",
 | 
					    "autoSelectHighestVersionCode": "自動選擇最高 versionCode 的 APK",
 | 
				
			||||||
    "versionExtractionRegEx": "版本字串提取正則表達式",
 | 
					    "versionExtractionRegEx": "版本字串提取正則表達式",
 | 
				
			||||||
    "trimVersionString": "用正則表達式修剪版本字串",
 | 
					    "trimVersionString": "用正則表達式修剪版本字串",
 | 
				
			||||||
@@ -314,11 +315,21 @@
 | 
				
			|||||||
    "appVerifierInstructionToast": "分享至 AppVerifier,然後準備好時回到此處。",
 | 
					    "appVerifierInstructionToast": "分享至 AppVerifier,然後準備好時回到此處。",
 | 
				
			||||||
    "wiki": "幫助/維基",
 | 
					    "wiki": "幫助/維基",
 | 
				
			||||||
    "crowdsourcedConfigsLabel": "群眾外包的應用程式設定(使用風險自負)",
 | 
					    "crowdsourcedConfigsLabel": "群眾外包的應用程式設定(使用風險自負)",
 | 
				
			||||||
    "crowdsourcedConfigsShort": "Crowdsourced App Configs",
 | 
					    "crowdsourcedConfigsShort": "群眾外包的應用程式設定",
 | 
				
			||||||
    "allowInsecure": "Allow insecure HTTP requests",
 | 
					    "allowInsecure": "允許不安全的 HTTP 請求",
 | 
				
			||||||
    "stayOneVersionBehind": "Stay one version behind latest",
 | 
					    "stayOneVersionBehind": "保持比最新版本落後一個版本",
 | 
				
			||||||
    "refreshBeforeDownload": "Refresh app details before download",
 | 
					    "useFirstApkOfVersion": "Auto-select first of multiple APKs",
 | 
				
			||||||
 | 
					    "refreshBeforeDownload": "下載前刷新應用程式詳細資訊",
 | 
				
			||||||
    "tencentAppStore": "騰訊應用寶",
 | 
					    "tencentAppStore": "騰訊應用寶",
 | 
				
			||||||
 | 
					    "coolApk": "CoolApk",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo App Store (CN)",
 | 
				
			||||||
 | 
					    "name": "名稱",
 | 
				
			||||||
 | 
					    "smartname": "名稱(智慧)",
 | 
				
			||||||
 | 
					    "sortMethod": "排序方式",
 | 
				
			||||||
 | 
					    "welcome": "歡迎",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "下方連結的 Obtainium GitHub 頁面包含影片、文章、討論及其他資源,能幫助你瞭解如何使用這款應用程式。",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "Note that background downloads may work more reliably if you disable OS battery optimizations for Obtainium.",
 | 
				
			||||||
 | 
					    "fileDeletionError": "Failed to delete file (try deleting it manually then try again): \"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "移除應用程式?",
 | 
					        "one": "移除應用程式?",
 | 
				
			||||||
        "other": "移除應用程式?"
 | 
					        "other": "移除應用程式?"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -221,6 +221,7 @@
 | 
				
			|||||||
    "standardVersionDetection": "常规版本检测",
 | 
					    "standardVersionDetection": "常规版本检测",
 | 
				
			||||||
    "groupByCategory": "按类别分组显示",
 | 
					    "groupByCategory": "按类别分组显示",
 | 
				
			||||||
    "autoApkFilterByArch": "如果可能,尝试按设备支持的 CPU 架构筛选 APK 文件",
 | 
					    "autoApkFilterByArch": "如果可能,尝试按设备支持的 CPU 架构筛选 APK 文件",
 | 
				
			||||||
 | 
					    "autoLinkFilterByArch": "尽可能按 CPU 架构过滤链接",
 | 
				
			||||||
    "overrideSource": "覆盖来源",
 | 
					    "overrideSource": "覆盖来源",
 | 
				
			||||||
    "dontShowAgain": "不再显示",
 | 
					    "dontShowAgain": "不再显示",
 | 
				
			||||||
    "dontShowTrackOnlyWarnings": "忽略“仅追踪”模式警告",
 | 
					    "dontShowTrackOnlyWarnings": "忽略“仅追踪”模式警告",
 | 
				
			||||||
@@ -317,8 +318,18 @@
 | 
				
			|||||||
    "crowdsourcedConfigsShort": "众包应用程序配置",
 | 
					    "crowdsourcedConfigsShort": "众包应用程序配置",
 | 
				
			||||||
    "allowInsecure": "允许不安全的 HTTP 请求",
 | 
					    "allowInsecure": "允许不安全的 HTTP 请求",
 | 
				
			||||||
    "stayOneVersionBehind": "比最新版本晚一个版本",
 | 
					    "stayOneVersionBehind": "比最新版本晚一个版本",
 | 
				
			||||||
 | 
					    "useFirstApkOfVersion": "从多个 APK 中自动选择第一个",
 | 
				
			||||||
    "refreshBeforeDownload": "下载前刷新应用程序详细信息",
 | 
					    "refreshBeforeDownload": "下载前刷新应用程序详细信息",
 | 
				
			||||||
    "tencentAppStore": "腾讯应用宝",
 | 
					    "tencentAppStore": "腾讯应用宝",
 | 
				
			||||||
 | 
					    "coolApk": "酷安",
 | 
				
			||||||
 | 
					    "vivoAppStore": "vivo 应用商店(中国)",
 | 
				
			||||||
 | 
					    "name": "名称",
 | 
				
			||||||
 | 
					    "smartname": "姓名(智能)",
 | 
				
			||||||
 | 
					    "sortMethod": "排序方法",
 | 
				
			||||||
 | 
					    "welcome": "欢迎光临",
 | 
				
			||||||
 | 
					    "documentationLinksNote": "下面链接的 Obtainium GitHub 页面包含视频、文章、讨论和其他资源的链接,可帮助您了解如何使用该应用程序。",
 | 
				
			||||||
 | 
					    "batteryOptimizationNote": "请注意,如果为 Obtainium 禁用操作系统电池优化功能,后台下载可能会更稳定。",
 | 
				
			||||||
 | 
					    "fileDeletionError": "删除文件失败(尝试手动删除,然后再试一次):\"{}\"",
 | 
				
			||||||
    "removeAppQuestion": {
 | 
					    "removeAppQuestion": {
 | 
				
			||||||
        "one": "是否删除应用?",
 | 
					        "one": "是否删除应用?",
 | 
				
			||||||
        "other": "是否删除应用?"
 | 
					        "other": "是否删除应用?"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										24
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						@@ -2,15 +2,35 @@
 | 
				
			|||||||
# Convenience script
 | 
					# Convenience script
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CURR_DIR="$(pwd)"
 | 
					CURR_DIR="$(pwd)"
 | 
				
			||||||
trap "cd "$CURR_DIR"" EXIT
 | 
					SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
 | 
				
			||||||
 | 
					trap "cd \"$CURR_DIR\"" EXIT
 | 
				
			||||||
 | 
					cd "$SCRIPT_DIR"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -z "$1" ]; then
 | 
					if [ -z "$1" ]; then
 | 
				
			||||||
    git fetch && git merge origin/main && git push # Typically run after a PR to main, so bring dev up to date
 | 
					    git fetch && git merge origin/main && git push # Typically run after a PR to main, so bring dev up to date
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Update local Flutter
 | 
				
			||||||
 | 
					git submodule update --remote
 | 
				
			||||||
cd .flutter
 | 
					cd .flutter
 | 
				
			||||||
git fetch
 | 
					git fetch
 | 
				
			||||||
git checkout "$(flutter --version | head -2 | tail -1 | awk '{print $4}')" # Ensure included Flutter submodule version equals my environment
 | 
					git checkout stable
 | 
				
			||||||
 | 
					git pull
 | 
				
			||||||
 | 
					FLUTTER_GIT_URL="https://github.com/flutter/flutter/" ./bin/flutter upgrade
 | 
				
			||||||
cd ..
 | 
					cd ..
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Keep global Flutter, if any, in sync
 | 
				
			||||||
 | 
					if [ -f ~/flutter/bin/flutter ]; then
 | 
				
			||||||
 | 
					    cd ~/flutter
 | 
				
			||||||
 | 
					    ./bin/flutter channel stable
 | 
				
			||||||
 | 
					    ./bin/flutter upgrade
 | 
				
			||||||
 | 
					    cd "$SCRIPT_DIR"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -z "$(which flutter)" ]; then
 | 
				
			||||||
 | 
					    export PATH="$PATH:$SCRIPT_DIR/.flutter/bin"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rm ./build/app/outputs/flutter-apk/* 2>/dev/null                                       # Get rid of older builds if any
 | 
					rm ./build/app/outputs/flutter-apk/* 2>/dev/null                                       # Get rid of older builds if any
 | 
				
			||||||
flutter build apk --flavor normal && flutter build apk --split-per-abi --flavor normal # Build (both split and combined APKs)
 | 
					flutter build apk --flavor normal && flutter build apk --split-per-abi --flavor normal # Build (both split and combined APKs)
 | 
				
			||||||
for file in ./build/app/outputs/flutter-apk/app-*normal*.apk*; do mv "$file" "${file//-normal/}"; done
 | 
					for file in ./build/app/outputs/flutter-apk/app-*normal*.apk*; do mv "$file" "${file//-normal/}"; done
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										86
									
								
								docker/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,86 @@
 | 
				
			|||||||
 | 
					FROM ubuntu:22.04
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENV DEBIAN_FRONTEND noninteractive
 | 
				
			||||||
 | 
					ENV ANDROID_SDK_ROOT /opt/android-sdk-linux
 | 
				
			||||||
 | 
					ENV PATH "${PATH}:/opt/flutter/bin:/root/.pub-cache/bin:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:/opt/android-sdk-linux/platform-tools"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENV HOME=/root
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Prereqs
 | 
				
			||||||
 | 
					RUN \
 | 
				
			||||||
 | 
					    apt-get update &&\
 | 
				
			||||||
 | 
					    apt-get install -y --no-install-recommends \
 | 
				
			||||||
 | 
					        bash \
 | 
				
			||||||
 | 
					        curl \
 | 
				
			||||||
 | 
					        file \
 | 
				
			||||||
 | 
					        git 2.x \
 | 
				
			||||||
 | 
					        unzip \
 | 
				
			||||||
 | 
					        xz-utils \
 | 
				
			||||||
 | 
					        zip \
 | 
				
			||||||
 | 
					        libglu1-mesa \
 | 
				
			||||||
 | 
					        libxi-dev \
 | 
				
			||||||
 | 
					        libxmu-dev \
 | 
				
			||||||
 | 
					        libglu1-mesa-dev \
 | 
				
			||||||
 | 
					        git-lfs \
 | 
				
			||||||
 | 
					        openssl \
 | 
				
			||||||
 | 
					        wget
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Build prereqs
 | 
				
			||||||
 | 
					RUN \
 | 
				
			||||||
 | 
					    apt-get install -y \
 | 
				
			||||||
 | 
					        cmake curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback lib32stdc++6 python3 sed \
 | 
				
			||||||
 | 
					        cmake ninja-build build-essential libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev clang pkg-config libgtk-3-dev \
 | 
				
			||||||
 | 
					        liblzma-dev libmount-dev libblkid-dev libgcrypt20-dev libgpg-error-dev libssl-dev libpng-dev libjpeg-dev \
 | 
				
			||||||
 | 
					        libtiff-dev libgif-dev libgtk-3-dev
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Android SDK prequisites
 | 
				
			||||||
 | 
					# https://developer.android.com/studio#command-tools
 | 
				
			||||||
 | 
					RUN \
 | 
				
			||||||
 | 
					    apt-get install -y --no-install-recommends \
 | 
				
			||||||
 | 
					        git \
 | 
				
			||||||
 | 
					        git-lfs \
 | 
				
			||||||
 | 
					        openssl \
 | 
				
			||||||
 | 
					        wget \
 | 
				
			||||||
 | 
					        unzip
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Android SDK
 | 
				
			||||||
 | 
					RUN \
 | 
				
			||||||
 | 
					    wget --quiet  https://dl.google.com/android/repository/commandlinetools-linux-13114758_latest.zip -O /tmp/tools.zip && \
 | 
				
			||||||
 | 
					    mkdir -p ${ANDROID_SDK_ROOT}/cmdline-tools && \
 | 
				
			||||||
 | 
					    unzip -q /tmp/tools.zip -d ${ANDROID_SDK_ROOT}/cmdline-tools && \
 | 
				
			||||||
 | 
					    mv ${ANDROID_SDK_ROOT}/cmdline-tools/cmdline-tools ${ANDROID_SDK_ROOT}/cmdline-tools/latest && \
 | 
				
			||||||
 | 
					    rm -v /tmp/tools.zip && \
 | 
				
			||||||
 | 
					    mkdir -p /root/.android/ && touch /root/.android/repositories.cfg &&\
 | 
				
			||||||
 | 
					    apt-get install -y --no-install-recommends openjdk-21-jdk openjdk-21-jre &&\
 | 
				
			||||||
 | 
					    yes | sdkmanager --licenses &&\
 | 
				
			||||||
 | 
					    sdkmanager --update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Platform tools
 | 
				
			||||||
 | 
					# Get latest with sdkmanager --list
 | 
				
			||||||
 | 
					RUN sdkmanager --install "build-tools;33.0.1"
 | 
				
			||||||
 | 
					RUN sdkmanager --install "ndk;26.3.11579264"
 | 
				
			||||||
 | 
					RUN sdkmanager --install "cmake;4.0.2"
 | 
				
			||||||
 | 
					RUN sdkmanager --install platform-tools
 | 
				
			||||||
 | 
					RUN sdkmanager --install emulator
 | 
				
			||||||
 | 
					RUN sdkmanager --install tools
 | 
				
			||||||
 | 
					RUN sdkmanager --install "platforms;android-28"
 | 
				
			||||||
 | 
					RUN sdkmanager --install "platforms;android-31"
 | 
				
			||||||
 | 
					RUN sdkmanager --install "platforms;android-32"
 | 
				
			||||||
 | 
					RUN sdkmanager --install "platforms;android-33"
 | 
				
			||||||
 | 
					RUN sdkmanager --install "platforms;android-34"
 | 
				
			||||||
 | 
					RUN sdkmanager --install "platforms;android-35"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Flutter
 | 
				
			||||||
 | 
					ARG DEV_UID=0
 | 
				
			||||||
 | 
					RUN \
 | 
				
			||||||
 | 
					    wget --quiet https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.29.3-stable.tar.xz -O /tmp/flutter.tar.xz &&\
 | 
				
			||||||
 | 
					    mkdir -p /opt &&\
 | 
				
			||||||
 | 
					    cd /opt &&\
 | 
				
			||||||
 | 
					    tar xf /tmp/flutter.tar.xz &&\
 | 
				
			||||||
 | 
					    rm /tmp/flutter.tar.xz &&\
 | 
				
			||||||
 | 
					    git config --global --add safe.directory /opt/flutter &&\
 | 
				
			||||||
 | 
					    dart pub global activate cider &&\
 | 
				
			||||||
 | 
					    chown -R ${DEV_UID} /opt/flutter
 | 
				
			||||||
 | 
					RUN flutter --disable-analytics
 | 
				
			||||||
 | 
					RUN flutter upgrade
 | 
				
			||||||
 | 
					RUN chmod a+w /opt/flutter/packages -R
 | 
				
			||||||
							
								
								
									
										21
									
								
								docker/builder.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cd ${SCRIPT_DIR}/..
 | 
				
			||||||
 | 
					mkdir -p ./data/home
 | 
				
			||||||
 | 
					docker run \
 | 
				
			||||||
 | 
					    --rm \
 | 
				
			||||||
 | 
					    -ti \
 | 
				
			||||||
 | 
					    --net host \
 | 
				
			||||||
 | 
					    -v "${PWD}/../:${PWD}/../":z \
 | 
				
			||||||
 | 
					    -w "${PWD}" \
 | 
				
			||||||
 | 
					    --name flutter-dev-obtainium \
 | 
				
			||||||
 | 
					    --user $(id -u) \
 | 
				
			||||||
 | 
					    -v ./data/home:/home/${USER}:z \
 | 
				
			||||||
 | 
					    -e USER=${USER} \
 | 
				
			||||||
 | 
					    -e HOME=/home/${USER} \
 | 
				
			||||||
 | 
					    -e ANDROID_USER_HOME=${HOME}/.android \
 | 
				
			||||||
 | 
					    -e GRADLE_USER_HOME=${HOME}/.gradle \
 | 
				
			||||||
 | 
					    -e PS1="${debian_chroot:+($debian_chroot)}${USER}@\h:\w\$ " \
 | 
				
			||||||
 | 
					    flutter-builder-obtainium
 | 
				
			||||||
							
								
								
									
										14
									
								
								docker/mkbuilder.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						@@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
 | 
				
			||||||
 | 
					D=$(date +'%Y%m%d.%H%M%S%3N')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cd "${SCRIPT_DIR}/.."
 | 
				
			||||||
 | 
					# Create the builder image
 | 
				
			||||||
 | 
					docker build \
 | 
				
			||||||
 | 
					    -t flutter-builder-obtainium \
 | 
				
			||||||
 | 
					    -f ./docker/Dockerfile \
 | 
				
			||||||
 | 
					    --build-arg="DEV_UID=$(id -u)" \
 | 
				
			||||||
 | 
					    .
 | 
				
			||||||
@@ -25,6 +25,8 @@
 | 
				
			|||||||
			<li>APKMirror (Track-Only)</li>
 | 
								<li>APKMirror (Track-Only)</li>
 | 
				
			||||||
			<li>Huawei AppGallery</li>
 | 
								<li>Huawei AppGallery</li>
 | 
				
			||||||
			<li>Tencent App Store</li>
 | 
								<li>Tencent App Store</li>
 | 
				
			||||||
 | 
								<li>CoolApk</li>
 | 
				
			||||||
 | 
								<li>vivo App Store (CN)</li>
 | 
				
			||||||
			<li>Jenkins Jobs</li>
 | 
								<li>Jenkins Jobs</li>
 | 
				
			||||||
			<li>RuStore</li>
 | 
								<li>RuStore</li>
 | 
				
			||||||
		</ul>
 | 
							</ul>
 | 
				
			||||||
 
 | 
				
			|||||||
| 
		 Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 41 B  | 
							
								
								
									
										1
									
								
								fastlane/metadata/android/en-US/images/featureGraphic.png
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					../../../../../assets/graphics/banner.png
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 41 B  | 
| 
		 Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 47 B  | 
							
								
								
									
										1
									
								
								fastlane/metadata/android/en-US/images/icon.png
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					../../../../../assets/graphics/icon-512x512.png
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 47 B  | 
| 
		 Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 47 B  | 
							
								
								
									
										1
									
								
								fastlane/metadata/android/en-US/images/phoneScreenshots/1.png
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					../../../../../../assets/screenshots/1.apps.png
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 47 B  | 
| 
		 Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 53 B  | 
							
								
								
									
										1
									
								
								fastlane/metadata/android/en-US/images/phoneScreenshots/2.png
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					../../../../../../assets/screenshots/2.dark_theme.png
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 53 B  | 
| 
		 Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 55 B  | 
							
								
								
									
										1
									
								
								fastlane/metadata/android/en-US/images/phoneScreenshots/3.png
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					../../../../../../assets/screenshots/3.material_you.png
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 55 B  | 
| 
		 Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 46 B  | 
							
								
								
									
										1
									
								
								fastlane/metadata/android/en-US/images/phoneScreenshots/4.png
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					../../../../../../assets/screenshots/4.app.png
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 46 B  | 
| 
		 Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 51 B  | 
							
								
								
									
										1
									
								
								fastlane/metadata/android/en-US/images/phoneScreenshots/5.png
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					../../../../../../assets/screenshots/5.app_opts.png
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 51 B  | 
| 
		 Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 54 B  | 
							
								
								
									
										1
									
								
								fastlane/metadata/android/en-US/images/phoneScreenshots/6.png
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					../../../../../../assets/screenshots/6.app_webview.png
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 54 B  | 
@@ -25,6 +25,8 @@
 | 
				
			|||||||
			<li>APKMirror (Track-Only)</li>
 | 
								<li>APKMirror (Track-Only)</li>
 | 
				
			||||||
			<li>Huawei AppGallery</li>
 | 
								<li>Huawei AppGallery</li>
 | 
				
			||||||
			<li>Tencent App Store</li>
 | 
								<li>Tencent App Store</li>
 | 
				
			||||||
 | 
								<li>CoolApk</li>
 | 
				
			||||||
 | 
								<li>vivo App Store (CN)</li>
 | 
				
			||||||
			<li>Jenkins Jobs</li>
 | 
								<li>Jenkins Jobs</li>
 | 
				
			||||||
			<li>RuStore</li>
 | 
								<li>RuStore</li>
 | 
				
			||||||
		</ul>
 | 
							</ul>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								fastlane/metadata/android/ru/title.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					Obtainium
 | 
				
			||||||
@@ -13,7 +13,8 @@ class APKCombo extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/+[^/]+/+[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/+[^/]+/+[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    var match = standardUrlRegEx.firstMatch(url);
 | 
					    var match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -22,25 +23,30 @@ class APKCombo extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return Uri.parse(standardUrl).pathSegments.last;
 | 
					    return Uri.parse(standardUrl).pathSegments.last;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, String>?> getRequestHeaders(
 | 
					  Future<Map<String, String>?> getRequestHeaders(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
      {bool forAPKDownload = false}) async {
 | 
					    bool forAPKDownload = false,
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      "User-Agent": "curl/8.0.1",
 | 
					      "User-Agent": "curl/8.0.1",
 | 
				
			||||||
      "Accept": "*/*",
 | 
					      "Accept": "*/*",
 | 
				
			||||||
      "Connection": "keep-alive",
 | 
					      "Connection": "keep-alive",
 | 
				
			||||||
      "Host": hosts[0]
 | 
					      "Host": hosts[0],
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Future<List<MapEntry<String, String>>> getApkUrls(
 | 
					  Future<List<MapEntry<String, String>>> getApkUrls(
 | 
				
			||||||
      String standardUrl, Map<String, dynamic> additionalSettings) async {
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    var res = await sourceRequest('$standardUrl/download/apk', {});
 | 
					    var res = await sourceRequest('$standardUrl/download/apk', {});
 | 
				
			||||||
    if (res.statusCode != 200) {
 | 
					    if (res.statusCode != 200) {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
@@ -65,7 +71,9 @@ class APKCombo extends AppSource {
 | 
				
			|||||||
            String verCode =
 | 
					            String verCode =
 | 
				
			||||||
                e.querySelector('.info .header .vercode')?.text.trim() ?? '';
 | 
					                e.querySelector('.info .header .vercode')?.text.trim() ?? '';
 | 
				
			||||||
            return MapEntry<String, String>(
 | 
					            return MapEntry<String, String>(
 | 
				
			||||||
                arch != null ? '$arch-$verCode.apk' : '', url ?? '');
 | 
					              arch != null ? '$arch-$verCode.apk' : '',
 | 
				
			||||||
 | 
					              url ?? '',
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
          }).toList();
 | 
					          }).toList();
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
        .reduce((value, element) => [...value, ...element])
 | 
					        .reduce((value, element) => [...value, ...element])
 | 
				
			||||||
@@ -74,8 +82,11 @@ class APKCombo extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String> apkUrlPrefetchModifier(String apkUrl, String standardUrl,
 | 
					  Future<String> apkUrlPrefetchModifier(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings) async {
 | 
					    String apkUrl,
 | 
				
			||||||
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    var freshURLs = await getApkUrls(standardUrl, additionalSettings);
 | 
					    var freshURLs = await getApkUrls(standardUrl, additionalSettings);
 | 
				
			||||||
    var path2Match = Uri.parse(apkUrl).path;
 | 
					    var path2Match = Uri.parse(apkUrl).path;
 | 
				
			||||||
    for (var url in freshURLs) {
 | 
					    for (var url in freshURLs) {
 | 
				
			||||||
@@ -119,6 +130,7 @@ class APKCombo extends AppSource {
 | 
				
			|||||||
      version,
 | 
					      version,
 | 
				
			||||||
      await getApkUrls(standardUrl, additionalSettings),
 | 
					      await getApkUrls(standardUrl, additionalSettings),
 | 
				
			||||||
      AppNames(author, appName),
 | 
					      AppNames(author, appName),
 | 
				
			||||||
        releaseDate: releaseDate);
 | 
					      releaseDate: releaseDate,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,29 +17,35 @@ class APKMirror extends AppSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = [
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('fallbackToOlderReleases',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('fallbackToOlderReleases'), defaultValue: true)
 | 
					          'fallbackToOlderReleases',
 | 
				
			||||||
 | 
					          label: tr('fallbackToOlderReleases'),
 | 
				
			||||||
 | 
					          defaultValue: true,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormTextField('filterReleaseTitlesByRegEx',
 | 
					        GeneratedFormTextField(
 | 
				
			||||||
 | 
					          'filterReleaseTitlesByRegEx',
 | 
				
			||||||
          label: tr('filterReleaseTitlesByRegEx'),
 | 
					          label: tr('filterReleaseTitlesByRegEx'),
 | 
				
			||||||
          required: false,
 | 
					          required: false,
 | 
				
			||||||
          additionalValidators: [
 | 
					          additionalValidators: [
 | 
				
			||||||
            (value) {
 | 
					            (value) {
 | 
				
			||||||
              return regExValidator(value);
 | 
					              return regExValidator(value);
 | 
				
			||||||
              }
 | 
					            },
 | 
				
			||||||
            ])
 | 
					          ],
 | 
				
			||||||
      ]
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, String>?> getRequestHeaders(
 | 
					  Future<Map<String, String>?> getRequestHeaders(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
      {bool forAPKDownload = false}) async {
 | 
					    bool forAPKDownload = false,
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      "User-Agent":
 | 
					      "User-Agent":
 | 
				
			||||||
          "Obtainium/${(await getInstalledInfo(obtainiumId))?.versionName ?? '1.0.0'}"
 | 
					          "Obtainium/${(await getInstalledInfo(obtainiumId))?.versionName ?? '1.0.0'}",
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -47,7 +53,8 @@ class APKMirror extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/apk/[^/]+/[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/apk/[^/]+/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -72,7 +79,10 @@ class APKMirror extends AppSource {
 | 
				
			|||||||
            true
 | 
					            true
 | 
				
			||||||
        ? additionalSettings['filterReleaseTitlesByRegEx']
 | 
					        ? additionalSettings['filterReleaseTitlesByRegEx']
 | 
				
			||||||
        : null;
 | 
					        : null;
 | 
				
			||||||
    Response res = await sourceRequest('$standardUrl/feed', additionalSettings);
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
 | 
					      '$standardUrl/feed/',
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      var items = parse(res.body).querySelectorAll('item');
 | 
					      var items = parse(res.body).querySelectorAll('item');
 | 
				
			||||||
      dynamic targetRelease;
 | 
					      dynamic targetRelease;
 | 
				
			||||||
@@ -94,11 +104,14 @@ class APKMirror extends AppSource {
 | 
				
			|||||||
          .split(' ')
 | 
					          .split(' ')
 | 
				
			||||||
          .sublist(0, 5)
 | 
					          .sublist(0, 5)
 | 
				
			||||||
          .join(' ');
 | 
					          .join(' ');
 | 
				
			||||||
      DateTime? releaseDate =
 | 
					      DateTime? releaseDate = dateString != null
 | 
				
			||||||
          dateString != null ? HttpDate.parse('$dateString GMT') : null;
 | 
					          ? HttpDate.parse('$dateString GMT')
 | 
				
			||||||
 | 
					          : null;
 | 
				
			||||||
      String? version = titleString
 | 
					      String? version = titleString
 | 
				
			||||||
          ?.substring(RegExp('[0-9]').firstMatch(titleString)?.start ?? 0,
 | 
					          ?.substring(
 | 
				
			||||||
              RegExp(' by ').allMatches(titleString).last.start)
 | 
					            RegExp('[0-9]').firstMatch(titleString)?.start ?? 0,
 | 
				
			||||||
 | 
					            RegExp(' by ').allMatches(titleString).last.start,
 | 
				
			||||||
 | 
					          )
 | 
				
			||||||
          .trim();
 | 
					          .trim();
 | 
				
			||||||
      if (version == null || version.isEmpty) {
 | 
					      if (version == null || version.isEmpty) {
 | 
				
			||||||
        version = titleString;
 | 
					        version = titleString;
 | 
				
			||||||
@@ -106,8 +119,12 @@ class APKMirror extends AppSource {
 | 
				
			|||||||
      if (version == null || version.isEmpty) {
 | 
					      if (version == null || version.isEmpty) {
 | 
				
			||||||
        throw NoVersionError();
 | 
					        throw NoVersionError();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      return APKDetails(version, [], getAppNames(standardUrl),
 | 
					      return APKDetails(
 | 
				
			||||||
          releaseDate: releaseDate);
 | 
					        version,
 | 
				
			||||||
 | 
					        [],
 | 
				
			||||||
 | 
					        getAppNames(standardUrl),
 | 
				
			||||||
 | 
					        releaseDate: releaseDate,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,24 +1,18 @@
 | 
				
			|||||||
 | 
					import 'dart:convert';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import 'package:device_info_plus/device_info_plus.dart';
 | 
					import 'package:device_info_plus/device_info_plus.dart';
 | 
				
			||||||
import 'package:easy_localization/easy_localization.dart';
 | 
					import 'package:easy_localization/easy_localization.dart';
 | 
				
			||||||
import 'package:html/parser.dart';
 | 
					 | 
				
			||||||
import 'package:obtainium/app_sources/html.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/providers/source_provider.dart';
 | 
					import 'package:obtainium/providers/source_provider.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
parseDateTimeMMMddCommayyyy(String? dateString) {
 | 
					extension Unique<E, Id> on List<E> {
 | 
				
			||||||
  DateTime? releaseDate;
 | 
					  List<E> unique([Id Function(E element)? id, bool inplace = true]) {
 | 
				
			||||||
  try {
 | 
					    final ids = <dynamic>{};
 | 
				
			||||||
    releaseDate = dateString != null
 | 
					    var list = inplace ? this : List<E>.from(this);
 | 
				
			||||||
        ? DateFormat('MMM dd, yyyy').parse(dateString)
 | 
					    list.retainWhere((x) => ids.add(id != null ? id(x) : x as Id));
 | 
				
			||||||
        : null;
 | 
					    return list;
 | 
				
			||||||
    releaseDate = dateString != null && releaseDate == null
 | 
					 | 
				
			||||||
        ? DateFormat('MMMM dd, yyyy').parse(dateString)
 | 
					 | 
				
			||||||
        : releaseDate;
 | 
					 | 
				
			||||||
  } catch (err) {
 | 
					 | 
				
			||||||
    // ignore
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  return releaseDate;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class APKPure extends AppSource {
 | 
					class APKPure extends AppSource {
 | 
				
			||||||
@@ -29,13 +23,26 @@ class APKPure extends AppSource {
 | 
				
			|||||||
    showReleaseDateAsVersionToggle = true;
 | 
					    showReleaseDateAsVersionToggle = true;
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = [
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('fallbackToOlderReleases',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('fallbackToOlderReleases'), defaultValue: true)
 | 
					          'fallbackToOlderReleases',
 | 
				
			||||||
 | 
					          label: tr('fallbackToOlderReleases'),
 | 
				
			||||||
 | 
					          defaultValue: true,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('stayOneVersionBehind',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('stayOneVersionBehind'), defaultValue: false)
 | 
					          'stayOneVersionBehind',
 | 
				
			||||||
      ]
 | 
					          label: tr('stayOneVersionBehind'),
 | 
				
			||||||
 | 
					          defaultValue: false,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      [
 | 
				
			||||||
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
 | 
					          'useFirstApkOfVersion',
 | 
				
			||||||
 | 
					          label: tr('useFirstApkOfVersion'),
 | 
				
			||||||
 | 
					          defaultValue: true,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -43,7 +50,8 @@ class APKPure extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegExB = RegExp(
 | 
					    RegExp standardUrlRegExB = RegExp(
 | 
				
			||||||
      '^https?://m.${getSourceRegex(hosts)}(/+[^/]{2})?/+[^/]+/+[^/]+',
 | 
					      '^https?://m.${getSourceRegex(hosts)}(/+[^/]{2})?/+[^/]+/+[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegExB.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegExB.firstMatch(url);
 | 
				
			||||||
    if (match != null) {
 | 
					    if (match != null) {
 | 
				
			||||||
      var uri = Uri.parse(url);
 | 
					      var uri = Uri.parse(url);
 | 
				
			||||||
@@ -51,7 +59,8 @@ class APKPure extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    RegExp standardUrlRegExA = RegExp(
 | 
					    RegExp standardUrlRegExA = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}(/+[^/]{2})?/+[^/]+/+[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}(/+[^/]{2})?/+[^/]+/+[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    match = standardUrlRegExA.firstMatch(url);
 | 
					    match = standardUrlRegExA.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -60,100 +69,88 @@ class APKPure extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return Uri.parse(standardUrl).pathSegments.last;
 | 
					    return Uri.parse(standardUrl).pathSegments.last;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  getDetailsForVersionLink(
 | 
					  Future<APKDetails> getDetailsForVersion(
 | 
				
			||||||
      String standardUrl,
 | 
					    List<Map<String, dynamic>> versionVariants,
 | 
				
			||||||
      String appId,
 | 
					 | 
				
			||||||
      String host,
 | 
					 | 
				
			||||||
    List<String> supportedArchs,
 | 
					    List<String> supportedArchs,
 | 
				
			||||||
      String link,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
      Map<String, dynamic> additionalSettings) async {
 | 
					  ) async {
 | 
				
			||||||
    var res = await sourceRequest(link, additionalSettings);
 | 
					    var apkUrls = versionVariants
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					 | 
				
			||||||
      var html = parse(res.body);
 | 
					 | 
				
			||||||
      var apksDiv =
 | 
					 | 
				
			||||||
          html.querySelector('#version-list div div.show-more-content');
 | 
					 | 
				
			||||||
      DateTime? topReleaseDate;
 | 
					 | 
				
			||||||
      var apkUrls = apksDiv
 | 
					 | 
				
			||||||
              ?.querySelectorAll('div.group-title')
 | 
					 | 
				
			||||||
        .map((e) {
 | 
					        .map((e) {
 | 
				
			||||||
                String architectureString = e.text.trim();
 | 
					          String appId = e['package_name'];
 | 
				
			||||||
                if (architectureString.toLowerCase() == 'unlimited' ||
 | 
					          String versionCode = e['version_code'];
 | 
				
			||||||
                    architectureString.toLowerCase() == 'universal') {
 | 
					
 | 
				
			||||||
                  architectureString = '';
 | 
					          List<String> architectures = e['native_code']?.cast<String>();
 | 
				
			||||||
 | 
					          String architectureString = architectures.join(',');
 | 
				
			||||||
 | 
					          if (architectures.contains("universal") ||
 | 
				
			||||||
 | 
					              architectures.contains("unlimited")) {
 | 
				
			||||||
 | 
					            architectures = [];
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
                List<String> architectures = architectureString
 | 
					 | 
				
			||||||
                    .split(',')
 | 
					 | 
				
			||||||
                    .map((e) => e.trim())
 | 
					 | 
				
			||||||
                    .where((e) => e.isNotEmpty)
 | 
					 | 
				
			||||||
                    .toList();
 | 
					 | 
				
			||||||
                // Only take the first APK for each architecture, ignore others for now, for simplicity
 | 
					 | 
				
			||||||
                // Unclear why there can even be multiple APKs for the same version and arch
 | 
					 | 
				
			||||||
                var apkInfo = e.nextElementSibling?.querySelector('div.info');
 | 
					 | 
				
			||||||
                String? versionCode = RegExp('[0-9]+')
 | 
					 | 
				
			||||||
                    .firstMatch(
 | 
					 | 
				
			||||||
                        apkInfo?.querySelector('div.info-top .code')?.text ??
 | 
					 | 
				
			||||||
                            '')
 | 
					 | 
				
			||||||
                    ?.group(0)
 | 
					 | 
				
			||||||
                    ?.trim();
 | 
					 | 
				
			||||||
                var types = apkInfo
 | 
					 | 
				
			||||||
                        ?.querySelectorAll('div.info-top span.tag')
 | 
					 | 
				
			||||||
                        .map((e) => e.text.trim())
 | 
					 | 
				
			||||||
                        .map((t) => t == 'APKs' ? 'APK' : t) ??
 | 
					 | 
				
			||||||
                    [];
 | 
					 | 
				
			||||||
                String type = types.isEmpty ? 'APK' : types.first;
 | 
					 | 
				
			||||||
                String? dateString = apkInfo
 | 
					 | 
				
			||||||
                    ?.querySelector('div.info-bottom span.time')
 | 
					 | 
				
			||||||
                    ?.text
 | 
					 | 
				
			||||||
                    .trim();
 | 
					 | 
				
			||||||
                DateTime? releaseDate = parseDateTimeMMMddCommayyyy(dateString);
 | 
					 | 
				
			||||||
          if (additionalSettings['autoApkFilterByArch'] == true &&
 | 
					          if (additionalSettings['autoApkFilterByArch'] == true &&
 | 
				
			||||||
              architectures.isNotEmpty &&
 | 
					              architectures.isNotEmpty &&
 | 
				
			||||||
                    architectures
 | 
					              architectures.where((a) => supportedArchs.contains(a)).isEmpty) {
 | 
				
			||||||
                        .where((a) => supportedArchs.contains(a))
 | 
					            return null;
 | 
				
			||||||
                        .isEmpty) {
 | 
					 | 
				
			||||||
                  return const MapEntry('', '');
 | 
					 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
                topReleaseDate ??=
 | 
					
 | 
				
			||||||
                    releaseDate; // Just use the release date of the first APK in the list as the release date for this version
 | 
					          String type = e['asset']['type'];
 | 
				
			||||||
 | 
					          String downloadUri = e['asset']['url'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          return MapEntry(
 | 
					          return MapEntry(
 | 
				
			||||||
            '$appId-$versionCode-$architectureString.${type.toLowerCase()}',
 | 
					            '$appId-$versionCode-$architectureString.${type.toLowerCase()}',
 | 
				
			||||||
                    'https://d.${hosts.contains(host) ? 'cdnpure.com' : host}/b/$type/$appId?versionCode=$versionCode');
 | 
					            downloadUri,
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
              .where((e) => e.key.isNotEmpty)
 | 
					        .nonNulls
 | 
				
			||||||
              .toList() ??
 | 
					        .toList()
 | 
				
			||||||
          [];
 | 
					        .unique((e) => e.key);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (apkUrls.isEmpty) {
 | 
					    if (apkUrls.isEmpty) {
 | 
				
			||||||
      throw NoAPKError();
 | 
					      throw NoAPKError();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
      String version = Uri.parse(link).pathSegments.last;
 | 
					
 | 
				
			||||||
      String? author;
 | 
					    // get version details from first variant
 | 
				
			||||||
      try {
 | 
					    var v = versionVariants.first;
 | 
				
			||||||
        author = html
 | 
					    String version = v['version_name'];
 | 
				
			||||||
                .querySelector('span.info-sdk')
 | 
					    String author = v['developer'];
 | 
				
			||||||
                ?.text
 | 
					    String appName = v['title'];
 | 
				
			||||||
                .trim()
 | 
					    DateTime releaseDate = DateTime.parse(v['update_date']);
 | 
				
			||||||
                .substring(version.length + 4) ??
 | 
					    String? changeLog = v['whatsnew'];
 | 
				
			||||||
            Uri.parse(standardUrl).pathSegments.reversed.last;
 | 
					    if (changeLog != null && changeLog.isEmpty) {
 | 
				
			||||||
      } catch (e) {
 | 
					      changeLog = null;
 | 
				
			||||||
        author = html.querySelector('span.info-sdk')?.text.trim() ??
 | 
					 | 
				
			||||||
            Uri.parse(standardUrl).pathSegments.reversed.last;
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
      String appName =
 | 
					
 | 
				
			||||||
          html.querySelector('h1.info-title')?.text.trim() ?? appId;
 | 
					    if (additionalSettings['useFirstApkOfVersion'] == true) {
 | 
				
			||||||
      String? changeLog = html
 | 
					      apkUrls = [apkUrls.first];
 | 
				
			||||||
          .querySelector('div.module.change-log')
 | 
					    }
 | 
				
			||||||
          ?.innerHtml
 | 
					
 | 
				
			||||||
          .trim()
 | 
					    return APKDetails(
 | 
				
			||||||
          .replaceAll("<br>", "  \n");
 | 
					      version,
 | 
				
			||||||
      return APKDetails(version, apkUrls, AppNames(author, appName),
 | 
					      apkUrls,
 | 
				
			||||||
          releaseDate: topReleaseDate, changeLog: changeLog);
 | 
					      AppNames(author, appName),
 | 
				
			||||||
 | 
					      releaseDate: releaseDate,
 | 
				
			||||||
 | 
					      changeLog: changeLog,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  Future<Map<String, String>?> getRequestHeaders(
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
 | 
					    bool forAPKDownload = false,
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
 | 
					    if (forAPKDownload) {
 | 
				
			||||||
 | 
					      return null;
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      return {
 | 
				
			||||||
 | 
					        "Ual-Access-Businessid": "projecta",
 | 
				
			||||||
 | 
					        "Ual-Access-ProjectA":
 | 
				
			||||||
 | 
					            '{"device_info":{"os_ver":"${((await DeviceInfoPlugin().androidInfo).version.sdkInt)}"}}',
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -163,41 +160,56 @@ class APKPure extends AppSource {
 | 
				
			|||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    String appId = (await tryInferringAppId(standardUrl))!;
 | 
					    String appId = (await tryInferringAppId(standardUrl))!;
 | 
				
			||||||
    String host = Uri.parse(standardUrl).host;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    var res0 = await sourceRequest('$standardUrl/versions', additionalSettings);
 | 
					    List<String> supportedArchs =
 | 
				
			||||||
    var decodedStandardUrl = standardUrl;
 | 
					        (await DeviceInfoPlugin().androidInfo).supportedAbis;
 | 
				
			||||||
    try {
 | 
					
 | 
				
			||||||
      decodedStandardUrl = Uri.decodeFull(decodedStandardUrl);
 | 
					    // request versions from API
 | 
				
			||||||
    } catch (e) {
 | 
					    var res = await sourceRequest(
 | 
				
			||||||
      //
 | 
					      "https://tapi.pureapk.com/v3/get_app_his_version?package_name=$appId&hl=en",
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					    if (res.statusCode != 200) {
 | 
				
			||||||
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    var versionLinks = await grabLinksCommon(res0, {
 | 
					    List<Map<String, dynamic>> apks = jsonDecode(
 | 
				
			||||||
      'skipSort': true,
 | 
					      res.body,
 | 
				
			||||||
      'customLinkFilterRegex': '$decodedStandardUrl/download/[^/]+\$'
 | 
					    )['version_list'].cast<Map<String, dynamic>>();
 | 
				
			||||||
    });
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    var supportedArchs = (await DeviceInfoPlugin().androidInfo).supportedAbis;
 | 
					    // group by version
 | 
				
			||||||
 | 
					    List<List<Map<String, dynamic>>> versions = apks
 | 
				
			||||||
    if (additionalSettings['autoApkFilterByArch'] != true) {
 | 
					        .fold<Map<String, List<Map<String, dynamic>>>>({}, (
 | 
				
			||||||
      // No need to request multiple versions when we're not going to filter them (always pick the top one)
 | 
					          Map<String, List<Map<String, dynamic>>> val,
 | 
				
			||||||
      versionLinks = versionLinks.sublist(0, 1);
 | 
					          Map<String, dynamic> element,
 | 
				
			||||||
 | 
					        ) {
 | 
				
			||||||
 | 
					          String v = element['version_name'];
 | 
				
			||||||
 | 
					          if (!val.containsKey(v)) {
 | 
				
			||||||
 | 
					            val[v] = [];
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
    if (versionLinks.isEmpty) {
 | 
					          val[v]?.add(element);
 | 
				
			||||||
 | 
					          return val;
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					        .values
 | 
				
			||||||
 | 
					        .toList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (versions.isEmpty) {
 | 
				
			||||||
      throw NoReleasesError();
 | 
					      throw NoReleasesError();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for (var i = 0; i < versionLinks.length; i++) {
 | 
					    for (var i = 0; i < versions.length; i++) {
 | 
				
			||||||
      var link = versionLinks[i];
 | 
					      var v = versions[i];
 | 
				
			||||||
      try {
 | 
					      try {
 | 
				
			||||||
        if (i == 0 && additionalSettings['stayOneVersionBehind'] == true) {
 | 
					        if (i == 0 && additionalSettings['stayOneVersionBehind'] == true) {
 | 
				
			||||||
          throw NoReleasesError();
 | 
					          throw NoReleasesError();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return await getDetailsForVersionLink(standardUrl, appId, host,
 | 
					        return await getDetailsForVersion(
 | 
				
			||||||
            supportedArchs, link.key, additionalSettings);
 | 
					          v,
 | 
				
			||||||
 | 
					          supportedArchs,
 | 
				
			||||||
 | 
					          additionalSettings,
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
      } catch (e) {
 | 
					      } catch (e) {
 | 
				
			||||||
        if (additionalSettings['fallbackToOlderReleases'] != true ||
 | 
					        if (additionalSettings['fallbackToOlderReleases'] != true ||
 | 
				
			||||||
            i == versionLinks.length - 1) {
 | 
					            i == versions.length - 1) {
 | 
				
			||||||
          rethrow;
 | 
					          rethrow;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,7 +17,8 @@ class Aptoide extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://([^\\.]+\\.){2,}${getSourceRegex(hosts)}',
 | 
					      '^https?://([^\\.]+\\.){2,}${getSourceRegex(hosts)}',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -26,14 +27,20 @@ class Aptoide extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return (await getAppDetailsJSON(
 | 
					    return (await getAppDetailsJSON(
 | 
				
			||||||
        standardUrl, additionalSettings))['package'];
 | 
					      standardUrl,
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    ))['package'];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Future<Map<String, dynamic>> getAppDetailsJSON(
 | 
					  Future<Map<String, dynamic>> getAppDetailsJSON(
 | 
				
			||||||
      String standardUrl, Map<String, dynamic> additionalSettings) async {
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    var res = await sourceRequest(standardUrl, additionalSettings);
 | 
					    var res = await sourceRequest(standardUrl, additionalSettings);
 | 
				
			||||||
    if (res.statusCode != 200) {
 | 
					    if (res.statusCode != 200) {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
@@ -46,7 +53,9 @@ class Aptoide extends AppSource {
 | 
				
			|||||||
      throw NoReleasesError();
 | 
					      throw NoReleasesError();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    var res2 = await sourceRequest(
 | 
					    var res2 = await sourceRequest(
 | 
				
			||||||
        'https://ws2.aptoide.com/api/7/getApp/app_id/$id', additionalSettings);
 | 
					      'https://ws2.aptoide.com/api/7/getApp/app_id/$id',
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res2.statusCode != 200) {
 | 
					    if (res2.statusCode != 200) {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -76,7 +85,10 @@ class Aptoide extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return APKDetails(
 | 
					    return APKDetails(
 | 
				
			||||||
        version, getApkUrlsFromUrls([apkUrl]), AppNames(author, appName),
 | 
					      version,
 | 
				
			||||||
        releaseDate: relDate);
 | 
					      getApkUrlsFromUrls([apkUrl]),
 | 
				
			||||||
 | 
					      AppNames(author, appName),
 | 
				
			||||||
 | 
					      releaseDate: relDate,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,7 +19,8 @@ class Codeberg extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -36,8 +37,9 @@ class Codeberg extends AppSource {
 | 
				
			|||||||
    String standardUrl,
 | 
					    String standardUrl,
 | 
				
			||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    return await gh.getLatestAPKDetailsCommon2(standardUrl, additionalSettings,
 | 
					    return await gh.getLatestAPKDetailsCommon2(standardUrl, additionalSettings, (
 | 
				
			||||||
        (bool useTagUrl) async {
 | 
					      bool useTagUrl,
 | 
				
			||||||
 | 
					    ) async {
 | 
				
			||||||
      return 'https://${hosts[0]}/api/v1/repos${standardUrl.substring('https://${hosts[0]}'.length)}/${useTagUrl ? 'tags' : 'releases'}?per_page=100';
 | 
					      return 'https://${hosts[0]}/api/v1/repos${standardUrl.substring('https://${hosts[0]}'.length)}/${useTagUrl ? 'tags' : 'releases'}?per_page=100';
 | 
				
			||||||
    }, null);
 | 
					    }, null);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
@@ -49,12 +51,15 @@ class Codeberg extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, List<String>>> search(String query,
 | 
					  Future<Map<String, List<String>>> search(
 | 
				
			||||||
      {Map<String, dynamic> querySettings = const {}}) async {
 | 
					    String query, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> querySettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return gh.searchCommon(
 | 
					    return gh.searchCommon(
 | 
				
			||||||
      query,
 | 
					      query,
 | 
				
			||||||
      'https://${hosts[0]}/api/v1/repos/search?q=${Uri.encodeQueryComponent(query)}&limit=100',
 | 
					      'https://${hosts[0]}/api/v1/repos/search?q=${Uri.encodeQueryComponent(query)}&limit=100',
 | 
				
			||||||
      'data',
 | 
					      'data',
 | 
				
			||||||
        querySettings: querySettings);
 | 
					      querySettings: querySettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										193
									
								
								lib/app_sources/coolapk.dart
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,193 @@
 | 
				
			|||||||
 | 
					import 'dart:convert';
 | 
				
			||||||
 | 
					import 'package:bcrypt/bcrypt.dart';
 | 
				
			||||||
 | 
					import 'package:crypto/crypto.dart';
 | 
				
			||||||
 | 
					import 'package:easy_localization/easy_localization.dart';
 | 
				
			||||||
 | 
					import 'package:obtainium/custom_errors.dart';
 | 
				
			||||||
 | 
					import 'package:obtainium/providers/source_provider.dart';
 | 
				
			||||||
 | 
					import 'dart:math';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// kanged from https://github.com/DUpdateSystem/UpgradeAll/blob/b2f92c9/core-websdk/src/main/java/net/xzos/upgradeall/core/websdk/api/client_proxy/hubs/CoolApk.kt
 | 
				
			||||||
 | 
					class CoolApk extends AppSource {
 | 
				
			||||||
 | 
					  CoolApk() {
 | 
				
			||||||
 | 
					    name = tr('coolApk');
 | 
				
			||||||
 | 
					    hosts = ['www.coolapk.com', 'api2.coolapk.com'];
 | 
				
			||||||
 | 
					    allowSubDomains = true;
 | 
				
			||||||
 | 
					    naiveStandardVersionDetection = true;
 | 
				
			||||||
 | 
					    allowOverride = false;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
 | 
					      r'^https?://(www\.)?coolapk\.com/apk/[^/]+',
 | 
				
			||||||
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					    var match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
 | 
					    if (match == null) {
 | 
				
			||||||
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    String standardizedUrl = match.group(0)!;
 | 
				
			||||||
 | 
					    return standardizedUrl;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
 | 
					    String appId = Uri.parse(standardUrl).pathSegments.last;
 | 
				
			||||||
 | 
					    return appId;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  Future<APKDetails> getLatestAPKDetails(
 | 
				
			||||||
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
 | 
					    String appId = (await tryInferringAppId(standardUrl))!;
 | 
				
			||||||
 | 
					    String apiUrl = 'https://api2.coolapk.com';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // get latest
 | 
				
			||||||
 | 
					    var detailUrl = '$apiUrl/v6/apk/detail?id=$appId';
 | 
				
			||||||
 | 
					    var headers = await getRequestHeaders(additionalSettings);
 | 
				
			||||||
 | 
					    var res = await sourceRequest(detailUrl, additionalSettings);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (res.statusCode != 200) {
 | 
				
			||||||
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    var json = jsonDecode(res.body);
 | 
				
			||||||
 | 
					    if (json['status'] == -2 || json['data'] == null) {
 | 
				
			||||||
 | 
					      throw NoReleasesError();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    var detail = json['data'];
 | 
				
			||||||
 | 
					    String version = detail['apkversionname'].toString();
 | 
				
			||||||
 | 
					    String appName = detail['title'].toString();
 | 
				
			||||||
 | 
					    String author = detail['developername']?.toString() ?? 'CoolApk';
 | 
				
			||||||
 | 
					    String changelog = detail['changelog']?.toString() ?? '';
 | 
				
			||||||
 | 
					    int? releaseDate = detail['lastupdate'] != null
 | 
				
			||||||
 | 
					        ? (detail['lastupdate'] is int
 | 
				
			||||||
 | 
					              ? detail['lastupdate'] * 1000
 | 
				
			||||||
 | 
					              : int.parse(detail['lastupdate'].toString()) * 1000)
 | 
				
			||||||
 | 
					        : null;
 | 
				
			||||||
 | 
					    String aid = detail['id'].toString();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // get apk url
 | 
				
			||||||
 | 
					    String apkUrl = await _getLatestApkUrl(
 | 
				
			||||||
 | 
					      apiUrl,
 | 
				
			||||||
 | 
					      appId,
 | 
				
			||||||
 | 
					      aid,
 | 
				
			||||||
 | 
					      version,
 | 
				
			||||||
 | 
					      headers,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					    if (apkUrl.isEmpty) {
 | 
				
			||||||
 | 
					      throw NoAPKError();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    String apkName = '${appId}_$version.apk';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return APKDetails(
 | 
				
			||||||
 | 
					      version,
 | 
				
			||||||
 | 
					      [MapEntry(apkName, apkUrl)],
 | 
				
			||||||
 | 
					      AppNames(author, appName),
 | 
				
			||||||
 | 
					      releaseDate: releaseDate != null
 | 
				
			||||||
 | 
					          ? DateTime.fromMillisecondsSinceEpoch(releaseDate)
 | 
				
			||||||
 | 
					          : null,
 | 
				
			||||||
 | 
					      changeLog: changelog,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  Future<String> _getLatestApkUrl(
 | 
				
			||||||
 | 
					    String apiUrl,
 | 
				
			||||||
 | 
					    String appId,
 | 
				
			||||||
 | 
					    String aid,
 | 
				
			||||||
 | 
					    String version,
 | 
				
			||||||
 | 
					    Map<String, String>? headers,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
 | 
					    String url = '$apiUrl/v6/apk/download?pn=$appId&aid=$aid';
 | 
				
			||||||
 | 
					    var res = await sourceRequest(url, {}, followRedirects: false);
 | 
				
			||||||
 | 
					    if (res.statusCode >= 300 && res.statusCode < 400) {
 | 
				
			||||||
 | 
					      String location = res.headers['location'] ?? '';
 | 
				
			||||||
 | 
					      return location;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return '';
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  Future<Map<String, String>?> getRequestHeaders(
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
 | 
					    bool forAPKDownload = false,
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
 | 
					    var tokenPair = _getToken();
 | 
				
			||||||
 | 
					    // CoolAPK header
 | 
				
			||||||
 | 
					    return {
 | 
				
			||||||
 | 
					      'User-Agent':
 | 
				
			||||||
 | 
					          'Dalvik/2.1.0 (Linux; U; Android 9; MI 8 SE MIUI/9.5.9) (#Build; Xiaomi; MI 8 SE; PKQ1.181121.001; 9) +CoolMarket/12.4.2-2208241-universal',
 | 
				
			||||||
 | 
					      'X-App-Id': 'com.coolapk.market',
 | 
				
			||||||
 | 
					      'X-Requested-With': 'XMLHttpRequest',
 | 
				
			||||||
 | 
					      'X-Sdk-Int': '30',
 | 
				
			||||||
 | 
					      'X-App-Mode': 'universal',
 | 
				
			||||||
 | 
					      'X-App-Channel': 'coolapk',
 | 
				
			||||||
 | 
					      'X-Sdk-Locale': 'zh-CN',
 | 
				
			||||||
 | 
					      'X-App-Version': '12.4.2',
 | 
				
			||||||
 | 
					      'X-Api-Supported': '2208241',
 | 
				
			||||||
 | 
					      'X-App-Code': '2208241',
 | 
				
			||||||
 | 
					      'X-Api-Version': '12',
 | 
				
			||||||
 | 
					      'X-App-Device': tokenPair['deviceCode']!,
 | 
				
			||||||
 | 
					      'X-Dark-Mode': '0',
 | 
				
			||||||
 | 
					      'X-App-Token': tokenPair['token']!,
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  Map<String, String> _getToken() {
 | 
				
			||||||
 | 
					    final rand = Random();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    String randHexString(int n) => List.generate(
 | 
				
			||||||
 | 
					      n,
 | 
				
			||||||
 | 
					      (_) => rand.nextInt(256).toRadixString(16).padLeft(2, '0'),
 | 
				
			||||||
 | 
					    ).join().toUpperCase();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    String randMacAddress() => List.generate(
 | 
				
			||||||
 | 
					      6,
 | 
				
			||||||
 | 
					      (_) => rand.nextInt(256).toRadixString(16).padLeft(2, '0'),
 | 
				
			||||||
 | 
					    ).join(':');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // 加密算法来自 https://github.com/XiaoMengXinX/FuckCoolapkTokenV2、https://github.com/Coolapk-UWP/Coolapk-UWP
 | 
				
			||||||
 | 
					    // device
 | 
				
			||||||
 | 
					    String aid = randHexString(16);
 | 
				
			||||||
 | 
					    String mac = randMacAddress();
 | 
				
			||||||
 | 
					    const manufactor = 'Google';
 | 
				
			||||||
 | 
					    const brand = 'Google';
 | 
				
			||||||
 | 
					    const model = 'Pixel 5a';
 | 
				
			||||||
 | 
					    const buildNumber = 'SQ1D.220105.007';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // generate deviceCode
 | 
				
			||||||
 | 
					    String deviceCode = base64.encode(
 | 
				
			||||||
 | 
					      '$aid; ; ; $mac; $manufactor; $brand; $model; $buildNumber'.codeUnits,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // generate timestamp
 | 
				
			||||||
 | 
					    String timeStamp = (DateTime.now().millisecondsSinceEpoch ~/ 1000)
 | 
				
			||||||
 | 
					        .toString();
 | 
				
			||||||
 | 
					    String base64TimeStamp = base64.encode(timeStamp.codeUnits);
 | 
				
			||||||
 | 
					    String md5TimeStamp = md5.convert(timeStamp.codeUnits).toString();
 | 
				
			||||||
 | 
					    String md5DeviceCode = md5.convert(deviceCode.codeUnits).toString();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // generate token
 | 
				
			||||||
 | 
					    String token =
 | 
				
			||||||
 | 
					        'token://com.coolapk.market/dcf01e569c1e3db93a3d0fcf191a622c?$md5TimeStamp\$$md5DeviceCode&com.coolapk.market';
 | 
				
			||||||
 | 
					    String base64Token = base64.encode(token.codeUnits);
 | 
				
			||||||
 | 
					    String md5Base64Token = md5.convert(base64Token.codeUnits).toString();
 | 
				
			||||||
 | 
					    String md5Token = md5.convert(token.codeUnits).toString();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // generate salt and hash
 | 
				
			||||||
 | 
					    String bcryptSalt =
 | 
				
			||||||
 | 
					        '\$2a\$10\$${base64TimeStamp.substring(0, 14)}/${md5Token.substring(0, 6)}u';
 | 
				
			||||||
 | 
					    String bcryptResult = BCrypt.hashpw(md5Base64Token, bcryptSalt);
 | 
				
			||||||
 | 
					    String reBcryptResult = bcryptResult.replaceRange(0, 3, '\$2y');
 | 
				
			||||||
 | 
					    String finalToken = 'v2${base64.encode(reBcryptResult.codeUnits)}';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return {'deviceCode': deviceCode, 'token': finalToken};
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -1,5 +1,6 @@
 | 
				
			|||||||
import 'package:easy_localization/easy_localization.dart';
 | 
					import 'package:easy_localization/easy_localization.dart';
 | 
				
			||||||
import 'package:obtainium/app_sources/html.dart';
 | 
					import 'package:obtainium/app_sources/html.dart';
 | 
				
			||||||
 | 
					import 'package:obtainium/components/generated_form.dart';
 | 
				
			||||||
import 'package:obtainium/custom_errors.dart';
 | 
					import 'package:obtainium/custom_errors.dart';
 | 
				
			||||||
import 'package:obtainium/providers/source_provider.dart';
 | 
					import 'package:obtainium/providers/source_provider.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -8,19 +9,33 @@ class DirectAPKLink extends AppSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  DirectAPKLink() {
 | 
					  DirectAPKLink() {
 | 
				
			||||||
    name = tr('directAPKLink');
 | 
					    name = tr('directAPKLink');
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = html
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
        .additionalSourceAppSpecificSettingFormItems
 | 
					      ...html.additionalSourceAppSpecificSettingFormItems
 | 
				
			||||||
        .where((element) => element
 | 
					          .where(
 | 
				
			||||||
 | 
					            (element) => element
 | 
				
			||||||
                .where((element) => element.key == 'requestHeader')
 | 
					                .where((element) => element.key == 'requestHeader')
 | 
				
			||||||
            .isNotEmpty)
 | 
					                .isNotEmpty,
 | 
				
			||||||
        .toList();
 | 
					          )
 | 
				
			||||||
 | 
					          ,
 | 
				
			||||||
 | 
					      [
 | 
				
			||||||
 | 
					        GeneratedFormDropdown(
 | 
				
			||||||
 | 
					          'defaultPseudoVersioningMethod',
 | 
				
			||||||
 | 
					          [
 | 
				
			||||||
 | 
					            MapEntry('partialAPKHash', tr('partialAPKHash')),
 | 
				
			||||||
 | 
					            MapEntry('ETag', 'ETag'),
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          label: tr('defaultPseudoVersioningMethod'),
 | 
				
			||||||
 | 
					          defaultValue: 'partialAPKHash',
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
    excludeCommonSettingKeys = [
 | 
					    excludeCommonSettingKeys = [
 | 
				
			||||||
      'versionExtractionRegEx',
 | 
					      'versionExtractionRegEx',
 | 
				
			||||||
      'matchGroupToUse',
 | 
					      'matchGroupToUse',
 | 
				
			||||||
      'versionDetection',
 | 
					      'versionDetection',
 | 
				
			||||||
      'useVersionCodeAsOSVersion',
 | 
					      'useVersionCodeAsOSVersion',
 | 
				
			||||||
      'apkFilterRegEx',
 | 
					      'apkFilterRegEx',
 | 
				
			||||||
      'autoApkFilterByArch'
 | 
					      'autoApkFilterByArch',
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -39,10 +54,13 @@ class DirectAPKLink extends AppSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, String>?> getRequestHeaders(
 | 
					  Future<Map<String, String>?> getRequestHeaders(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
      {bool forAPKDownload = false}) {
 | 
					    bool forAPKDownload = false,
 | 
				
			||||||
    return html.getRequestHeaders(additionalSettings,
 | 
					  }) {
 | 
				
			||||||
        forAPKDownload: forAPKDownload);
 | 
					    return html.getRequestHeaders(
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					      forAPKDownload: forAPKDownload,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
@@ -50,16 +68,16 @@ class DirectAPKLink extends AppSource {
 | 
				
			|||||||
    String standardUrl,
 | 
					    String standardUrl,
 | 
				
			||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    var additionalSettingsNew =
 | 
					    var additionalSettingsNew = getDefaultValuesFromFormItems(
 | 
				
			||||||
        getDefaultValuesFromFormItems(html.combinedAppSpecificSettingFormItems);
 | 
					      html.combinedAppSpecificSettingFormItems,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    for (var s in additionalSettings.keys) {
 | 
					    for (var s in additionalSettings.keys) {
 | 
				
			||||||
      if (additionalSettingsNew.containsKey(s)) {
 | 
					      if (additionalSettingsNew.containsKey(s)) {
 | 
				
			||||||
        additionalSettingsNew[s] = additionalSettings[s];
 | 
					        additionalSettingsNew[s] = additionalSettings[s];
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    additionalSettingsNew['defaultPseudoVersioningMethod'] = 'partialAPKHash';
 | 
					 | 
				
			||||||
    additionalSettingsNew['directAPKLink'] = true;
 | 
					    additionalSettingsNew['directAPKLink'] = true;
 | 
				
			||||||
    additionalSettings['versionDetection'] = false;
 | 
					    additionalSettingsNew['versionDetection'] = false;
 | 
				
			||||||
    return html.getLatestAPKDetails(standardUrl, additionalSettingsNew);
 | 
					    return html.getLatestAPKDetails(standardUrl, additionalSettingsNew);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,22 +17,28 @@ class FDroid extends AppSource {
 | 
				
			|||||||
    canSearch = true;
 | 
					    canSearch = true;
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = [
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormTextField('filterVersionsByRegEx',
 | 
					        GeneratedFormTextField(
 | 
				
			||||||
 | 
					          'filterVersionsByRegEx',
 | 
				
			||||||
          label: tr('filterVersionsByRegEx'),
 | 
					          label: tr('filterVersionsByRegEx'),
 | 
				
			||||||
          required: false,
 | 
					          required: false,
 | 
				
			||||||
          additionalValidators: [
 | 
					          additionalValidators: [
 | 
				
			||||||
            (value) {
 | 
					            (value) {
 | 
				
			||||||
              return regExValidator(value);
 | 
					              return regExValidator(value);
 | 
				
			||||||
              }
 | 
					            },
 | 
				
			||||||
            ])
 | 
					          ],
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('trySelectingSuggestedVersionCode',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('trySelectingSuggestedVersionCode'))
 | 
					          'trySelectingSuggestedVersionCode',
 | 
				
			||||||
 | 
					          label: tr('trySelectingSuggestedVersionCode'),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('autoSelectHighestVersionCode',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('autoSelectHighestVersionCode'))
 | 
					          'autoSelectHighestVersionCode',
 | 
				
			||||||
 | 
					          label: tr('autoSelectHighestVersionCode'),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
@@ -41,7 +47,8 @@ class FDroid extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegExB = RegExp(
 | 
					    RegExp standardUrlRegExB = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/+[^/]+/+packages/+[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/+[^/]+/+packages/+[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegExB.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegExB.firstMatch(url);
 | 
				
			||||||
    if (match != null) {
 | 
					    if (match != null) {
 | 
				
			||||||
      url =
 | 
					      url =
 | 
				
			||||||
@@ -49,7 +56,8 @@ class FDroid extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    RegExp standardUrlRegExA = RegExp(
 | 
					    RegExp standardUrlRegExA = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/+packages/+[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/+packages/+[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    match = standardUrlRegExA.firstMatch(url);
 | 
					    match = standardUrlRegExA.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -58,8 +66,10 @@ class FDroid extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return Uri.parse(standardUrl).pathSegments.last;
 | 
					    return Uri.parse(standardUrl).pathSegments.last;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -72,21 +82,27 @@ class FDroid extends AppSource {
 | 
				
			|||||||
    String host = Uri.parse(standardUrl).host;
 | 
					    String host = Uri.parse(standardUrl).host;
 | 
				
			||||||
    var details = getAPKUrlsFromFDroidPackagesAPIResponse(
 | 
					    var details = getAPKUrlsFromFDroidPackagesAPIResponse(
 | 
				
			||||||
      await sourceRequest(
 | 
					      await sourceRequest(
 | 
				
			||||||
            'https://$host/api/v1/packages/$appId', additionalSettings),
 | 
					        'https://$host/api/v1/packages/$appId',
 | 
				
			||||||
 | 
					        additionalSettings,
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
      'https://$host/repo/$appId',
 | 
					      'https://$host/repo/$appId',
 | 
				
			||||||
      standardUrl,
 | 
					      standardUrl,
 | 
				
			||||||
      name,
 | 
					      name,
 | 
				
			||||||
        additionalSettings: additionalSettings);
 | 
					      additionalSettings: additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (!hostChanged) {
 | 
					    if (!hostChanged) {
 | 
				
			||||||
      try {
 | 
					      try {
 | 
				
			||||||
        var res = await sourceRequest(
 | 
					        var res = await sourceRequest(
 | 
				
			||||||
          'https://gitlab.com/fdroid/fdroiddata/-/raw/master/metadata/$appId.yml',
 | 
					          'https://gitlab.com/fdroid/fdroiddata/-/raw/master/metadata/$appId.yml',
 | 
				
			||||||
            additionalSettings);
 | 
					          additionalSettings,
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
        var lines = res.body.split('\n');
 | 
					        var lines = res.body.split('\n');
 | 
				
			||||||
        var authorLines = lines.where((l) => l.startsWith('AuthorName: '));
 | 
					        var authorLines = lines.where((l) => l.startsWith('AuthorName: '));
 | 
				
			||||||
        if (authorLines.isNotEmpty) {
 | 
					        if (authorLines.isNotEmpty) {
 | 
				
			||||||
          details.names.author =
 | 
					          details.names.author = authorLines.first
 | 
				
			||||||
              authorLines.first.split(': ').sublist(1).join(': ');
 | 
					              .split(': ')
 | 
				
			||||||
 | 
					              .sublist(1)
 | 
				
			||||||
 | 
					              .join(': ');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        var changelogUrls = lines
 | 
					        var changelogUrls = lines
 | 
				
			||||||
            .where((l) => l.startsWith('Changelog: '))
 | 
					            .where((l) => l.startsWith('Changelog: '))
 | 
				
			||||||
@@ -111,8 +127,8 @@ class FDroid extends AppSource {
 | 
				
			|||||||
              (details.changeLog?.indexOf('/blob/') ?? -1) >= 0) {
 | 
					              (details.changeLog?.indexOf('/blob/') ?? -1) >= 0) {
 | 
				
			||||||
            details.changeLog = (await sourceRequest(
 | 
					            details.changeLog = (await sourceRequest(
 | 
				
			||||||
              details.changeLog!.replaceFirst('/blob/', '/raw/'),
 | 
					              details.changeLog!.replaceFirst('/blob/', '/raw/'),
 | 
				
			||||||
                    additionalSettings))
 | 
					              additionalSettings,
 | 
				
			||||||
                .body;
 | 
					            )).body;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      } catch (e) {
 | 
					      } catch (e) {
 | 
				
			||||||
@@ -126,10 +142,14 @@ class FDroid extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, List<String>>> search(String query,
 | 
					  Future<Map<String, List<String>>> search(
 | 
				
			||||||
      {Map<String, dynamic> querySettings = const {}}) async {
 | 
					    String query, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> querySettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    Response res = await sourceRequest(
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
        'https://search.${hosts[0]}/?q=${Uri.encodeQueryComponent(query)}', {});
 | 
					      'https://search.${hosts[0]}/?q=${Uri.encodeQueryComponent(query)}',
 | 
				
			||||||
 | 
					      {},
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      Map<String, List<String>> urlsWithDescriptions = {};
 | 
					      Map<String, List<String>> urlsWithDescriptions = {};
 | 
				
			||||||
      parse(res.body).querySelectorAll('.package-header').forEach((e) {
 | 
					      parse(res.body).querySelectorAll('.package-header').forEach((e) {
 | 
				
			||||||
@@ -145,7 +165,7 @@ class FDroid extends AppSource {
 | 
				
			|||||||
          urlsWithDescriptions[url] = [
 | 
					          urlsWithDescriptions[url] = [
 | 
				
			||||||
            e.querySelector('.package-name')?.text.trim() ?? '',
 | 
					            e.querySelector('.package-name')?.text.trim() ?? '',
 | 
				
			||||||
            e.querySelector('.package-summary')?.text.trim() ??
 | 
					            e.querySelector('.package-summary')?.text.trim() ??
 | 
				
			||||||
                tr('noDescription')
 | 
					                tr('noDescription'),
 | 
				
			||||||
          ];
 | 
					          ];
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
@@ -156,8 +176,12 @@ class FDroid extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  APKDetails getAPKUrlsFromFDroidPackagesAPIResponse(
 | 
					  APKDetails getAPKUrlsFromFDroidPackagesAPIResponse(
 | 
				
			||||||
      Response res, String apkUrlPrefix, String standardUrl, String sourceName,
 | 
					    Response res,
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) {
 | 
					    String apkUrlPrefix,
 | 
				
			||||||
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    String sourceName, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) {
 | 
				
			||||||
    var autoSelectHighestVersionCode =
 | 
					    var autoSelectHighestVersionCode =
 | 
				
			||||||
        additionalSettings['autoSelectHighestVersionCode'] == true;
 | 
					        additionalSettings['autoSelectHighestVersionCode'] == true;
 | 
				
			||||||
    var trySelectingSuggestedVersionCode =
 | 
					    var trySelectingSuggestedVersionCode =
 | 
				
			||||||
@@ -177,8 +201,11 @@ class FDroid extends AppSource {
 | 
				
			|||||||
      if (apkFilterRegEx != null) {
 | 
					      if (apkFilterRegEx != null) {
 | 
				
			||||||
        releases = releases.where((rel) {
 | 
					        releases = releases.where((rel) {
 | 
				
			||||||
          String apk = '${apkUrlPrefix}_${rel['versionCode']}.apk';
 | 
					          String apk = '${apkUrlPrefix}_${rel['versionCode']}.apk';
 | 
				
			||||||
          return filterApks([MapEntry(apk, apk)], apkFilterRegEx, false)
 | 
					          return filterApks(
 | 
				
			||||||
              .isNotEmpty;
 | 
					            [MapEntry(apk, apk)],
 | 
				
			||||||
 | 
					            apkFilterRegEx,
 | 
				
			||||||
 | 
					            false,
 | 
				
			||||||
 | 
					          ).isNotEmpty;
 | 
				
			||||||
        }).toList();
 | 
					        }).toList();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (releases.isEmpty) {
 | 
					      if (releases.isEmpty) {
 | 
				
			||||||
@@ -191,8 +218,10 @@ class FDroid extends AppSource {
 | 
				
			|||||||
      if (trySelectingSuggestedVersionCode &&
 | 
					      if (trySelectingSuggestedVersionCode &&
 | 
				
			||||||
          response['suggestedVersionCode'] != null &&
 | 
					          response['suggestedVersionCode'] != null &&
 | 
				
			||||||
          filterVersionsByRegEx == null) {
 | 
					          filterVersionsByRegEx == null) {
 | 
				
			||||||
        var suggestedReleases = releases.where((element) =>
 | 
					        var suggestedReleases = releases.where(
 | 
				
			||||||
            element['versionCode'] == response['suggestedVersionCode']);
 | 
					          (element) =>
 | 
				
			||||||
 | 
					              element['versionCode'] == response['suggestedVersionCode'],
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
        if (suggestedReleases.isNotEmpty) {
 | 
					        if (suggestedReleases.isNotEmpty) {
 | 
				
			||||||
          releaseChoices = suggestedReleases;
 | 
					          releaseChoices = suggestedReleases;
 | 
				
			||||||
          version = suggestedReleases.first['versionName'];
 | 
					          version = suggestedReleases.first['versionName'];
 | 
				
			||||||
@@ -203,8 +232,9 @@ class FDroid extends AppSource {
 | 
				
			|||||||
        version = null;
 | 
					        version = null;
 | 
				
			||||||
        releaseChoices = [];
 | 
					        releaseChoices = [];
 | 
				
			||||||
        for (var i = 0; i < releases.length; i++) {
 | 
					        for (var i = 0; i < releases.length; i++) {
 | 
				
			||||||
          if (RegExp(filterVersionsByRegEx!)
 | 
					          if (RegExp(
 | 
				
			||||||
              .hasMatch(releases[i]['versionName'])) {
 | 
					            filterVersionsByRegEx!,
 | 
				
			||||||
 | 
					          ).hasMatch(releases[i]['versionName'])) {
 | 
				
			||||||
            version = releases[i]['versionName'];
 | 
					            version = releases[i]['versionName'];
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -219,8 +249,9 @@ class FDroid extends AppSource {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
      // If a suggested release was not already picked, pick all those with the selected version
 | 
					      // If a suggested release was not already picked, pick all those with the selected version
 | 
				
			||||||
      if (releaseChoices.isEmpty) {
 | 
					      if (releaseChoices.isEmpty) {
 | 
				
			||||||
        releaseChoices =
 | 
					        releaseChoices = releases.where(
 | 
				
			||||||
            releases.where((element) => element['versionName'] == version);
 | 
					          (element) => element['versionName'] == version,
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      // For the remaining releases, use the toggles to auto-select one if possible
 | 
					      // For the remaining releases, use the toggles to auto-select one if possible
 | 
				
			||||||
      if (releaseChoices.length > 1) {
 | 
					      if (releaseChoices.length > 1) {
 | 
				
			||||||
@@ -228,8 +259,10 @@ class FDroid extends AppSource {
 | 
				
			|||||||
          releaseChoices = [releaseChoices.first];
 | 
					          releaseChoices = [releaseChoices.first];
 | 
				
			||||||
        } else if (trySelectingSuggestedVersionCode &&
 | 
					        } else if (trySelectingSuggestedVersionCode &&
 | 
				
			||||||
            response['suggestedVersionCode'] != null) {
 | 
					            response['suggestedVersionCode'] != null) {
 | 
				
			||||||
          var suggestedReleases = releaseChoices.where((element) =>
 | 
					          var suggestedReleases = releaseChoices.where(
 | 
				
			||||||
              element['versionCode'] == response['suggestedVersionCode']);
 | 
					            (element) =>
 | 
				
			||||||
 | 
					                element['versionCode'] == response['suggestedVersionCode'],
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
          if (suggestedReleases.isNotEmpty) {
 | 
					          if (suggestedReleases.isNotEmpty) {
 | 
				
			||||||
            releaseChoices = suggestedReleases;
 | 
					            releaseChoices = suggestedReleases;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
@@ -241,8 +274,11 @@ class FDroid extends AppSource {
 | 
				
			|||||||
      List<String> apkUrls = releaseChoices
 | 
					      List<String> apkUrls = releaseChoices
 | 
				
			||||||
          .map((e) => '${apkUrlPrefix}_${e['versionCode']}.apk')
 | 
					          .map((e) => '${apkUrlPrefix}_${e['versionCode']}.apk')
 | 
				
			||||||
          .toList();
 | 
					          .toList();
 | 
				
			||||||
      return APKDetails(version, getApkUrlsFromUrls(apkUrls.toSet().toList()),
 | 
					      return APKDetails(
 | 
				
			||||||
          AppNames(sourceName, Uri.parse(standardUrl).pathSegments.last));
 | 
					        version,
 | 
				
			||||||
 | 
					        getApkUrlsFromUrls(apkUrls.toSet().toList()),
 | 
				
			||||||
 | 
					        AppNames(sourceName, Uri.parse(standardUrl).pathSegments.last),
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,15 +15,20 @@ class FDroidRepo extends AppSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = [
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormTextField('appIdOrName',
 | 
					        GeneratedFormTextField(
 | 
				
			||||||
 | 
					          'appIdOrName',
 | 
				
			||||||
          label: tr('appIdOrName'),
 | 
					          label: tr('appIdOrName'),
 | 
				
			||||||
          hint: tr('reposHaveMultipleApps'),
 | 
					          hint: tr('reposHaveMultipleApps'),
 | 
				
			||||||
            required: true)
 | 
					          required: true,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('pickHighestVersionCode',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('pickHighestVersionCode'), defaultValue: false)
 | 
					          'pickHighestVersionCode',
 | 
				
			||||||
      ]
 | 
					          label: tr('pickHighestVersionCode'),
 | 
				
			||||||
 | 
					          defaultValue: false,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -54,8 +59,10 @@ class FDroidRepo extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, List<String>>> search(String query,
 | 
					  Future<Map<String, List<String>>> search(
 | 
				
			||||||
      {Map<String, dynamic> querySettings = const {}}) async {
 | 
					    String query, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> querySettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    String? url = querySettings['url'];
 | 
					    String? url = querySettings['url'];
 | 
				
			||||||
    if (url == null) {
 | 
					    if (url == null) {
 | 
				
			||||||
      throw NoReleasesError();
 | 
					      throw NoReleasesError();
 | 
				
			||||||
@@ -73,11 +80,8 @@ class FDroidRepo extends AppSource {
 | 
				
			|||||||
            appId.contains(query) ||
 | 
					            appId.contains(query) ||
 | 
				
			||||||
            appName.contains(query) ||
 | 
					            appName.contains(query) ||
 | 
				
			||||||
            appDesc.contains(query)) {
 | 
					            appDesc.contains(query)) {
 | 
				
			||||||
          results[
 | 
					          results['${res.request!.url.toString().split('/').reversed.toList().sublist(1).reversed.join('/')}?appId=$appId'] =
 | 
				
			||||||
              '${res.request!.url.toString().split('/').reversed.toList().sublist(1).reversed.join('/')}?appId=$appId'] = [
 | 
					              [appName, appDesc];
 | 
				
			||||||
            appName,
 | 
					 | 
				
			||||||
            appDesc
 | 
					 | 
				
			||||||
          ];
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
      return results;
 | 
					      return results;
 | 
				
			||||||
@@ -119,8 +123,11 @@ class FDroidRepo extends AppSource {
 | 
				
			|||||||
    if (appId != null) {
 | 
					    if (appId != null) {
 | 
				
			||||||
      app.url = uri
 | 
					      app.url = uri
 | 
				
			||||||
          .replace(
 | 
					          .replace(
 | 
				
			||||||
              queryParameters: Map.fromEntries(
 | 
					            queryParameters: Map.fromEntries([
 | 
				
			||||||
                  [...uri.queryParameters.entries, MapEntry('appId', appId)]))
 | 
					              ...uri.queryParameters.entries,
 | 
				
			||||||
 | 
					              MapEntry('appId', appId),
 | 
				
			||||||
 | 
					            ]),
 | 
				
			||||||
 | 
					          )
 | 
				
			||||||
          .toString();
 | 
					          .toString();
 | 
				
			||||||
      app.additionalSettings['appIdOrName'] = appId;
 | 
					      app.additionalSettings['appIdOrName'] = appId;
 | 
				
			||||||
      app.id = appId;
 | 
					      app.id = appId;
 | 
				
			||||||
@@ -134,7 +141,8 @@ class FDroidRepo extends AppSource {
 | 
				
			|||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    var res = await sourceRequest(
 | 
					    var res = await sourceRequest(
 | 
				
			||||||
      '$url${url.endsWith('/index.xml') ? '' : '/index.xml'}',
 | 
					      '$url${url.endsWith('/index.xml') ? '' : '/index.xml'}',
 | 
				
			||||||
        additionalSettings);
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode != 200) {
 | 
					    if (res.statusCode != 200) {
 | 
				
			||||||
      var base = url.endsWith('/index.xml')
 | 
					      var base = url.endsWith('/index.xml')
 | 
				
			||||||
          ? url.split('/').reversed.toList().sublist(1).reversed.join('/')
 | 
					          ? url.split('/').reversed.toList().sublist(1).reversed.join('/')
 | 
				
			||||||
@@ -142,7 +150,9 @@ class FDroidRepo extends AppSource {
 | 
				
			|||||||
      res = await sourceRequest('$base/repo/index.xml', additionalSettings);
 | 
					      res = await sourceRequest('$base/repo/index.xml', additionalSettings);
 | 
				
			||||||
      if (res.statusCode != 200) {
 | 
					      if (res.statusCode != 200) {
 | 
				
			||||||
        res = await sourceRequest(
 | 
					        res = await sourceRequest(
 | 
				
			||||||
            '$base/fdroid/repo/index.xml', additionalSettings);
 | 
					          '$base/fdroid/repo/index.xml',
 | 
				
			||||||
 | 
					          additionalSettings,
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return res;
 | 
					    return res;
 | 
				
			||||||
@@ -164,8 +174,10 @@ class FDroidRepo extends AppSource {
 | 
				
			|||||||
      throw NoReleasesError();
 | 
					      throw NoReleasesError();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    additionalSettings['appIdOrName'] = appIdOrName;
 | 
					    additionalSettings['appIdOrName'] = appIdOrName;
 | 
				
			||||||
    var res =
 | 
					    var res = await sourceRequestWithURLVariants(
 | 
				
			||||||
        await sourceRequestWithURLVariants(standardUrl, additionalSettings);
 | 
					      standardUrl,
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      var body = parse(res.body);
 | 
					      var body = parse(res.body);
 | 
				
			||||||
      var foundApps = body.querySelectorAll('application').where((element) {
 | 
					      var foundApps = body.querySelectorAll('application').where((element) {
 | 
				
			||||||
@@ -202,24 +214,32 @@ class FDroidRepo extends AppSource {
 | 
				
			|||||||
        throw NoVersionError();
 | 
					        throw NoVersionError();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      var latestVersionReleases = releases
 | 
					      var latestVersionReleases = releases
 | 
				
			||||||
          .where((element) =>
 | 
					          .where(
 | 
				
			||||||
 | 
					            (element) =>
 | 
				
			||||||
                element.querySelector('version')?.innerHtml == latestVersion &&
 | 
					                element.querySelector('version')?.innerHtml == latestVersion &&
 | 
				
			||||||
              element.querySelector('apkname') != null)
 | 
					                element.querySelector('apkname') != null,
 | 
				
			||||||
 | 
					          )
 | 
				
			||||||
          .toList();
 | 
					          .toList();
 | 
				
			||||||
      if (latestVersionReleases.length > 1 && pickHighestVersionCode) {
 | 
					      if (latestVersionReleases.length > 1 && pickHighestVersionCode) {
 | 
				
			||||||
        latestVersionReleases.sort((e1, e2) {
 | 
					        latestVersionReleases.sort((e1, e2) {
 | 
				
			||||||
          return int.parse(e2.querySelector('versioncode')!.innerHtml)
 | 
					          return int.parse(
 | 
				
			||||||
              .compareTo(int.parse(e1.querySelector('versioncode')!.innerHtml));
 | 
					            e2.querySelector('versioncode')!.innerHtml,
 | 
				
			||||||
 | 
					          ).compareTo(int.parse(e1.querySelector('versioncode')!.innerHtml));
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        latestVersionReleases = [latestVersionReleases[0]];
 | 
					        latestVersionReleases = [latestVersionReleases[0]];
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      List<String> apkUrls = latestVersionReleases
 | 
					      List<String> apkUrls = latestVersionReleases
 | 
				
			||||||
          .map((e) =>
 | 
					          .map(
 | 
				
			||||||
              '${res.request!.url.toString().split('/').reversed.toList().sublist(1).reversed.join('/')}/${e.querySelector('apkname')!.innerHtml}')
 | 
					            (e) =>
 | 
				
			||||||
 | 
					                '${res.request!.url.toString().split('/').reversed.toList().sublist(1).reversed.join('/')}/${e.querySelector('apkname')!.innerHtml}',
 | 
				
			||||||
 | 
					          )
 | 
				
			||||||
          .toList();
 | 
					          .toList();
 | 
				
			||||||
      return APKDetails(latestVersion, getApkUrlsFromUrls(apkUrls),
 | 
					      return APKDetails(
 | 
				
			||||||
 | 
					        latestVersion,
 | 
				
			||||||
 | 
					        getApkUrlsFromUrls(apkUrls),
 | 
				
			||||||
        AppNames(authorName, appName),
 | 
					        AppNames(authorName, appName),
 | 
				
			||||||
          releaseDate: releaseDate);
 | 
					        releaseDate: releaseDate,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,78 +19,110 @@ class GitHub extends AppSource {
 | 
				
			|||||||
    showReleaseDateAsVersionToggle = true;
 | 
					    showReleaseDateAsVersionToggle = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    sourceConfigSettingFormItems = [
 | 
					    sourceConfigSettingFormItems = [
 | 
				
			||||||
      GeneratedFormTextField('github-creds',
 | 
					      GeneratedFormTextField(
 | 
				
			||||||
 | 
					        'github-creds',
 | 
				
			||||||
        label: tr('githubPATLabel'),
 | 
					        label: tr('githubPATLabel'),
 | 
				
			||||||
        password: true,
 | 
					        password: true,
 | 
				
			||||||
        required: false,
 | 
					        required: false,
 | 
				
			||||||
        belowWidgets: [
 | 
					        belowWidgets: [
 | 
				
			||||||
            const SizedBox(
 | 
					          const SizedBox(height: 4),
 | 
				
			||||||
              height: 4,
 | 
					 | 
				
			||||||
            ),
 | 
					 | 
				
			||||||
          GestureDetector(
 | 
					          GestureDetector(
 | 
				
			||||||
            onTap: () {
 | 
					            onTap: () {
 | 
				
			||||||
              launchUrlString(
 | 
					              launchUrlString(
 | 
				
			||||||
                'https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token',
 | 
					                'https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token',
 | 
				
			||||||
                      mode: LaunchMode.externalApplication);
 | 
					                mode: LaunchMode.externalApplication,
 | 
				
			||||||
 | 
					              );
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            child: Text(
 | 
					            child: Text(
 | 
				
			||||||
              tr('about'),
 | 
					              tr('about'),
 | 
				
			||||||
              style: const TextStyle(
 | 
					              style: const TextStyle(
 | 
				
			||||||
                      decoration: TextDecoration.underline, fontSize: 12),
 | 
					                decoration: TextDecoration.underline,
 | 
				
			||||||
                )),
 | 
					                fontSize: 12,
 | 
				
			||||||
            const SizedBox(
 | 
					              ),
 | 
				
			||||||
              height: 4,
 | 
					            ),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
 | 
					          const SizedBox(height: 4),
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
      ),
 | 
					      ),
 | 
				
			||||||
          ])
 | 
					 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = [
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('includePrereleases',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('includePrereleases'), defaultValue: false)
 | 
					          'includePrereleases',
 | 
				
			||||||
 | 
					          label: tr('includePrereleases'),
 | 
				
			||||||
 | 
					          defaultValue: false,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('fallbackToOlderReleases',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('fallbackToOlderReleases'), defaultValue: true)
 | 
					          'fallbackToOlderReleases',
 | 
				
			||||||
 | 
					          label: tr('fallbackToOlderReleases'),
 | 
				
			||||||
 | 
					          defaultValue: true,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormTextField('filterReleaseTitlesByRegEx',
 | 
					        GeneratedFormTextField(
 | 
				
			||||||
 | 
					          'filterReleaseTitlesByRegEx',
 | 
				
			||||||
          label: tr('filterReleaseTitlesByRegEx'),
 | 
					          label: tr('filterReleaseTitlesByRegEx'),
 | 
				
			||||||
          required: false,
 | 
					          required: false,
 | 
				
			||||||
          additionalValidators: [
 | 
					          additionalValidators: [
 | 
				
			||||||
            (value) {
 | 
					            (value) {
 | 
				
			||||||
              return regExValidator(value);
 | 
					              return regExValidator(value);
 | 
				
			||||||
              }
 | 
					            },
 | 
				
			||||||
            ])
 | 
					          ],
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormTextField('filterReleaseNotesByRegEx',
 | 
					        GeneratedFormTextField(
 | 
				
			||||||
 | 
					          'filterReleaseNotesByRegEx',
 | 
				
			||||||
          label: tr('filterReleaseNotesByRegEx'),
 | 
					          label: tr('filterReleaseNotesByRegEx'),
 | 
				
			||||||
          required: false,
 | 
					          required: false,
 | 
				
			||||||
          additionalValidators: [
 | 
					          additionalValidators: [
 | 
				
			||||||
            (value) {
 | 
					            (value) {
 | 
				
			||||||
              return regExValidator(value);
 | 
					              return regExValidator(value);
 | 
				
			||||||
              }
 | 
					            },
 | 
				
			||||||
            ])
 | 
					          ],
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [GeneratedFormSwitch('verifyLatestTag', label: tr('verifyLatestTag'))],
 | 
					      [GeneratedFormSwitch('verifyLatestTag', label: tr('verifyLatestTag'))],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('dontSortReleasesList',
 | 
					        GeneratedFormDropdown(
 | 
				
			||||||
            label: tr('dontSortReleasesList'))
 | 
					          'sortMethodChoice',
 | 
				
			||||||
 | 
					          [
 | 
				
			||||||
 | 
					            MapEntry('date', tr('releaseDate')),
 | 
				
			||||||
 | 
					            MapEntry('smartname', tr('smartname')),
 | 
				
			||||||
 | 
					            MapEntry('none', tr('none')),
 | 
				
			||||||
 | 
					            MapEntry(
 | 
				
			||||||
 | 
					              'smartname-datefallback',
 | 
				
			||||||
 | 
					              '${tr('smartname')} x ${tr('releaseDate')}',
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
 | 
					            MapEntry('name', tr('name')),
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          label: tr('sortMethod'),
 | 
				
			||||||
 | 
					          defaultValue: 'date',
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('useLatestAssetDateAsReleaseDate',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('useLatestAssetDateAsReleaseDate'), defaultValue: false)
 | 
					          'useLatestAssetDateAsReleaseDate',
 | 
				
			||||||
 | 
					          label: tr('useLatestAssetDateAsReleaseDate'),
 | 
				
			||||||
 | 
					          defaultValue: false,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('releaseTitleAsVersion',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('releaseTitleAsVersion'), defaultValue: false)
 | 
					          'releaseTitleAsVersion',
 | 
				
			||||||
      ]
 | 
					          label: tr('releaseTitleAsVersion'),
 | 
				
			||||||
 | 
					          defaultValue: false,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    canSearch = true;
 | 
					    canSearch = true;
 | 
				
			||||||
    searchQuerySettingFormItems = [
 | 
					    searchQuerySettingFormItems = [
 | 
				
			||||||
      GeneratedFormTextField('minStarCount',
 | 
					      GeneratedFormTextField(
 | 
				
			||||||
 | 
					        'minStarCount',
 | 
				
			||||||
        label: tr('minStarCount'),
 | 
					        label: tr('minStarCount'),
 | 
				
			||||||
        defaultValue: '0',
 | 
					        defaultValue: '0',
 | 
				
			||||||
        additionalValidators: [
 | 
					        additionalValidators: [
 | 
				
			||||||
@@ -101,53 +133,71 @@ class GitHub extends AppSource {
 | 
				
			|||||||
              return tr('invalidInput');
 | 
					              return tr('invalidInput');
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            return null;
 | 
					            return null;
 | 
				
			||||||
            }
 | 
					          },
 | 
				
			||||||
          ])
 | 
					        ],
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    const possibleBuildGradleLocations = [
 | 
					    const possibleBuildGradleLocations = [
 | 
				
			||||||
      '/app/build.gradle',
 | 
					      '/app/build.gradle',
 | 
				
			||||||
      'android/app/build.gradle',
 | 
					      'android/app/build.gradle',
 | 
				
			||||||
      'src/app/build.gradle'
 | 
					      'src/app/build.gradle',
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
    for (var path in possibleBuildGradleLocations) {
 | 
					    for (var path in possibleBuildGradleLocations) {
 | 
				
			||||||
      try {
 | 
					      try {
 | 
				
			||||||
        var res = await sourceRequest(
 | 
					        var res = await sourceRequest(
 | 
				
			||||||
          '${await convertStandardUrlToAPIUrl(standardUrl, additionalSettings)}/contents/$path',
 | 
					          '${await convertStandardUrlToAPIUrl(standardUrl, additionalSettings)}/contents/$path',
 | 
				
			||||||
            additionalSettings);
 | 
					          additionalSettings,
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
        if (res.statusCode == 200) {
 | 
					        if (res.statusCode == 200) {
 | 
				
			||||||
          try {
 | 
					          try {
 | 
				
			||||||
            var body = jsonDecode(res.body);
 | 
					            var body = jsonDecode(res.body);
 | 
				
			||||||
            var trimmedLines = utf8
 | 
					            var trimmedLines = utf8
 | 
				
			||||||
                .decode(base64
 | 
					                .decode(
 | 
				
			||||||
                    .decode(body['content'].toString().split('\n').join('')))
 | 
					                  base64.decode(
 | 
				
			||||||
 | 
					                    body['content'].toString().split('\n').join(''),
 | 
				
			||||||
 | 
					                  ),
 | 
				
			||||||
 | 
					                )
 | 
				
			||||||
                .split('\n')
 | 
					                .split('\n')
 | 
				
			||||||
                .map((e) => e.trim());
 | 
					                .map((e) => e.trim());
 | 
				
			||||||
            var appIds = trimmedLines.where((l) =>
 | 
					            var appIds = trimmedLines.where(
 | 
				
			||||||
 | 
					              (l) =>
 | 
				
			||||||
                  l.startsWith('applicationId "') ||
 | 
					                  l.startsWith('applicationId "') ||
 | 
				
			||||||
                l.startsWith('applicationId \''));
 | 
					                  l.startsWith('applicationId \''),
 | 
				
			||||||
            appIds = appIds.map((appId) => appId
 | 
					            );
 | 
				
			||||||
                .split(appId.startsWith('applicationId "') ? '"' : '\'')[1]);
 | 
					            appIds = appIds.map(
 | 
				
			||||||
            appIds = appIds.map((appId) {
 | 
					              (appId) => appId.split(
 | 
				
			||||||
 | 
					                appId.startsWith('applicationId "') ? '"' : '\'',
 | 
				
			||||||
 | 
					              )[1],
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
 | 
					            appIds = appIds
 | 
				
			||||||
 | 
					                .map((appId) {
 | 
				
			||||||
                  if (appId.startsWith('\${') && appId.endsWith('}')) {
 | 
					                  if (appId.startsWith('\${') && appId.endsWith('}')) {
 | 
				
			||||||
                    appId = trimmedLines
 | 
					                    appId = trimmedLines
 | 
				
			||||||
                    .where((l) => l.startsWith(
 | 
					                        .where(
 | 
				
			||||||
                        'def ${appId.substring(2, appId.length - 1)}'))
 | 
					                          (l) => l.startsWith(
 | 
				
			||||||
 | 
					                            'def ${appId.substring(2, appId.length - 1)}',
 | 
				
			||||||
 | 
					                          ),
 | 
				
			||||||
 | 
					                        )
 | 
				
			||||||
                        .first;
 | 
					                        .first;
 | 
				
			||||||
                    appId = appId.split(appId.contains('"') ? '"' : '\'')[1];
 | 
					                    appId = appId.split(appId.contains('"') ? '"' : '\'')[1];
 | 
				
			||||||
                  }
 | 
					                  }
 | 
				
			||||||
                  return appId;
 | 
					                  return appId;
 | 
				
			||||||
            }).where((appId) => appId.isNotEmpty);
 | 
					                })
 | 
				
			||||||
 | 
					                .where((appId) => appId.isNotEmpty);
 | 
				
			||||||
            if (appIds.length == 1) {
 | 
					            if (appIds.length == 1) {
 | 
				
			||||||
              return appIds.first;
 | 
					              return appIds.first;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          } catch (err) {
 | 
					          } catch (err) {
 | 
				
			||||||
            LogsProvider().add(
 | 
					            LogsProvider().add(
 | 
				
			||||||
                'Error parsing build.gradle from ${res.request!.url.toString()}: ${err.toString()}');
 | 
					              'Error parsing build.gradle from ${res.request!.url.toString()}: ${err.toString()}',
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      } catch (err) {
 | 
					      } catch (err) {
 | 
				
			||||||
@@ -161,7 +211,8 @@ class GitHub extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -171,8 +222,9 @@ class GitHub extends AppSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, String>?> getRequestHeaders(
 | 
					  Future<Map<String, String>?> getRequestHeaders(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
      {bool forAPKDownload = false}) async {
 | 
					    bool forAPKDownload = false,
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    var token = await getTokenIfAny(additionalSettings);
 | 
					    var token = await getTokenIfAny(additionalSettings);
 | 
				
			||||||
    var headers = <String, String>{};
 | 
					    var headers = <String, String>{};
 | 
				
			||||||
    if (token != null && token.isNotEmpty) {
 | 
					    if (token != null && token.isNotEmpty) {
 | 
				
			||||||
@@ -191,14 +243,17 @@ class GitHub extends AppSource {
 | 
				
			|||||||
  Future<String?> getTokenIfAny(Map<String, dynamic> additionalSettings) async {
 | 
					  Future<String?> getTokenIfAny(Map<String, dynamic> additionalSettings) async {
 | 
				
			||||||
    SettingsProvider settingsProvider = SettingsProvider();
 | 
					    SettingsProvider settingsProvider = SettingsProvider();
 | 
				
			||||||
    await settingsProvider.initializeSettings();
 | 
					    await settingsProvider.initializeSettings();
 | 
				
			||||||
    var sourceConfig =
 | 
					    var sourceConfig = await getSourceConfigValues(
 | 
				
			||||||
        await getSourceConfigValues(additionalSettings, settingsProvider);
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					      settingsProvider,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    String? creds = sourceConfig['github-creds'];
 | 
					    String? creds = sourceConfig['github-creds'];
 | 
				
			||||||
    if (creds != null) {
 | 
					    if (creds != null) {
 | 
				
			||||||
      var userNameEndIndex = creds.indexOf(':');
 | 
					      var userNameEndIndex = creds.indexOf(':');
 | 
				
			||||||
      if (userNameEndIndex > 0) {
 | 
					      if (userNameEndIndex > 0) {
 | 
				
			||||||
        creds = creds.substring(
 | 
					        creds = creds.substring(
 | 
				
			||||||
            userNameEndIndex + 1); // For old username-included token inputs
 | 
					          userNameEndIndex + 1,
 | 
				
			||||||
 | 
					        ); // For old username-included token inputs
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      return creds;
 | 
					      return creds;
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
@@ -218,16 +273,21 @@ class GitHub extends AppSource {
 | 
				
			|||||||
      'https://api.${hosts[0]}';
 | 
					      'https://api.${hosts[0]}';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Future<String> convertStandardUrlToAPIUrl(
 | 
					  Future<String> convertStandardUrlToAPIUrl(
 | 
				
			||||||
          String standardUrl, Map<String, dynamic> additionalSettings) async =>
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async =>
 | 
				
			||||||
      '${await getAPIHost(additionalSettings)}/repos${standardUrl.substring('https://${hosts[0]}'.length)}';
 | 
					      '${await getAPIHost(additionalSettings)}/repos${standardUrl.substring('https://${hosts[0]}'.length)}';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  String? changeLogPageFromStandardUrl(String standardUrl) =>
 | 
					  String? changeLogPageFromStandardUrl(String standardUrl) =>
 | 
				
			||||||
      '$standardUrl/releases';
 | 
					      '$standardUrl/releases';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Future<APKDetails> getLatestAPKDetailsCommon(String requestUrl,
 | 
					  Future<APKDetails> getLatestAPKDetailsCommon(
 | 
				
			||||||
      String standardUrl, Map<String, dynamic> additionalSettings,
 | 
					    String requestUrl,
 | 
				
			||||||
      {Function(Response)? onHttpErrorCode}) async {
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
 | 
					    Function(Response)? onHttpErrorCode,
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    bool includePrereleases = additionalSettings['includePrereleases'] == true;
 | 
					    bool includePrereleases = additionalSettings['includePrereleases'] == true;
 | 
				
			||||||
    bool fallbackToOlderReleases =
 | 
					    bool fallbackToOlderReleases =
 | 
				
			||||||
        additionalSettings['fallbackToOlderReleases'] == true;
 | 
					        additionalSettings['fallbackToOlderReleases'] == true;
 | 
				
			||||||
@@ -244,16 +304,17 @@ 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;
 | 
					 | 
				
			||||||
    bool useLatestAssetDateAsReleaseDate =
 | 
					    bool useLatestAssetDateAsReleaseDate =
 | 
				
			||||||
        additionalSettings['useLatestAssetDateAsReleaseDate'] == true;
 | 
					        additionalSettings['useLatestAssetDateAsReleaseDate'] == true;
 | 
				
			||||||
 | 
					    String sortMethod =
 | 
				
			||||||
 | 
					        additionalSettings['sortMethodChoice'] ?? 'smartname-datefallback';
 | 
				
			||||||
    dynamic latestRelease;
 | 
					    dynamic latestRelease;
 | 
				
			||||||
    if (verifyLatestTag) {
 | 
					    if (verifyLatestTag) {
 | 
				
			||||||
      var temp = requestUrl.split('?');
 | 
					      var temp = requestUrl.split('?');
 | 
				
			||||||
      Response res = await sourceRequest(
 | 
					      Response res = await sourceRequest(
 | 
				
			||||||
        '${temp[0]}/latest${temp.length > 1 ? '?${temp.sublist(1).join('?')}' : ''}',
 | 
					        '${temp[0]}/latest${temp.length > 1 ? '?${temp.sublist(1).join('?')}' : ''}',
 | 
				
			||||||
          additionalSettings);
 | 
					        additionalSettings,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
      if (res.statusCode != 200) {
 | 
					      if (res.statusCode != 200) {
 | 
				
			||||||
        if (onHttpErrorCode != null) {
 | 
					        if (onHttpErrorCode != null) {
 | 
				
			||||||
          onHttpErrorCode(res);
 | 
					          onHttpErrorCode(res);
 | 
				
			||||||
@@ -268,8 +329,10 @@ class GitHub extends AppSource {
 | 
				
			|||||||
      if (latestRelease != null) {
 | 
					      if (latestRelease != null) {
 | 
				
			||||||
        var latestTag = latestRelease['tag_name'] ?? latestRelease['name'];
 | 
					        var latestTag = latestRelease['tag_name'] ?? latestRelease['name'];
 | 
				
			||||||
        if (releases
 | 
					        if (releases
 | 
				
			||||||
            .where((element) =>
 | 
					            .where(
 | 
				
			||||||
                (element['tag_name'] ?? element['name']) == latestTag)
 | 
					              (element) =>
 | 
				
			||||||
 | 
					                  (element['tag_name'] ?? element['name']) == latestTag,
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
            .isEmpty) {
 | 
					            .isEmpty) {
 | 
				
			||||||
          releases = [latestRelease, ...releases];
 | 
					          releases = [latestRelease, ...releases];
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -316,7 +379,7 @@ class GitHub extends AppSource {
 | 
				
			|||||||
          ? getPublishDateFromRelease(rel)
 | 
					          ? getPublishDateFromRelease(rel)
 | 
				
			||||||
          : getNewestAssetDateFromRelease(rel);
 | 
					          : getNewestAssetDateFromRelease(rel);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (dontSortReleasesList) {
 | 
					      if (sortMethod == 'none') {
 | 
				
			||||||
        releases = releases.reversed.toList();
 | 
					        releases = releases.reversed.toList();
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
        releases.sort((a, b) {
 | 
					        releases.sort((a, b) {
 | 
				
			||||||
@@ -330,22 +393,41 @@ class GitHub extends AppSource {
 | 
				
			|||||||
          } else {
 | 
					          } else {
 | 
				
			||||||
            var nameA = a['tag_name'] ?? a['name'];
 | 
					            var nameA = a['tag_name'] ?? a['name'];
 | 
				
			||||||
            var nameB = b['tag_name'] ?? b['name'];
 | 
					            var nameB = b['tag_name'] ?? b['name'];
 | 
				
			||||||
            var stdFormats = findStandardFormatsForVersion(nameA, true)
 | 
					            var stdFormats = findStandardFormatsForVersion(
 | 
				
			||||||
                .intersection(findStandardFormatsForVersion(nameB, true));
 | 
					              nameA,
 | 
				
			||||||
            if (stdFormats.isNotEmpty) {
 | 
					              false,
 | 
				
			||||||
              var reg = RegExp(stdFormats.first);
 | 
					            ).intersection(findStandardFormatsForVersion(nameB, false));
 | 
				
			||||||
 | 
					            if (sortMethod == 'date' ||
 | 
				
			||||||
 | 
					                (sortMethod == 'smartname-datefallback' &&
 | 
				
			||||||
 | 
					                    stdFormats.isEmpty)) {
 | 
				
			||||||
 | 
					              return (getReleaseDateFromRelease(
 | 
				
			||||||
 | 
					                        a,
 | 
				
			||||||
 | 
					                        useLatestAssetDateAsReleaseDate,
 | 
				
			||||||
 | 
					                      ) ??
 | 
				
			||||||
 | 
					                      DateTime(1))
 | 
				
			||||||
 | 
					                  .compareTo(
 | 
				
			||||||
 | 
					                    getReleaseDateFromRelease(
 | 
				
			||||||
 | 
					                          b,
 | 
				
			||||||
 | 
					                          useLatestAssetDateAsReleaseDate,
 | 
				
			||||||
 | 
					                        ) ??
 | 
				
			||||||
 | 
					                        DateTime(0),
 | 
				
			||||||
 | 
					                  );
 | 
				
			||||||
 | 
					            } else {
 | 
				
			||||||
 | 
					              if (sortMethod != 'name' && stdFormats.isNotEmpty) {
 | 
				
			||||||
 | 
					                var reg = RegExp(stdFormats.last);
 | 
				
			||||||
                var matchA = reg.firstMatch(nameA);
 | 
					                var matchA = reg.firstMatch(nameA);
 | 
				
			||||||
                var matchB = reg.firstMatch(nameB);
 | 
					                var matchB = reg.firstMatch(nameB);
 | 
				
			||||||
                return compareAlphaNumeric(
 | 
					                return compareAlphaNumeric(
 | 
				
			||||||
                  (nameA as String).substring(matchA!.start, matchA.end),
 | 
					                  (nameA as String).substring(matchA!.start, matchA.end),
 | 
				
			||||||
                  (nameB as String).substring(matchB!.start, matchB.end));
 | 
					                  (nameB as String).substring(matchB!.start, matchB.end),
 | 
				
			||||||
 | 
					                );
 | 
				
			||||||
              } else {
 | 
					              } else {
 | 
				
			||||||
              return (getReleaseDateFromRelease(
 | 
					                // 'name'
 | 
				
			||||||
                          a, useLatestAssetDateAsReleaseDate) ??
 | 
					                return compareAlphaNumeric(
 | 
				
			||||||
                      DateTime(1))
 | 
					                  (nameA as String),
 | 
				
			||||||
                  .compareTo(getReleaseDateFromRelease(
 | 
					                  (nameB as String),
 | 
				
			||||||
                          b, useLatestAssetDateAsReleaseDate) ??
 | 
					                );
 | 
				
			||||||
                      DateTime(0));
 | 
					              }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
@@ -356,9 +438,11 @@ class GitHub extends AppSource {
 | 
				
			|||||||
          latestRelease !=
 | 
					          latestRelease !=
 | 
				
			||||||
              (releases[releases.length - 1]['tag_name'] ??
 | 
					              (releases[releases.length - 1]['tag_name'] ??
 | 
				
			||||||
                  releases[0]['name'])) {
 | 
					                  releases[0]['name'])) {
 | 
				
			||||||
        var ind = releases.indexWhere((element) =>
 | 
					        var ind = releases.indexWhere(
 | 
				
			||||||
 | 
					          (element) =>
 | 
				
			||||||
              (latestRelease['tag_name'] ?? latestRelease['name']) ==
 | 
					              (latestRelease['tag_name'] ?? latestRelease['name']) ==
 | 
				
			||||||
            (element['tag_name'] ?? element['name']));
 | 
					              (element['tag_name'] ?? element['name']),
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
        if (ind >= 0) {
 | 
					        if (ind >= 0) {
 | 
				
			||||||
          releases.add(releases.removeAt(ind));
 | 
					          releases.add(releases.removeAt(ind));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -386,8 +470,9 @@ class GitHub extends AppSource {
 | 
				
			|||||||
          continue;
 | 
					          continue;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (regexNotesFilter != null &&
 | 
					        if (regexNotesFilter != null &&
 | 
				
			||||||
            !RegExp(regexNotesFilter)
 | 
					            !RegExp(
 | 
				
			||||||
                .hasMatch(((releases[i]['body'] as String?) ?? '').trim())) {
 | 
					              regexNotesFilter,
 | 
				
			||||||
 | 
					            ).hasMatch(((releases[i]['body'] as String?) ?? '').trim())) {
 | 
				
			||||||
          continue;
 | 
					          continue;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        var allAssetsWithUrls = findReleaseAssetUrls(releases[i]);
 | 
					        var allAssetsWithUrls = findReleaseAssetUrls(releases[i]);
 | 
				
			||||||
@@ -395,11 +480,12 @@ class GitHub extends AppSource {
 | 
				
			|||||||
            .map((e) => e['final_url'] as MapEntry<String, String>)
 | 
					            .map((e) => e['final_url'] as MapEntry<String, String>)
 | 
				
			||||||
            .toList();
 | 
					            .toList();
 | 
				
			||||||
        var apkAssetsWithUrls = allAssetsWithUrls
 | 
					        var apkAssetsWithUrls = allAssetsWithUrls
 | 
				
			||||||
            .where((element) =>
 | 
					            .where(
 | 
				
			||||||
                (element['final_url'] as MapEntry<String, String>)
 | 
					              (element) => (element['final_url'] as MapEntry<String, String>)
 | 
				
			||||||
                  .key
 | 
					                  .key
 | 
				
			||||||
                  .toLowerCase()
 | 
					                  .toLowerCase()
 | 
				
			||||||
                    .endsWith('.apk'))
 | 
					                  .endsWith('.apk'),
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
            .toList();
 | 
					            .toList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var filteredApkUrls = filterApks(
 | 
					        var filteredApkUrls = filterApks(
 | 
				
			||||||
@@ -407,12 +493,18 @@ class GitHub extends AppSource {
 | 
				
			|||||||
              .map((e) => e['final_url'] as MapEntry<String, String>)
 | 
					              .map((e) => e['final_url'] as MapEntry<String, String>)
 | 
				
			||||||
              .toList(),
 | 
					              .toList(),
 | 
				
			||||||
          additionalSettings['apkFilterRegEx'],
 | 
					          additionalSettings['apkFilterRegEx'],
 | 
				
			||||||
            additionalSettings['invertAPKFilter']);
 | 
					          additionalSettings['invertAPKFilter'],
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
        var filteredApks = apkAssetsWithUrls
 | 
					        var filteredApks = apkAssetsWithUrls
 | 
				
			||||||
            .where((e) => filteredApkUrls
 | 
					            .where(
 | 
				
			||||||
                .where((e2) =>
 | 
					              (e) => filteredApkUrls
 | 
				
			||||||
                    e2.key == (e['final_url'] as MapEntry<String, String>).key)
 | 
					                  .where(
 | 
				
			||||||
                .isNotEmpty)
 | 
					                    (e2) =>
 | 
				
			||||||
 | 
					                        e2.key ==
 | 
				
			||||||
 | 
					                        (e['final_url'] as MapEntry<String, String>).key,
 | 
				
			||||||
 | 
					                  )
 | 
				
			||||||
 | 
					                  .isNotEmpty,
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
            .toList();
 | 
					            .toList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (filteredApks.isEmpty && additionalSettings['trackOnly'] != true) {
 | 
					        if (filteredApks.isEmpty && additionalSettings['trackOnly'] != true) {
 | 
				
			||||||
@@ -426,14 +518,20 @@ class GitHub extends AppSource {
 | 
				
			|||||||
            ? nameToFilter
 | 
					            ? nameToFilter
 | 
				
			||||||
            : targetRelease['tag_name'] ?? targetRelease['name'];
 | 
					            : targetRelease['tag_name'] ?? targetRelease['name'];
 | 
				
			||||||
        if (targetRelease['tarball_url'] != null) {
 | 
					        if (targetRelease['tarball_url'] != null) {
 | 
				
			||||||
          allAssetUrls.add(MapEntry(
 | 
					          allAssetUrls.add(
 | 
				
			||||||
 | 
					            MapEntry(
 | 
				
			||||||
              (targetRelease['version'] ?? 'source') + '.tar.gz',
 | 
					              (targetRelease['version'] ?? 'source') + '.tar.gz',
 | 
				
			||||||
              targetRelease['tarball_url']));
 | 
					              targetRelease['tarball_url'],
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (targetRelease['zipball_url'] != null) {
 | 
					        if (targetRelease['zipball_url'] != null) {
 | 
				
			||||||
          allAssetUrls.add(MapEntry(
 | 
					          allAssetUrls.add(
 | 
				
			||||||
 | 
					            MapEntry(
 | 
				
			||||||
              (targetRelease['version'] ?? 'source') + '.zip',
 | 
					              (targetRelease['version'] ?? 'source') + '.zip',
 | 
				
			||||||
              targetRelease['zipball_url']));
 | 
					              targetRelease['zipball_url'],
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        targetRelease['allAssetUrls'] = allAssetUrls;
 | 
					        targetRelease['allAssetUrls'] = allAssetUrls;
 | 
				
			||||||
        break;
 | 
					        break;
 | 
				
			||||||
@@ -444,7 +542,9 @@ class GitHub extends AppSource {
 | 
				
			|||||||
      String? version = targetRelease['version'];
 | 
					      String? version = targetRelease['version'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      DateTime? releaseDate = getReleaseDateFromRelease(
 | 
					      DateTime? releaseDate = getReleaseDateFromRelease(
 | 
				
			||||||
          targetRelease, useLatestAssetDateAsReleaseDate);
 | 
					        targetRelease,
 | 
				
			||||||
 | 
					        useLatestAssetDateAsReleaseDate,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
      if (version == null) {
 | 
					      if (version == null) {
 | 
				
			||||||
        throw NoVersionError();
 | 
					        throw NoVersionError();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -456,7 +556,8 @@ class GitHub extends AppSource {
 | 
				
			|||||||
        releaseDate: releaseDate,
 | 
					        releaseDate: releaseDate,
 | 
				
			||||||
        changeLog: changeLog.isEmpty ? null : changeLog,
 | 
					        changeLog: changeLog.isEmpty ? null : changeLog,
 | 
				
			||||||
        allAssetUrls:
 | 
					        allAssetUrls:
 | 
				
			||||||
              targetRelease['allAssetUrls'] as List<MapEntry<String, String>>);
 | 
					            targetRelease['allAssetUrls'] as List<MapEntry<String, String>>,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      if (onHttpErrorCode != null) {
 | 
					      if (onHttpErrorCode != null) {
 | 
				
			||||||
        onHttpErrorCode(res);
 | 
					        onHttpErrorCode(res);
 | 
				
			||||||
@@ -465,20 +566,27 @@ class GitHub extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  getLatestAPKDetailsCommon2(
 | 
					  Future<APKDetails> getLatestAPKDetailsCommon2(
 | 
				
			||||||
    String standardUrl,
 | 
					    String standardUrl,
 | 
				
			||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
    Future<String> Function(bool) reqUrlGenerator,
 | 
					    Future<String> Function(bool) reqUrlGenerator,
 | 
				
			||||||
      dynamic Function(Response)? onHttpErrorCode) async {
 | 
					    dynamic Function(Response)? onHttpErrorCode,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    try {
 | 
					    try {
 | 
				
			||||||
      return await getLatestAPKDetailsCommon(
 | 
					      return await getLatestAPKDetailsCommon(
 | 
				
			||||||
          await reqUrlGenerator(false), standardUrl, additionalSettings,
 | 
					        await reqUrlGenerator(false),
 | 
				
			||||||
          onHttpErrorCode: onHttpErrorCode);
 | 
					        standardUrl,
 | 
				
			||||||
 | 
					        additionalSettings,
 | 
				
			||||||
 | 
					        onHttpErrorCode: onHttpErrorCode,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } catch (err) {
 | 
					    } catch (err) {
 | 
				
			||||||
      if (err is NoReleasesError && additionalSettings['trackOnly'] == true) {
 | 
					      if (err is NoReleasesError && additionalSettings['trackOnly'] == true) {
 | 
				
			||||||
        return await getLatestAPKDetailsCommon(
 | 
					        return await getLatestAPKDetailsCommon(
 | 
				
			||||||
            await reqUrlGenerator(true), standardUrl, additionalSettings,
 | 
					          await reqUrlGenerator(true),
 | 
				
			||||||
            onHttpErrorCode: onHttpErrorCode);
 | 
					          standardUrl,
 | 
				
			||||||
 | 
					          additionalSettings,
 | 
				
			||||||
 | 
					          onHttpErrorCode: onHttpErrorCode,
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
        rethrow;
 | 
					        rethrow;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -490,12 +598,16 @@ class GitHub extends AppSource {
 | 
				
			|||||||
    String standardUrl,
 | 
					    String standardUrl,
 | 
				
			||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    return await getLatestAPKDetailsCommon2(standardUrl, additionalSettings,
 | 
					    return await getLatestAPKDetailsCommon2(
 | 
				
			||||||
 | 
					      standardUrl,
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
      (bool useTagUrl) async {
 | 
					      (bool useTagUrl) async {
 | 
				
			||||||
        return '${await convertStandardUrlToAPIUrl(standardUrl, additionalSettings)}/${useTagUrl ? 'tags' : 'releases'}?per_page=100';
 | 
					        return '${await convertStandardUrlToAPIUrl(standardUrl, additionalSettings)}/${useTagUrl ? 'tags' : 'releases'}?per_page=100';
 | 
				
			||||||
    }, (Response res) {
 | 
					      },
 | 
				
			||||||
 | 
					      (Response res) {
 | 
				
			||||||
        rateLimitErrorCheck(res);
 | 
					        rateLimitErrorCheck(res);
 | 
				
			||||||
    });
 | 
					      },
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  AppNames getAppNames(String standardUrl) {
 | 
					  AppNames getAppNames(String standardUrl) {
 | 
				
			||||||
@@ -505,9 +617,12 @@ class GitHub extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Future<Map<String, List<String>>> searchCommon(
 | 
					  Future<Map<String, List<String>>> searchCommon(
 | 
				
			||||||
      String query, String requestUrl, String rootProp,
 | 
					    String query,
 | 
				
			||||||
      {Function(Response)? onHttpErrorCode,
 | 
					    String requestUrl,
 | 
				
			||||||
      Map<String, dynamic> querySettings = const {}}) async {
 | 
					    String rootProp, {
 | 
				
			||||||
 | 
					    Function(Response)? onHttpErrorCode,
 | 
				
			||||||
 | 
					    Map<String, dynamic> querySettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    Response res = await sourceRequest(requestUrl, {});
 | 
					    Response res = await sourceRequest(requestUrl, {});
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      int minStarCount = querySettings['minStarCount'] != null
 | 
					      int minStarCount = querySettings['minStarCount'] != null
 | 
				
			||||||
@@ -522,8 +637,8 @@ class GitHub extends AppSource {
 | 
				
			|||||||
              ((e['archived'] == true ? '[ARCHIVED] ' : '') +
 | 
					              ((e['archived'] == true ? '[ARCHIVED] ' : '') +
 | 
				
			||||||
                  (e['description'] != null
 | 
					                  (e['description'] != null
 | 
				
			||||||
                      ? e['description'] as String
 | 
					                      ? e['description'] as String
 | 
				
			||||||
                      : tr('noDescription')))
 | 
					                      : tr('noDescription'))),
 | 
				
			||||||
            ]
 | 
					            ],
 | 
				
			||||||
          });
 | 
					          });
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -537,22 +652,27 @@ class GitHub extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, List<String>>> search(String query,
 | 
					  Future<Map<String, List<String>>> search(
 | 
				
			||||||
      {Map<String, dynamic> querySettings = const {}}) async {
 | 
					    String query, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> querySettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return searchCommon(
 | 
					    return searchCommon(
 | 
				
			||||||
      query,
 | 
					      query,
 | 
				
			||||||
      '${await getAPIHost({})}/search/repositories?q=${Uri.encodeQueryComponent(query)}&per_page=100',
 | 
					      '${await getAPIHost({})}/search/repositories?q=${Uri.encodeQueryComponent(query)}&per_page=100',
 | 
				
			||||||
        'items', onHttpErrorCode: (Response res) {
 | 
					      'items',
 | 
				
			||||||
 | 
					      onHttpErrorCode: (Response res) {
 | 
				
			||||||
        rateLimitErrorCheck(res);
 | 
					        rateLimitErrorCheck(res);
 | 
				
			||||||
    }, querySettings: querySettings);
 | 
					      },
 | 
				
			||||||
 | 
					      querySettings: querySettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  rateLimitErrorCheck(Response res) {
 | 
					  void rateLimitErrorCheck(Response res) {
 | 
				
			||||||
    if (res.headers['x-ratelimit-remaining'] == '0') {
 | 
					    if (res.headers['x-ratelimit-remaining'] == '0') {
 | 
				
			||||||
      throw RateLimitError(
 | 
					      throw RateLimitError(
 | 
				
			||||||
          (int.parse(res.headers['x-ratelimit-reset'] ?? '1800000000') /
 | 
					        (int.parse(res.headers['x-ratelimit-reset'] ?? '1800000000') / 60000000)
 | 
				
			||||||
                  60000000)
 | 
					            .round(),
 | 
				
			||||||
              .round());
 | 
					      );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,36 +18,41 @@ class GitLab extends AppSource {
 | 
				
			|||||||
    showReleaseDateAsVersionToggle = true;
 | 
					    showReleaseDateAsVersionToggle = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    sourceConfigSettingFormItems = [
 | 
					    sourceConfigSettingFormItems = [
 | 
				
			||||||
      GeneratedFormTextField('gitlab-creds',
 | 
					      GeneratedFormTextField(
 | 
				
			||||||
 | 
					        'gitlab-creds',
 | 
				
			||||||
        label: tr('gitlabPATLabel'),
 | 
					        label: tr('gitlabPATLabel'),
 | 
				
			||||||
        password: true,
 | 
					        password: true,
 | 
				
			||||||
        required: false,
 | 
					        required: false,
 | 
				
			||||||
        belowWidgets: [
 | 
					        belowWidgets: [
 | 
				
			||||||
            const SizedBox(
 | 
					          const SizedBox(height: 4),
 | 
				
			||||||
              height: 4,
 | 
					 | 
				
			||||||
            ),
 | 
					 | 
				
			||||||
          GestureDetector(
 | 
					          GestureDetector(
 | 
				
			||||||
            onTap: () {
 | 
					            onTap: () {
 | 
				
			||||||
              launchUrlString(
 | 
					              launchUrlString(
 | 
				
			||||||
                'https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token',
 | 
					                'https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token',
 | 
				
			||||||
                      mode: LaunchMode.externalApplication);
 | 
					                mode: LaunchMode.externalApplication,
 | 
				
			||||||
 | 
					              );
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            child: Text(
 | 
					            child: Text(
 | 
				
			||||||
              tr('about'),
 | 
					              tr('about'),
 | 
				
			||||||
              style: const TextStyle(
 | 
					              style: const TextStyle(
 | 
				
			||||||
                      decoration: TextDecoration.underline, fontSize: 12),
 | 
					                decoration: TextDecoration.underline,
 | 
				
			||||||
                )),
 | 
					                fontSize: 12,
 | 
				
			||||||
            const SizedBox(
 | 
					              ),
 | 
				
			||||||
              height: 4,
 | 
					            ),
 | 
				
			||||||
            )
 | 
					          ),
 | 
				
			||||||
          ])
 | 
					          const SizedBox(height: 4),
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = [
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('fallbackToOlderReleases',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('fallbackToOlderReleases'), defaultValue: true)
 | 
					          'fallbackToOlderReleases',
 | 
				
			||||||
      ]
 | 
					          label: tr('fallbackToOlderReleases'),
 | 
				
			||||||
 | 
					          defaultValue: true,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -55,11 +60,13 @@ class GitLab extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    var urlSegments = url.split('/');
 | 
					    var urlSegments = url.split('/');
 | 
				
			||||||
    var cutOffIndex = urlSegments.indexWhere((s) => s == '-');
 | 
					    var cutOffIndex = urlSegments.indexWhere((s) => s == '-');
 | 
				
			||||||
    url =
 | 
					    url = urlSegments
 | 
				
			||||||
        urlSegments.sublist(0, cutOffIndex <= 0 ? null : cutOffIndex).join('/');
 | 
					        .sublist(0, cutOffIndex <= 0 ? null : cutOffIndex)
 | 
				
			||||||
 | 
					        .join('/');
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+(/[^((\b/\b)|(\b/-/\b))]+){1,20}',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+(/[^((\b/\b)|(\b/-/\b))]+){1,20}',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -70,15 +77,19 @@ class GitLab extends AppSource {
 | 
				
			|||||||
  Future<String?> getPATIfAny(Map<String, dynamic> additionalSettings) async {
 | 
					  Future<String?> getPATIfAny(Map<String, dynamic> additionalSettings) async {
 | 
				
			||||||
    SettingsProvider settingsProvider = SettingsProvider();
 | 
					    SettingsProvider settingsProvider = SettingsProvider();
 | 
				
			||||||
    await settingsProvider.initializeSettings();
 | 
					    await settingsProvider.initializeSettings();
 | 
				
			||||||
    var sourceConfig =
 | 
					    var sourceConfig = await getSourceConfigValues(
 | 
				
			||||||
        await getSourceConfigValues(additionalSettings, settingsProvider);
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					      settingsProvider,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    String? creds = sourceConfig['gitlab-creds'];
 | 
					    String? creds = sourceConfig['gitlab-creds'];
 | 
				
			||||||
    return creds != null && creds.isNotEmpty ? creds : null;
 | 
					    return creds != null && creds.isNotEmpty ? creds : null;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, List<String>>> search(String query,
 | 
					  Future<Map<String, List<String>>> search(
 | 
				
			||||||
      {Map<String, dynamic> querySettings = const {}}) async {
 | 
					    String query, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> querySettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    var url =
 | 
					    var url =
 | 
				
			||||||
        'https://${hosts[0]}/api/v4/projects?search=${Uri.encodeQueryComponent(query)}';
 | 
					        'https://${hosts[0]}/api/v4/projects?search=${Uri.encodeQueryComponent(query)}';
 | 
				
			||||||
    var res = await sourceRequest(url, {});
 | 
					    var res = await sourceRequest(url, {});
 | 
				
			||||||
@@ -90,7 +101,7 @@ class GitLab extends AppSource {
 | 
				
			|||||||
    for (var element in json) {
 | 
					    for (var element in json) {
 | 
				
			||||||
      results['https://${hosts[0]}/${element['path_with_namespace']}'] = [
 | 
					      results['https://${hosts[0]}/${element['path_with_namespace']}'] = [
 | 
				
			||||||
        element['name_with_namespace'],
 | 
					        element['name_with_namespace'],
 | 
				
			||||||
        element['description'] ?? tr('noDescription')
 | 
					        element['description'] ?? tr('noDescription'),
 | 
				
			||||||
      ];
 | 
					      ];
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return results;
 | 
					    return results;
 | 
				
			||||||
@@ -102,8 +113,9 @@ class GitLab extends AppSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, String>?> getRequestHeaders(
 | 
					  Future<Map<String, String>?> getRequestHeaders(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
      {bool forAPKDownload = false}) async {
 | 
					    bool forAPKDownload = false,
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    // Change headers to pacify, e.g. cloudflare protection
 | 
					    // Change headers to pacify, e.g. cloudflare protection
 | 
				
			||||||
    // Related to: (#1397, #1389, #1384, #1382, #1381, #1380, #1359, #854, #785, #697)
 | 
					    // Related to: (#1397, #1389, #1384, #1382, #1381, #1380, #1359, #854, #785, #697)
 | 
				
			||||||
    var headers = <String, String>{};
 | 
					    var headers = <String, String>{};
 | 
				
			||||||
@@ -116,11 +128,14 @@ class GitLab extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String> apkUrlPrefetchModifier(String apkUrl, String standardUrl,
 | 
					  Future<String> apkUrlPrefetchModifier(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings) async {
 | 
					    String apkUrl,
 | 
				
			||||||
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    String? PAT = await getPATIfAny(hostChanged ? additionalSettings : {});
 | 
					    String? PAT = await getPATIfAny(hostChanged ? additionalSettings : {});
 | 
				
			||||||
    String optionalAuth = (PAT != null) ? 'private_token=$PAT' : '';
 | 
					    String optionalAuth = (PAT != null) ? 'private_token=$PAT' : '';
 | 
				
			||||||
    return '$apkUrl?$optionalAuth';
 | 
					    return '$apkUrl${(Uri.parse(apkUrl).query.isEmpty ? '?' : '&')}$optionalAuth';
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
@@ -140,7 +155,8 @@ class GitLab extends AppSource {
 | 
				
			|||||||
    // Get project ID
 | 
					    // Get project ID
 | 
				
			||||||
    Response res0 = await sourceRequest(
 | 
					    Response res0 = await sourceRequest(
 | 
				
			||||||
      'https://${hosts[0]}/api/v4/projects/$projectUriComponent?$optionalAuth',
 | 
					      'https://${hosts[0]}/api/v4/projects/$projectUriComponent?$optionalAuth',
 | 
				
			||||||
        additionalSettings);
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res0.statusCode != 200) {
 | 
					    if (res0.statusCode != 200) {
 | 
				
			||||||
      throw getObtainiumHttpError(res0);
 | 
					      throw getObtainiumHttpError(res0);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -152,7 +168,8 @@ class GitLab extends AppSource {
 | 
				
			|||||||
    // Request data from REST API
 | 
					    // Request data from REST API
 | 
				
			||||||
    Response res = await sourceRequest(
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
      'https://${hosts[0]}/api/v4/projects/$projectUriComponent/${trackOnly ? 'repository/tags' : 'releases'}?$optionalAuth',
 | 
					      'https://${hosts[0]}/api/v4/projects/$projectUriComponent/${trackOnly ? 'repository/tags' : 'releases'}?$optionalAuth',
 | 
				
			||||||
        additionalSettings);
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode != 200) {
 | 
					    if (res.statusCode != 200) {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -169,8 +186,10 @@ class GitLab extends AppSource {
 | 
				
			|||||||
              (e['name'] ??
 | 
					              (e['name'] ??
 | 
				
			||||||
                      (parsedUrl != null && parsedUrl.pathSegments.isNotEmpty
 | 
					                      (parsedUrl != null && parsedUrl.pathSegments.isNotEmpty
 | 
				
			||||||
                          ? parsedUrl.pathSegments.last
 | 
					                          ? parsedUrl.pathSegments.last
 | 
				
			||||||
                        : 'unknown')) as String,
 | 
					                          : 'unknown'))
 | 
				
			||||||
                (e['direct_asset_url'] ?? e['url'] ?? '') as String);
 | 
					                  as String,
 | 
				
			||||||
 | 
					              (e['direct_asset_url'] ?? e['url'] ?? '') as String,
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
          })
 | 
					          })
 | 
				
			||||||
          .where((s) => s.key.isNotEmpty)
 | 
					          .where((s) => s.key.isNotEmpty)
 | 
				
			||||||
          .toList();
 | 
					          .toList();
 | 
				
			||||||
@@ -193,11 +212,15 @@ class GitLab extends AppSource {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
      var releaseDateString =
 | 
					      var releaseDateString =
 | 
				
			||||||
          e['released_at'] ?? e['created_at'] ?? e['commit']?['created_at'];
 | 
					          e['released_at'] ?? e['created_at'] ?? e['commit']?['created_at'];
 | 
				
			||||||
      DateTime? releaseDate =
 | 
					      DateTime? releaseDate = releaseDateString != null
 | 
				
			||||||
          releaseDateString != null ? DateTime.parse(releaseDateString) : null;
 | 
					          ? DateTime.parse(releaseDateString)
 | 
				
			||||||
      return APKDetails(e['tag_name'] ?? e['name'], apkUrls.entries.toList(),
 | 
					          : null;
 | 
				
			||||||
 | 
					      return APKDetails(
 | 
				
			||||||
 | 
					        e['tag_name'] ?? e['name'],
 | 
				
			||||||
 | 
					        apkUrls.entries.toList(),
 | 
				
			||||||
        AppNames(names.author, names.name.split('/').last),
 | 
					        AppNames(names.author, names.name.split('/').last),
 | 
				
			||||||
          releaseDate: releaseDate);
 | 
					        releaseDate: releaseDate,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
    if (apkDetailsList.isEmpty) {
 | 
					    if (apkDetailsList.isEmpty) {
 | 
				
			||||||
      throw NoReleasesError();
 | 
					      throw NoReleasesError();
 | 
				
			||||||
@@ -208,8 +231,9 @@ class GitLab extends AppSource {
 | 
				
			|||||||
    bool fallbackToOlderReleases =
 | 
					    bool fallbackToOlderReleases =
 | 
				
			||||||
        additionalSettings['fallbackToOlderReleases'] == true;
 | 
					        additionalSettings['fallbackToOlderReleases'] == true;
 | 
				
			||||||
    if (finalResult.apkUrls.isEmpty && fallbackToOlderReleases && !trackOnly) {
 | 
					    if (finalResult.apkUrls.isEmpty && fallbackToOlderReleases && !trackOnly) {
 | 
				
			||||||
      apkDetailsList =
 | 
					      apkDetailsList = apkDetailsList
 | 
				
			||||||
          apkDetailsList.where((e) => e.apkUrls.isNotEmpty).toList();
 | 
					          .where((e) => e.apkUrls.isNotEmpty)
 | 
				
			||||||
 | 
					          .toList();
 | 
				
			||||||
      finalResult = apkDetailsList.first;
 | 
					      finalResult = apkDetailsList.first;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -218,10 +242,13 @@ class GitLab extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    finalResult.apkUrls = finalResult.apkUrls.map((apkUrl) {
 | 
					    finalResult.apkUrls = finalResult.apkUrls.map((apkUrl) {
 | 
				
			||||||
      if (RegExp('^$standardUrl/-/jobs/[0-9]+/artifacts/file/[^/]+')
 | 
					      if (RegExp(
 | 
				
			||||||
          .hasMatch(apkUrl.value)) {
 | 
					        '^$standardUrl/-/jobs/[0-9]+/artifacts/file/[^/]+',
 | 
				
			||||||
 | 
					      ).hasMatch(apkUrl.value)) {
 | 
				
			||||||
        return MapEntry(
 | 
					        return MapEntry(
 | 
				
			||||||
            apkUrl.key, apkUrl.value.replaceFirst('/file/', '/raw/'));
 | 
					          apkUrl.key,
 | 
				
			||||||
 | 
					          apkUrl.value.replaceFirst('/file/', '/raw/'),
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
        return apkUrl;
 | 
					        return apkUrl;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,3 +1,5 @@
 | 
				
			|||||||
 | 
					import 'dart:convert';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import 'package:easy_localization/easy_localization.dart';
 | 
					import 'package:easy_localization/easy_localization.dart';
 | 
				
			||||||
import 'package:html/parser.dart';
 | 
					import 'package:html/parser.dart';
 | 
				
			||||||
import 'package:http/http.dart';
 | 
					import 'package:http/http.dart';
 | 
				
			||||||
@@ -7,32 +9,14 @@ import 'package:obtainium/providers/apps_provider.dart';
 | 
				
			|||||||
import 'package:obtainium/providers/source_provider.dart';
 | 
					import 'package:obtainium/providers/source_provider.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String ensureAbsoluteUrl(String ambiguousUrl, Uri referenceAbsoluteUrl) {
 | 
					String ensureAbsoluteUrl(String ambiguousUrl, Uri referenceAbsoluteUrl) {
 | 
				
			||||||
  if (ambiguousUrl.startsWith('//')) {
 | 
					 | 
				
			||||||
    ambiguousUrl = '${referenceAbsoluteUrl.scheme}:$ambiguousUrl';
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  try {
 | 
					  try {
 | 
				
			||||||
    Uri.parse(ambiguousUrl).origin;
 | 
					    if (Uri.parse(ambiguousUrl).isAbsolute) {
 | 
				
			||||||
    return ambiguousUrl;
 | 
					      return ambiguousUrl; // #2315
 | 
				
			||||||
  } catch (err) {
 | 
					 | 
				
			||||||
    // is relative
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  var currPathSegments = referenceAbsoluteUrl.path
 | 
					  } catch (e) {
 | 
				
			||||||
      .split('/')
 | 
					    //
 | 
				
			||||||
      .where((element) => element.trim().isNotEmpty)
 | 
					 | 
				
			||||||
      .toList();
 | 
					 | 
				
			||||||
  String absoluteUrl;
 | 
					 | 
				
			||||||
  if (ambiguousUrl.startsWith('/')) {
 | 
					 | 
				
			||||||
    absoluteUrl = '${referenceAbsoluteUrl.origin}$ambiguousUrl';
 | 
					 | 
				
			||||||
  } else if (currPathSegments.isEmpty) {
 | 
					 | 
				
			||||||
    absoluteUrl = '${referenceAbsoluteUrl.origin}/$ambiguousUrl';
 | 
					 | 
				
			||||||
  } else if (ambiguousUrl.split('/').where((e) => e.isNotEmpty).length == 1) {
 | 
					 | 
				
			||||||
    absoluteUrl =
 | 
					 | 
				
			||||||
        '${referenceAbsoluteUrl.origin}/${currPathSegments.join('/')}/$ambiguousUrl';
 | 
					 | 
				
			||||||
  } else {
 | 
					 | 
				
			||||||
    absoluteUrl =
 | 
					 | 
				
			||||||
        '${referenceAbsoluteUrl.origin}/${currPathSegments.sublist(0, currPathSegments.length - (currPathSegments.last.contains('.') ? 1 : 0)).join('/')}/$ambiguousUrl';
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  return Uri.parse(absoluteUrl).toString();
 | 
					  return referenceAbsoluteUrl.resolve(ambiguousUrl).toString();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int compareAlphaNumeric(String a, String b) {
 | 
					int compareAlphaNumeric(String a, String b) {
 | 
				
			||||||
@@ -67,6 +51,27 @@ int compareAlphaNumeric(String a, String b) {
 | 
				
			|||||||
  return aParts.length.compareTo(bParts.length);
 | 
					  return aParts.length.compareTo(bParts.length);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					List<String> collectAllStringsFromJSONObject(dynamic obj) {
 | 
				
			||||||
 | 
					  List<String> extractor(dynamic obj) {
 | 
				
			||||||
 | 
					    final results = <String>[];
 | 
				
			||||||
 | 
					    if (obj is String) {
 | 
				
			||||||
 | 
					      results.add(obj);
 | 
				
			||||||
 | 
					    } else if (obj is List) {
 | 
				
			||||||
 | 
					      for (final item in obj) {
 | 
				
			||||||
 | 
					        results.addAll(extractor(item));
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    } else if (obj is Map<String, dynamic>) {
 | 
				
			||||||
 | 
					      for (final value in obj.values) {
 | 
				
			||||||
 | 
					        results.addAll(extractor(value));
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    return results;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return extractor(obj);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
List<String> _splitAlphaNumeric(String s) {
 | 
					List<String> _splitAlphaNumeric(String s) {
 | 
				
			||||||
  List<String> parts = [];
 | 
					  List<String> parts = [];
 | 
				
			||||||
  StringBuffer sb = StringBuffer();
 | 
					  StringBuffer sb = StringBuffer();
 | 
				
			||||||
@@ -95,31 +100,60 @@ bool _isNumeric(String s) {
 | 
				
			|||||||
  return s.codeUnitAt(0) >= 48 && s.codeUnitAt(0) <= 57;
 | 
					  return s.codeUnitAt(0) >= 48 && s.codeUnitAt(0) <= 57;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					List<MapEntry<String, String>> getLinksInLines(String lines) =>
 | 
				
			||||||
 | 
					    RegExp(
 | 
				
			||||||
 | 
					          r'(http|ftp|https)://([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?',
 | 
				
			||||||
 | 
					        )
 | 
				
			||||||
 | 
					        .allMatches(lines)
 | 
				
			||||||
 | 
					        .map(
 | 
				
			||||||
 | 
					          (match) =>
 | 
				
			||||||
 | 
					              MapEntry(match.group(0)!, match.group(0)?.split('/').last ?? ''),
 | 
				
			||||||
 | 
					        )
 | 
				
			||||||
 | 
					        .toList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Given an HTTP response, grab some links according to the common additional settings
 | 
					// Given an HTTP response, grab some links according to the common additional settings
 | 
				
			||||||
// (those that apply to intermediate and final steps)
 | 
					// (those that apply to intermediate and final steps)
 | 
				
			||||||
Future<List<MapEntry<String, String>>> grabLinksCommon(
 | 
					Future<List<MapEntry<String, String>>> grabLinksCommon(
 | 
				
			||||||
    Response res, Map<String, dynamic> additionalSettings) async {
 | 
					  Response res,
 | 
				
			||||||
 | 
					  Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					) async {
 | 
				
			||||||
  if (res.statusCode != 200) {
 | 
					  if (res.statusCode != 200) {
 | 
				
			||||||
    throw getObtainiumHttpError(res);
 | 
					    throw getObtainiumHttpError(res);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  var html = parse(res.body);
 | 
					  var html = parse(res.body);
 | 
				
			||||||
  List<MapEntry<String, String>> allLinks = html
 | 
					  List<MapEntry<String, String>> allLinks = html
 | 
				
			||||||
      .querySelectorAll('a')
 | 
					      .querySelectorAll('a')
 | 
				
			||||||
      .map((element) => MapEntry(
 | 
					      .map(
 | 
				
			||||||
 | 
					        (element) => MapEntry(
 | 
				
			||||||
          element.attributes['href'] ?? '',
 | 
					          element.attributes['href'] ?? '',
 | 
				
			||||||
          element.text.isNotEmpty
 | 
					          element.text.isNotEmpty
 | 
				
			||||||
              ? element.text
 | 
					              ? element.text
 | 
				
			||||||
              : (element.attributes['href'] ?? '').split('/').last))
 | 
					              : (element.attributes['href'] ?? '').split('/').last,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      )
 | 
				
			||||||
      .where((element) => element.key.isNotEmpty)
 | 
					      .where((element) => element.key.isNotEmpty)
 | 
				
			||||||
      .map((e) => MapEntry(ensureAbsoluteUrl(e.key, res.request!.url), e.value))
 | 
					      .map((e) => MapEntry(ensureAbsoluteUrl(e.key, res.request!.url), e.value))
 | 
				
			||||||
      .toList();
 | 
					      .toList();
 | 
				
			||||||
  if (allLinks.isEmpty) {
 | 
					  if (allLinks.isEmpty) {
 | 
				
			||||||
    allLinks = RegExp(
 | 
					    allLinks = getLinksInLines(res.body);
 | 
				
			||||||
            r'(http|ftp|https)://([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?')
 | 
					  }
 | 
				
			||||||
        .allMatches(res.body)
 | 
					  if (allLinks.isEmpty) {
 | 
				
			||||||
        .map((match) =>
 | 
					    // Getting desperate
 | 
				
			||||||
            MapEntry(match.group(0)!, match.group(0)?.split('/').last ?? ''))
 | 
					    try {
 | 
				
			||||||
        .toList();
 | 
					      var jsonStrings = collectAllStringsFromJSONObject(jsonDecode(res.body));
 | 
				
			||||||
 | 
					      allLinks = getLinksInLines(jsonStrings.join('\n'));
 | 
				
			||||||
 | 
					      if (allLinks.isEmpty) {
 | 
				
			||||||
 | 
					        allLinks = getLinksInLines(
 | 
				
			||||||
 | 
					          jsonStrings
 | 
				
			||||||
 | 
					              .map((l) {
 | 
				
			||||||
 | 
					                return ensureAbsoluteUrl(l, res.request!.url);
 | 
				
			||||||
 | 
					              })
 | 
				
			||||||
 | 
					              .join('\n'),
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    } catch (e) {
 | 
				
			||||||
 | 
					      //
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  List<MapEntry<String, String>> links = [];
 | 
					  List<MapEntry<String, String>> links = [];
 | 
				
			||||||
  bool skipSort = additionalSettings['skipSort'] == true;
 | 
					  bool skipSort = additionalSettings['skipSort'] == true;
 | 
				
			||||||
@@ -144,17 +178,20 @@ Future<List<MapEntry<String, String>>> grabLinksCommon(
 | 
				
			|||||||
      } catch (e) {
 | 
					      } catch (e) {
 | 
				
			||||||
        // Some links may not have valid encoding
 | 
					        // Some links may not have valid encoding
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      return Uri.parse(filterLinkByText ? element.value : link)
 | 
					      return Uri.parse(
 | 
				
			||||||
          .path
 | 
					        filterLinkByText ? element.value : link,
 | 
				
			||||||
          .toLowerCase()
 | 
					      ).path.toLowerCase().endsWith('.apk');
 | 
				
			||||||
          .endsWith('.apk');
 | 
					 | 
				
			||||||
    }).toList();
 | 
					    }).toList();
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  if (!skipSort) {
 | 
					  if (!skipSort) {
 | 
				
			||||||
    links.sort((a, b) => additionalSettings['sortByLastLinkSegment'] == true
 | 
					    links.sort(
 | 
				
			||||||
        ? compareAlphaNumeric(a.key.split('/').where((e) => e.isNotEmpty).last,
 | 
					      (a, b) => additionalSettings['sortByLastLinkSegment'] == true
 | 
				
			||||||
            b.key.split('/').where((e) => e.isNotEmpty).last)
 | 
					          ? compareAlphaNumeric(
 | 
				
			||||||
        : compareAlphaNumeric(a.key, b.key));
 | 
					              a.key.split('/').where((e) => e.isNotEmpty).last,
 | 
				
			||||||
 | 
					              b.key.split('/').where((e) => e.isNotEmpty).last,
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
 | 
					          : compareAlphaNumeric(a.key, b.key),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  if (additionalSettings['reverseSort'] == true) {
 | 
					  if (additionalSettings['reverseSort'] == true) {
 | 
				
			||||||
    links = links.reversed.toList();
 | 
					    links = links.reversed.toList();
 | 
				
			||||||
@@ -180,45 +217,61 @@ class HTML extends AppSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  var finalStepFormitems = [
 | 
					  var finalStepFormitems = [
 | 
				
			||||||
    [
 | 
					    [
 | 
				
			||||||
      GeneratedFormTextField('customLinkFilterRegex',
 | 
					      GeneratedFormTextField(
 | 
				
			||||||
 | 
					        'customLinkFilterRegex',
 | 
				
			||||||
        label: tr('customLinkFilterRegex'),
 | 
					        label: tr('customLinkFilterRegex'),
 | 
				
			||||||
        hint: 'download/(.*/)?(android|apk|mobile)',
 | 
					        hint: 'download/(.*/)?(android|apk|mobile)',
 | 
				
			||||||
        required: false,
 | 
					        required: false,
 | 
				
			||||||
        additionalValidators: [
 | 
					        additionalValidators: [
 | 
				
			||||||
          (value) {
 | 
					          (value) {
 | 
				
			||||||
            return regExValidator(value);
 | 
					            return regExValidator(value);
 | 
				
			||||||
            }
 | 
					          },
 | 
				
			||||||
          ])
 | 
					        ],
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    [
 | 
					    [
 | 
				
			||||||
      GeneratedFormSwitch('versionExtractWholePage',
 | 
					      GeneratedFormSwitch(
 | 
				
			||||||
          label: tr('versionExtractWholePage'))
 | 
					        'versionExtractWholePage',
 | 
				
			||||||
    ]
 | 
					        label: tr('versionExtractWholePage'),
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
  var commonFormItems = [
 | 
					  var commonFormItems = [
 | 
				
			||||||
    [GeneratedFormSwitch('filterByLinkText', label: tr('filterByLinkText'))],
 | 
					    [GeneratedFormSwitch('filterByLinkText', label: tr('filterByLinkText'))],
 | 
				
			||||||
    [GeneratedFormSwitch('skipSort', label: tr('skipSort'))],
 | 
					    [GeneratedFormSwitch('skipSort', label: tr('skipSort'))],
 | 
				
			||||||
    [GeneratedFormSwitch('reverseSort', label: tr('takeFirstLink'))],
 | 
					    [GeneratedFormSwitch('reverseSort', label: tr('takeFirstLink'))],
 | 
				
			||||||
    [
 | 
					    [
 | 
				
			||||||
      GeneratedFormSwitch('sortByLastLinkSegment',
 | 
					      GeneratedFormSwitch(
 | 
				
			||||||
          label: tr('sortByLastLinkSegment'))
 | 
					        'sortByLastLinkSegment',
 | 
				
			||||||
 | 
					        label: tr('sortByLastLinkSegment'),
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
  var intermediateFormItems = [
 | 
					  var intermediateFormItems = [
 | 
				
			||||||
    [
 | 
					    [
 | 
				
			||||||
      GeneratedFormTextField('customLinkFilterRegex',
 | 
					      GeneratedFormTextField(
 | 
				
			||||||
 | 
					        'customLinkFilterRegex',
 | 
				
			||||||
        label: tr('intermediateLinkRegex'),
 | 
					        label: tr('intermediateLinkRegex'),
 | 
				
			||||||
        hint: '([0-9]+.)*[0-9]+/\$',
 | 
					        hint: '([0-9]+.)*[0-9]+/\$',
 | 
				
			||||||
        required: true,
 | 
					        required: true,
 | 
				
			||||||
          additionalValidators: [(value) => regExValidator(value)])
 | 
					        additionalValidators: [(value) => regExValidator(value)],
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    [
 | 
				
			||||||
 | 
					      GeneratedFormSwitch(
 | 
				
			||||||
 | 
					        'autoLinkFilterByArch',
 | 
				
			||||||
 | 
					        label: tr('autoLinkFilterByArch'),
 | 
				
			||||||
 | 
					        defaultValue: false,
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
  HTML() {
 | 
					  HTML() {
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = [
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSubForm(
 | 
					        GeneratedFormSubForm('intermediateLink', [
 | 
				
			||||||
            'intermediateLink', [...intermediateFormItems, ...commonFormItems],
 | 
					          ...intermediateFormItems,
 | 
				
			||||||
            label: tr('intermediateLink'))
 | 
					          ...commonFormItems,
 | 
				
			||||||
 | 
					        ], label: tr('intermediateLink')),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      finalStepFormitems[0],
 | 
					      finalStepFormitems[0],
 | 
				
			||||||
      ...commonFormItems,
 | 
					      ...commonFormItems,
 | 
				
			||||||
@@ -228,7 +281,8 @@ class HTML extends AppSource {
 | 
				
			|||||||
          'requestHeader',
 | 
					          'requestHeader',
 | 
				
			||||||
          [
 | 
					          [
 | 
				
			||||||
            [
 | 
					            [
 | 
				
			||||||
                GeneratedFormTextField('requestHeader',
 | 
					              GeneratedFormTextField(
 | 
				
			||||||
 | 
					                'requestHeader',
 | 
				
			||||||
                label: tr('requestHeader'),
 | 
					                label: tr('requestHeader'),
 | 
				
			||||||
                required: false,
 | 
					                required: false,
 | 
				
			||||||
                additionalValidators: [
 | 
					                additionalValidators: [
 | 
				
			||||||
@@ -242,35 +296,40 @@ class HTML extends AppSource {
 | 
				
			|||||||
                      return tr('invalidInput');
 | 
					                      return tr('invalidInput');
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    return null;
 | 
					                    return null;
 | 
				
			||||||
                      }
 | 
					                  },
 | 
				
			||||||
                    ])
 | 
					                ],
 | 
				
			||||||
              ]
 | 
					              ),
 | 
				
			||||||
 | 
					            ],
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
          label: tr('requestHeader'),
 | 
					          label: tr('requestHeader'),
 | 
				
			||||||
          defaultValue: [
 | 
					          defaultValue: [
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
              'requestHeader':
 | 
					              'requestHeader':
 | 
				
			||||||
                    'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36'
 | 
					                  'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36',
 | 
				
			||||||
              }
 | 
					            },
 | 
				
			||||||
            ])
 | 
					          ],
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormDropdown(
 | 
					        GeneratedFormDropdown(
 | 
				
			||||||
          'defaultPseudoVersioningMethod',
 | 
					          'defaultPseudoVersioningMethod',
 | 
				
			||||||
          [
 | 
					          [
 | 
				
			||||||
            MapEntry('partialAPKHash', tr('partialAPKHash')),
 | 
					            MapEntry('partialAPKHash', tr('partialAPKHash')),
 | 
				
			||||||
              MapEntry('APKLinkHash', tr('APKLinkHash'))
 | 
					            MapEntry('APKLinkHash', tr('APKLinkHash')),
 | 
				
			||||||
 | 
					            MapEntry('ETag', 'ETag'),
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
          label: tr('defaultPseudoVersioningMethod'),
 | 
					          label: tr('defaultPseudoVersioningMethod'),
 | 
				
			||||||
            defaultValue: 'partialAPKHash')
 | 
					          defaultValue: 'partialAPKHash',
 | 
				
			||||||
      ]
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, String>?> getRequestHeaders(
 | 
					  Future<Map<String, String>?> getRequestHeaders(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings, {
 | 
				
			||||||
      {bool forAPKDownload = false}) async {
 | 
					    bool forAPKDownload = false,
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    if (additionalSettings.isNotEmpty) {
 | 
					    if (additionalSettings.isNotEmpty) {
 | 
				
			||||||
      if (additionalSettings['requestHeader']?.isNotEmpty != true) {
 | 
					      if (additionalSettings['requestHeader']?.isNotEmpty != true) {
 | 
				
			||||||
        additionalSettings['requestHeader'] = [];
 | 
					        additionalSettings['requestHeader'] = [];
 | 
				
			||||||
@@ -311,10 +370,15 @@ class HTML extends AppSource {
 | 
				
			|||||||
    for (int i = 0; i < (additionalSettings['intermediateLink'].length); i++) {
 | 
					    for (int i = 0; i < (additionalSettings['intermediateLink'].length); i++) {
 | 
				
			||||||
      var intLinks = await grabLinksCommon(
 | 
					      var intLinks = await grabLinksCommon(
 | 
				
			||||||
        await sourceRequest(currentUrl, additionalSettings),
 | 
					        await sourceRequest(currentUrl, additionalSettings),
 | 
				
			||||||
          additionalSettings['intermediateLink'][i]);
 | 
					        additionalSettings['intermediateLink'][i],
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
      if (intLinks.isEmpty) {
 | 
					      if (intLinks.isEmpty) {
 | 
				
			||||||
        throw NoReleasesError(note: currentUrl);
 | 
					        throw NoReleasesError(note: currentUrl);
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
 | 
					        if (additionalSettings['intermediateLink'][i]['autoLinkFilterByArch'] ==
 | 
				
			||||||
 | 
					            true) {
 | 
				
			||||||
 | 
					          intLinks = await filterApksByArch(intLinks);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        currentUrl = intLinks.last.key;
 | 
					        currentUrl = intLinks.last.key;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -323,11 +387,17 @@ class HTML extends AppSource {
 | 
				
			|||||||
    String versionExtractionWholePageString = currentUrl;
 | 
					    String versionExtractionWholePageString = currentUrl;
 | 
				
			||||||
    if (additionalSettings['directAPKLink'] != true) {
 | 
					    if (additionalSettings['directAPKLink'] != true) {
 | 
				
			||||||
      Response res = await sourceRequest(currentUrl, additionalSettings);
 | 
					      Response res = await sourceRequest(currentUrl, additionalSettings);
 | 
				
			||||||
      versionExtractionWholePageString =
 | 
					      versionExtractionWholePageString = res.body
 | 
				
			||||||
          res.body.split('\r\n').join('\n').split('\n').join('\\n');
 | 
					          .split('\r\n')
 | 
				
			||||||
 | 
					          .join('\n')
 | 
				
			||||||
 | 
					          .split('\n')
 | 
				
			||||||
 | 
					          .join('\\n');
 | 
				
			||||||
      links = await grabLinksCommon(res, additionalSettings);
 | 
					      links = await grabLinksCommon(res, additionalSettings);
 | 
				
			||||||
      links = filterApks(links, additionalSettings['apkFilterRegEx'],
 | 
					      links = filterApks(
 | 
				
			||||||
          additionalSettings['invertAPKFilter']);
 | 
					        links,
 | 
				
			||||||
 | 
					        additionalSettings['apkFilterRegEx'],
 | 
				
			||||||
 | 
					        additionalSettings['invertAPKFilter'],
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
      if (links.isEmpty) {
 | 
					      if (links.isEmpty) {
 | 
				
			||||||
        throw NoReleasesError(note: currentUrl);
 | 
					        throw NoReleasesError(note: currentUrl);
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -347,23 +417,41 @@ class HTML extends AppSource {
 | 
				
			|||||||
      additionalSettings['matchGroupToUse'] as String?,
 | 
					      additionalSettings['matchGroupToUse'] as String?,
 | 
				
			||||||
      additionalSettings['versionExtractWholePage'] == true
 | 
					      additionalSettings['versionExtractWholePage'] == true
 | 
				
			||||||
          ? versionExtractionWholePageString
 | 
					          ? versionExtractionWholePageString
 | 
				
			||||||
            : relDecoded);
 | 
					          : relDecoded,
 | 
				
			||||||
    version ??= additionalSettings['defaultPseudoVersioningMethod'] ==
 | 
					    );
 | 
				
			||||||
            'APKLinkHash'
 | 
					    var apkReqHeaders = await getRequestHeaders(
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					      forAPKDownload: true,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					    if (version == null &&
 | 
				
			||||||
 | 
					        additionalSettings['defaultPseudoVersioningMethod'] == 'ETag') {
 | 
				
			||||||
 | 
					      version = await checkETagHeader(
 | 
				
			||||||
 | 
					        rel,
 | 
				
			||||||
 | 
					        headers: apkReqHeaders,
 | 
				
			||||||
 | 
					        allowInsecure: additionalSettings['allowInsecure'] == true,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
 | 
					      if (version == null) {
 | 
				
			||||||
 | 
					        throw NoVersionError();
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    version ??=
 | 
				
			||||||
 | 
					        additionalSettings['defaultPseudoVersioningMethod'] == 'APKLinkHash'
 | 
				
			||||||
        ? rel.hashCode.toString()
 | 
					        ? rel.hashCode.toString()
 | 
				
			||||||
        : (await checkPartialDownloadHashDynamic(rel,
 | 
					        : (await checkPartialDownloadHashDynamic(
 | 
				
			||||||
                headers: await getRequestHeaders(additionalSettings,
 | 
					            rel,
 | 
				
			||||||
                    forAPKDownload: true),
 | 
					            headers: apkReqHeaders,
 | 
				
			||||||
                allowInsecure: additionalSettings['allowInsecure'] == true))
 | 
					            allowInsecure: additionalSettings['allowInsecure'] == true,
 | 
				
			||||||
            .toString();
 | 
					          )).toString();
 | 
				
			||||||
    return APKDetails(
 | 
					    return APKDetails(
 | 
				
			||||||
      version,
 | 
					      version,
 | 
				
			||||||
      [rel].map((e) {
 | 
					      [rel].map((e) {
 | 
				
			||||||
        var uri = Uri.parse(e);
 | 
					        var uri = Uri.parse(e);
 | 
				
			||||||
          var fileName =
 | 
					        var fileName = uri.pathSegments.isNotEmpty
 | 
				
			||||||
              uri.pathSegments.isNotEmpty ? uri.pathSegments.last : uri.origin;
 | 
					            ? uri.pathSegments.last
 | 
				
			||||||
 | 
					            : uri.origin;
 | 
				
			||||||
        return MapEntry('${e.hashCode}-$fileName', e);
 | 
					        return MapEntry('${e.hashCode}-$fileName', e);
 | 
				
			||||||
      }).toList(),
 | 
					      }).toList(),
 | 
				
			||||||
        AppNames(uri.host, tr('app')));
 | 
					      AppNames(uri.host, tr('app')),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,7 +15,8 @@ class HuaweiAppGallery extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}(/#)?/(app|appdl)/[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}(/#)?/(app|appdl)/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -23,13 +24,18 @@ class HuaweiAppGallery extends AppSource {
 | 
				
			|||||||
    return match.group(0)!;
 | 
					    return match.group(0)!;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  getDlUrl(String standardUrl) =>
 | 
					  String getDlUrl(String standardUrl) =>
 | 
				
			||||||
      'https://${hosts[0].replaceAll('appgallery.huawei', 'appgallery.cloud.huawei')}/appdl/${standardUrl.split('/').last}';
 | 
					      'https://${hosts[0].replaceAll('appgallery.huawei', 'appgallery.cloud.huawei')}/appdl/${standardUrl.split('/').last}';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  requestAppdlRedirect(
 | 
					  Future<Response> requestAppdlRedirect(
 | 
				
			||||||
      String dlUrl, Map<String, dynamic> additionalSettings) async {
 | 
					    String dlUrl,
 | 
				
			||||||
    Response res =
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
        await sourceRequest(dlUrl, additionalSettings, followRedirects: false);
 | 
					  ) async {
 | 
				
			||||||
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
 | 
					      dlUrl,
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					      followRedirects: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200 ||
 | 
					    if (res.statusCode == 200 ||
 | 
				
			||||||
        res.statusCode == 302 ||
 | 
					        res.statusCode == 302 ||
 | 
				
			||||||
        res.statusCode == 304) {
 | 
					        res.statusCode == 304) {
 | 
				
			||||||
@@ -39,7 +45,7 @@ class HuaweiAppGallery extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  appIdFromRedirectDlUrl(String redirectDlUrl) {
 | 
					  String appIdFromRedirectDlUrl(String redirectDlUrl) {
 | 
				
			||||||
    var parts = redirectDlUrl
 | 
					    var parts = redirectDlUrl
 | 
				
			||||||
        .split('?')[0]
 | 
					        .split('?')[0]
 | 
				
			||||||
        .split('/')
 | 
					        .split('/')
 | 
				
			||||||
@@ -53,8 +59,10 @@ class HuaweiAppGallery extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    String dlUrl = getDlUrl(standardUrl);
 | 
					    String dlUrl = getDlUrl(standardUrl);
 | 
				
			||||||
    Response res = await requestAppdlRedirect(dlUrl, additionalSettings);
 | 
					    Response res = await requestAppdlRedirect(dlUrl, additionalSettings);
 | 
				
			||||||
    return res.headers['location'] != null
 | 
					    return res.headers['location'] != null
 | 
				
			||||||
@@ -76,8 +84,11 @@ class HuaweiAppGallery extends AppSource {
 | 
				
			|||||||
    if (appId.isEmpty) {
 | 
					    if (appId.isEmpty) {
 | 
				
			||||||
      throw NoReleasesError();
 | 
					      throw NoReleasesError();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    var relDateStr =
 | 
					    var relDateStr = res.headers['location']
 | 
				
			||||||
        res.headers['location']?.split('?')[0].split('.').reversed.toList()[1];
 | 
					        ?.split('?')[0]
 | 
				
			||||||
 | 
					        .split('.')
 | 
				
			||||||
 | 
					        .reversed
 | 
				
			||||||
 | 
					        .toList()[1];
 | 
				
			||||||
    if (relDateStr == null || relDateStr.length != 10) {
 | 
					    if (relDateStr == null || relDateStr.length != 10) {
 | 
				
			||||||
      throw NoVersionError();
 | 
					      throw NoVersionError();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -88,10 +99,15 @@ class HuaweiAppGallery extends AppSource {
 | 
				
			|||||||
      relDateStrAdj.insert((i + i ~/ 2 - 1), '-');
 | 
					      relDateStrAdj.insert((i + i ~/ 2 - 1), '-');
 | 
				
			||||||
      i += 2;
 | 
					      i += 2;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    var relDate =
 | 
					    var relDate = DateFormat(
 | 
				
			||||||
        DateFormat('yy-MM-dd-HH-mm', 'en_US').parse(relDateStrAdj.join(''));
 | 
					      'yy-MM-dd-HH-mm',
 | 
				
			||||||
 | 
					      'en_US',
 | 
				
			||||||
 | 
					    ).parse(relDateStrAdj.join(''));
 | 
				
			||||||
    return APKDetails(
 | 
					    return APKDetails(
 | 
				
			||||||
        relDateStr, [MapEntry('$appId.apk', dlUrl)], AppNames(name, appId),
 | 
					      relDateStr,
 | 
				
			||||||
        releaseDate: relDate);
 | 
					      [MapEntry('$appId.apk', dlUrl)],
 | 
				
			||||||
 | 
					      AppNames(name, appId),
 | 
				
			||||||
 | 
					      releaseDate: relDate,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,12 +17,14 @@ class IzzyOnDroid extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegExA = RegExp(
 | 
					    RegExp standardUrlRegExA = RegExp(
 | 
				
			||||||
      '^https?://android.${getSourceRegex(hosts)}/repo/apk/[^/]+',
 | 
					      '^https?://android.${getSourceRegex(hosts)}/repo/apk/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegExA.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegExA.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      RegExp standardUrlRegExB = RegExp(
 | 
					      RegExp standardUrlRegExB = RegExp(
 | 
				
			||||||
        '^https?://apt.${getSourceRegex(hosts)}/fdroid/index/apk/[^/]+',
 | 
					        '^https?://apt.${getSourceRegex(hosts)}/fdroid/index/apk/[^/]+',
 | 
				
			||||||
          caseSensitive: false);
 | 
					        caseSensitive: false,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
      match = standardUrlRegExB.firstMatch(url);
 | 
					      match = standardUrlRegExB.firstMatch(url);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
@@ -32,8 +34,10 @@ class IzzyOnDroid extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return fd.tryInferringAppId(standardUrl);
 | 
					    return fd.tryInferringAppId(standardUrl);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -46,10 +50,12 @@ class IzzyOnDroid extends AppSource {
 | 
				
			|||||||
    return fd.getAPKUrlsFromFDroidPackagesAPIResponse(
 | 
					    return fd.getAPKUrlsFromFDroidPackagesAPIResponse(
 | 
				
			||||||
      await sourceRequest(
 | 
					      await sourceRequest(
 | 
				
			||||||
        'https://apt.izzysoft.de/fdroid/api/v1/packages/$appId',
 | 
					        'https://apt.izzysoft.de/fdroid/api/v1/packages/$appId',
 | 
				
			||||||
            additionalSettings),
 | 
					        additionalSettings,
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
      'https://android.izzysoft.de/frepo/$appId',
 | 
					      'https://android.izzysoft.de/frepo/$appId',
 | 
				
			||||||
      standardUrl,
 | 
					      standardUrl,
 | 
				
			||||||
      name,
 | 
					      name,
 | 
				
			||||||
        additionalSettings: additionalSettings);
 | 
					      additionalSettings: additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,14 +31,17 @@ class Jenkins extends AppSource {
 | 
				
			|||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    standardUrl = trimJobUrl(standardUrl);
 | 
					    standardUrl = trimJobUrl(standardUrl);
 | 
				
			||||||
    Response res = await sourceRequest(
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
        '$standardUrl/lastSuccessfulBuild/api/json', additionalSettings);
 | 
					      '$standardUrl/lastSuccessfulBuild/api/json',
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      var json = jsonDecode(res.body);
 | 
					      var json = jsonDecode(res.body);
 | 
				
			||||||
      var releaseDate = json['timestamp'] == null
 | 
					      var releaseDate = json['timestamp'] == null
 | 
				
			||||||
          ? null
 | 
					          ? null
 | 
				
			||||||
          : DateTime.fromMillisecondsSinceEpoch(json['timestamp'] as int);
 | 
					          : DateTime.fromMillisecondsSinceEpoch(json['timestamp'] as int);
 | 
				
			||||||
      var version =
 | 
					      var version = json['number'] == null
 | 
				
			||||||
          json['number'] == null ? null : (json['number'] as int).toString();
 | 
					          ? null
 | 
				
			||||||
 | 
					          : (json['number'] as int).toString();
 | 
				
			||||||
      if (version == null) {
 | 
					      if (version == null) {
 | 
				
			||||||
        throw NoVersionError();
 | 
					        throw NoVersionError();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -51,16 +54,21 @@ class Jenkins extends AppSource {
 | 
				
			|||||||
            return path == null
 | 
					            return path == null
 | 
				
			||||||
                ? const MapEntry<String, String>('', '')
 | 
					                ? const MapEntry<String, String>('', '')
 | 
				
			||||||
                : MapEntry<String, String>(
 | 
					                : MapEntry<String, String>(
 | 
				
			||||||
                    (e['fileName'] ?? e['relativePath']) as String, path);
 | 
					                    (e['fileName'] ?? e['relativePath']) as String,
 | 
				
			||||||
 | 
					                    path,
 | 
				
			||||||
 | 
					                  );
 | 
				
			||||||
          })
 | 
					          })
 | 
				
			||||||
          .where((url) =>
 | 
					          .where(
 | 
				
			||||||
              url.value.isNotEmpty && url.key.toLowerCase().endsWith('.apk'))
 | 
					            (url) =>
 | 
				
			||||||
 | 
					                url.value.isNotEmpty && url.key.toLowerCase().endsWith('.apk'),
 | 
				
			||||||
 | 
					          )
 | 
				
			||||||
          .toList();
 | 
					          .toList();
 | 
				
			||||||
      return APKDetails(
 | 
					      return APKDetails(
 | 
				
			||||||
        version,
 | 
					        version,
 | 
				
			||||||
        apkUrls,
 | 
					        apkUrls,
 | 
				
			||||||
        releaseDate: releaseDate,
 | 
					        releaseDate: releaseDate,
 | 
				
			||||||
          AppNames(Uri.parse(standardUrl).host, standardUrl.split('/').last));
 | 
					        AppNames(Uri.parse(standardUrl).host, standardUrl.split('/').last),
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,8 @@ class Mullvad extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -31,7 +32,9 @@ class Mullvad extends AppSource {
 | 
				
			|||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    Response res = await sourceRequest(
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
        '$standardUrl/en/download/android', additionalSettings);
 | 
					      '$standardUrl/en/download/android',
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      var versions = parse(res.body)
 | 
					      var versions = parse(res.body)
 | 
				
			||||||
          .querySelectorAll('p')
 | 
					          .querySelectorAll('p')
 | 
				
			||||||
@@ -54,8 +57,8 @@ class Mullvad extends AppSource {
 | 
				
			|||||||
      try {
 | 
					      try {
 | 
				
			||||||
        changeLog = (await GitHub().getLatestAPKDetails(
 | 
					        changeLog = (await GitHub().getLatestAPKDetails(
 | 
				
			||||||
          'https://github.com/mullvad/mullvadvpn-app',
 | 
					          'https://github.com/mullvad/mullvadvpn-app',
 | 
				
			||||||
                {'fallbackToOlderReleases': true}))
 | 
					          {'fallbackToOlderReleases': true},
 | 
				
			||||||
            .changeLog;
 | 
					        )).changeLog;
 | 
				
			||||||
      } catch (e) {
 | 
					      } catch (e) {
 | 
				
			||||||
        // Ignore
 | 
					        // Ignore
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -63,7 +66,8 @@ class Mullvad extends AppSource {
 | 
				
			|||||||
        versions[0],
 | 
					        versions[0],
 | 
				
			||||||
        getApkUrlsFromUrls(['https://mullvad.net/download/app/apk/latest']),
 | 
					        getApkUrlsFromUrls(['https://mullvad.net/download/app/apk/latest']),
 | 
				
			||||||
        AppNames(name, 'Mullvad-VPN'),
 | 
					        AppNames(name, 'Mullvad-VPN'),
 | 
				
			||||||
          changeLog: changeLog);
 | 
					        changeLog: changeLog,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,8 @@ class NeutronCode extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/downloads/file/[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/downloads/file/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -55,7 +56,7 @@ class NeutronCode extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  customDateParse(String dateString) {
 | 
					  String? customDateParse(String dateString) {
 | 
				
			||||||
    List<String> parts = dateString.split(' ');
 | 
					    List<String> parts = dateString.split(' ');
 | 
				
			||||||
    if (parts.length != 3) {
 | 
					    if (parts.length != 3) {
 | 
				
			||||||
      return null;
 | 
					      return null;
 | 
				
			||||||
@@ -89,24 +90,31 @@ class NeutronCode extends AppSource {
 | 
				
			|||||||
      if (filename == null) {
 | 
					      if (filename == null) {
 | 
				
			||||||
        throw NoReleasesError();
 | 
					        throw NoReleasesError();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      var version =
 | 
					      var version = http
 | 
				
			||||||
          http.querySelector('.pd-version-txt')?.nextElementSibling?.innerHtml;
 | 
					          .querySelector('.pd-version-txt')
 | 
				
			||||||
 | 
					          ?.nextElementSibling
 | 
				
			||||||
 | 
					          ?.innerHtml;
 | 
				
			||||||
      if (version == null) {
 | 
					      if (version == null) {
 | 
				
			||||||
        throw NoVersionError();
 | 
					        throw NoVersionError();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      String? apkUrl = 'https://${hosts[0]}/download/$filename';
 | 
					      String? apkUrl = 'https://${hosts[0]}/download/$filename';
 | 
				
			||||||
      var dateStringOriginal =
 | 
					      var dateStringOriginal = http
 | 
				
			||||||
          http.querySelector('.pd-date-txt')?.nextElementSibling?.innerHtml;
 | 
					          .querySelector('.pd-date-txt')
 | 
				
			||||||
 | 
					          ?.nextElementSibling
 | 
				
			||||||
 | 
					          ?.innerHtml;
 | 
				
			||||||
      var dateString = dateStringOriginal != null
 | 
					      var dateString = dateStringOriginal != null
 | 
				
			||||||
          ? (customDateParse(dateStringOriginal))
 | 
					          ? (customDateParse(dateStringOriginal))
 | 
				
			||||||
          : null;
 | 
					          : null;
 | 
				
			||||||
      var changeLogElements = http.querySelectorAll('.pd-fdesc p');
 | 
					      var changeLogElements = http.querySelectorAll('.pd-fdesc p');
 | 
				
			||||||
      return APKDetails(version, getApkUrlsFromUrls([apkUrl]),
 | 
					      return APKDetails(
 | 
				
			||||||
 | 
					        version,
 | 
				
			||||||
 | 
					        getApkUrlsFromUrls([apkUrl]),
 | 
				
			||||||
        AppNames(runtimeType.toString(), name ?? standardUrl.split('/').last),
 | 
					        AppNames(runtimeType.toString(), name ?? standardUrl.split('/').last),
 | 
				
			||||||
        releaseDate: dateString != null ? DateTime.parse(dateString) : null,
 | 
					        releaseDate: dateString != null ? DateTime.parse(dateString) : null,
 | 
				
			||||||
        changeLog: changeLogElements.isNotEmpty
 | 
					        changeLog: changeLogElements.isNotEmpty
 | 
				
			||||||
            ? changeLogElements.last.innerHtml
 | 
					            ? changeLogElements.last.innerHtml
 | 
				
			||||||
              : null);
 | 
					            : null,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,7 +19,8 @@ class RuStore extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/catalog/app/+[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/catalog/app/+[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -28,11 +29,23 @@ class RuStore extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return Uri.parse(standardUrl).pathSegments.last;
 | 
					    return Uri.parse(standardUrl).pathSegments.last;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  Future<String> decodeString(String str) async {
 | 
				
			||||||
 | 
					    try {
 | 
				
			||||||
 | 
					      return (await CharsetDetector.autoDecode(
 | 
				
			||||||
 | 
					        Uint8List.fromList(str.codeUnits),
 | 
				
			||||||
 | 
					      )).string;
 | 
				
			||||||
 | 
					    } catch (e) {
 | 
				
			||||||
 | 
					      return str;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<APKDetails> getLatestAPKDetails(
 | 
					  Future<APKDetails> getLatestAPKDetails(
 | 
				
			||||||
    String standardUrl,
 | 
					    String standardUrl,
 | 
				
			||||||
@@ -41,7 +54,8 @@ class RuStore extends AppSource {
 | 
				
			|||||||
    String? appId = await tryInferringAppId(standardUrl);
 | 
					    String? appId = await tryInferringAppId(standardUrl);
 | 
				
			||||||
    Response res0 = await sourceRequest(
 | 
					    Response res0 = await sourceRequest(
 | 
				
			||||||
      'https://backapi.rustore.ru/applicationData/overallInfo/$appId',
 | 
					      'https://backapi.rustore.ru/applicationData/overallInfo/$appId',
 | 
				
			||||||
        additionalSettings);
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res0.statusCode != 200) {
 | 
					    if (res0.statusCode != 200) {
 | 
				
			||||||
      throw getObtainiumHttpError(res0);
 | 
					      throw getObtainiumHttpError(res0);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -67,32 +81,28 @@ class RuStore extends AppSource {
 | 
				
			|||||||
      'https://backapi.rustore.ru/applicationData/download-link',
 | 
					      'https://backapi.rustore.ru/applicationData/download-link',
 | 
				
			||||||
      additionalSettings,
 | 
					      additionalSettings,
 | 
				
			||||||
      followRedirects: false,
 | 
					      followRedirects: false,
 | 
				
			||||||
        postBody: {"appId": appDetails['appId'], "firstInstall": true});
 | 
					      postBody: {"appId": appDetails['appId'], "firstInstall": true},
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    var downloadDetails = jsonDecode(res1.body)['body'];
 | 
					    var downloadDetails = jsonDecode(res1.body)['body'];
 | 
				
			||||||
    if (res1.statusCode != 200 || downloadDetails['apkUrl'] == null) {
 | 
					    if (res1.statusCode != 200 || downloadDetails['apkUrl'] == null) {
 | 
				
			||||||
      throw NoAPKError();
 | 
					      throw NoAPKError();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    appName = (await CharsetDetector.autoDecode(
 | 
					    appName = await decodeString(appName);
 | 
				
			||||||
            Uint8List.fromList(appName.codeUnits)))
 | 
					    author = await decodeString(author);
 | 
				
			||||||
        .string;
 | 
					    changeLog = changeLog != null ? await decodeString(changeLog) : null;
 | 
				
			||||||
    author =
 | 
					 | 
				
			||||||
        (await CharsetDetector.autoDecode(Uint8List.fromList(author.codeUnits)))
 | 
					 | 
				
			||||||
            .string;
 | 
					 | 
				
			||||||
    changeLog = changeLog != null
 | 
					 | 
				
			||||||
        ? (await CharsetDetector.autoDecode(
 | 
					 | 
				
			||||||
                Uint8List.fromList(changeLog.codeUnits)))
 | 
					 | 
				
			||||||
            .string
 | 
					 | 
				
			||||||
        : null;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return APKDetails(
 | 
					    return APKDetails(
 | 
				
			||||||
      version,
 | 
					      version,
 | 
				
			||||||
      getApkUrlsFromUrls([
 | 
					      getApkUrlsFromUrls([
 | 
				
			||||||
          (downloadDetails['apkUrl'] as String)
 | 
					        (downloadDetails['apkUrl'] as String).replaceAll(
 | 
				
			||||||
              .replaceAll(RegExp('\\.zip\$'), '.apk')
 | 
					          RegExp('\\.zip\$'),
 | 
				
			||||||
 | 
					          '.apk',
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
      ]),
 | 
					      ]),
 | 
				
			||||||
      AppNames(author, appName),
 | 
					      AppNames(author, appName),
 | 
				
			||||||
      releaseDate: relDate,
 | 
					      releaseDate: relDate,
 | 
				
			||||||
        changeLog: changeLog);
 | 
					      changeLog: changeLog,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,8 +11,10 @@ class SourceForge extends AppSource {
 | 
				
			|||||||
  @override
 | 
					  @override
 | 
				
			||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    var sourceRegex = getSourceRegex(hosts);
 | 
					    var sourceRegex = getSourceRegex(hosts);
 | 
				
			||||||
    RegExp standardUrlRegExC =
 | 
					    RegExp standardUrlRegExC = RegExp(
 | 
				
			||||||
        RegExp('^https?://(www\\.)?$sourceRegex/p/.+', caseSensitive: false);
 | 
					      '^https?://(www\\.)?$sourceRegex/p/.+',
 | 
				
			||||||
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegExC.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegExC.firstMatch(url);
 | 
				
			||||||
    if (match != null) {
 | 
					    if (match != null) {
 | 
				
			||||||
      url =
 | 
					      url =
 | 
				
			||||||
@@ -20,14 +22,16 @@ class SourceForge extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    RegExp standardUrlRegExB = RegExp(
 | 
					    RegExp standardUrlRegExB = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?$sourceRegex/projects/[^/]+',
 | 
					      '^https?://(www\\.)?$sourceRegex/projects/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    match = standardUrlRegExB.firstMatch(url);
 | 
					    match = standardUrlRegExB.firstMatch(url);
 | 
				
			||||||
    if (match != null && match.group(0) == url) {
 | 
					    if (match != null && match.group(0) == url) {
 | 
				
			||||||
      url = '$url/files';
 | 
					      url = '$url/files';
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    RegExp standardUrlRegExA = RegExp(
 | 
					    RegExp standardUrlRegExA = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?$sourceRegex/projects/[^/]+/files(/.+)?',
 | 
					      '^https?://(www\\.)?$sourceRegex/projects/[^/]+/files(/.+)?',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    match = standardUrlRegExA.firstMatch(url);
 | 
					    match = standardUrlRegExA.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -47,7 +51,8 @@ class SourceForge extends AppSource {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    Response res = await sourceRequest(
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
      '${standardUri.origin}/${standardUri.pathSegments.sublist(0, 2).join('/')}/rss?path=/',
 | 
					      '${standardUri.origin}/${standardUri.pathSegments.sublist(0, 2).join('/')}/rss?path=/',
 | 
				
			||||||
        additionalSettings);
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      var parsedHtml = parse(res.body);
 | 
					      var parsedHtml = parse(res.body);
 | 
				
			||||||
      var allDownloadLinks = parsedHtml
 | 
					      var allDownloadLinks = parsedHtml
 | 
				
			||||||
@@ -76,7 +81,8 @@ class SourceForge extends AppSource {
 | 
				
			|||||||
              var extractedVersion = extractVersion(
 | 
					              var extractedVersion = extractVersion(
 | 
				
			||||||
                additionalSettings['versionExtractionRegEx'] as String?,
 | 
					                additionalSettings['versionExtractionRegEx'] as String?,
 | 
				
			||||||
                additionalSettings['matchGroupToUse'] as String?,
 | 
					                additionalSettings['matchGroupToUse'] as String?,
 | 
				
			||||||
                  version);
 | 
					                version,
 | 
				
			||||||
 | 
					              );
 | 
				
			||||||
              if (extractedVersion != null) {
 | 
					              if (extractedVersion != null) {
 | 
				
			||||||
                version = extractedVersion;
 | 
					                version = extractedVersion;
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
@@ -111,8 +117,11 @@ class SourceForge extends AppSource {
 | 
				
			|||||||
              .where((element) => getVersion(element) == version)
 | 
					              .where((element) => getVersion(element) == version)
 | 
				
			||||||
              .toList();
 | 
					              .toList();
 | 
				
			||||||
      var segments = standardUrl.split('/');
 | 
					      var segments = standardUrl.split('/');
 | 
				
			||||||
      return APKDetails(version, getApkUrlsFromUrls(apkUrlList),
 | 
					      return APKDetails(
 | 
				
			||||||
          AppNames(name, segments[segments.indexOf('files') - 1]));
 | 
					        version,
 | 
				
			||||||
 | 
					        getApkUrlsFromUrls(apkUrlList),
 | 
				
			||||||
 | 
					        AppNames(name, segments[segments.indexOf('files') - 1]),
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,9 +13,12 @@ class SourceHut extends AppSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    additionalSourceAppSpecificSettingFormItems = [
 | 
					    additionalSourceAppSpecificSettingFormItems = [
 | 
				
			||||||
      [
 | 
					      [
 | 
				
			||||||
        GeneratedFormSwitch('fallbackToOlderReleases',
 | 
					        GeneratedFormSwitch(
 | 
				
			||||||
            label: tr('fallbackToOlderReleases'), defaultValue: true)
 | 
					          'fallbackToOlderReleases',
 | 
				
			||||||
      ]
 | 
					          label: tr('fallbackToOlderReleases'),
 | 
				
			||||||
 | 
					          defaultValue: true,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -23,7 +26,8 @@ class SourceHut extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
 | 
					      '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -52,8 +56,10 @@ class SourceHut extends AppSource {
 | 
				
			|||||||
    String appName = standardUri.pathSegments.last;
 | 
					    String appName = standardUri.pathSegments.last;
 | 
				
			||||||
    bool fallbackToOlderReleases =
 | 
					    bool fallbackToOlderReleases =
 | 
				
			||||||
        additionalSettings['fallbackToOlderReleases'] == true;
 | 
					        additionalSettings['fallbackToOlderReleases'] == true;
 | 
				
			||||||
    Response res =
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
        await sourceRequest('$standardUrl/refs/rss.xml', additionalSettings);
 | 
					      '$standardUrl/refs/rss.xml',
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      var parsedHtml = parse(res.body);
 | 
					      var parsedHtml = parse(res.body);
 | 
				
			||||||
      List<APKDetails> apkDetailsList = [];
 | 
					      List<APKDetails> apkDetailsList = [];
 | 
				
			||||||
@@ -84,8 +90,9 @@ class SourceHut extends AppSource {
 | 
				
			|||||||
              ? DateFormat('E, dd MMM yyyy HH:mm:ss Z').parse(releaseDateString)
 | 
					              ? DateFormat('E, dd MMM yyyy HH:mm:ss Z').parse(releaseDateString)
 | 
				
			||||||
              : null;
 | 
					              : null;
 | 
				
			||||||
          releaseDate = releaseDateString != null
 | 
					          releaseDate = releaseDateString != null
 | 
				
			||||||
              ? DateFormat('EEE, dd MMM yyyy HH:mm:ss Z')
 | 
					              ? DateFormat(
 | 
				
			||||||
                  .parse(releaseDateString)
 | 
					                  'EEE, dd MMM yyyy HH:mm:ss Z',
 | 
				
			||||||
 | 
					                ).parse(releaseDateString)
 | 
				
			||||||
              : null;
 | 
					              : null;
 | 
				
			||||||
        } catch (e) {
 | 
					        } catch (e) {
 | 
				
			||||||
          // ignore
 | 
					          // ignore
 | 
				
			||||||
@@ -93,27 +100,35 @@ class SourceHut extends AppSource {
 | 
				
			|||||||
        var res2 = await sourceRequest(releasePage, additionalSettings);
 | 
					        var res2 = await sourceRequest(releasePage, additionalSettings);
 | 
				
			||||||
        List<MapEntry<String, String>> apkUrls = [];
 | 
					        List<MapEntry<String, String>> apkUrls = [];
 | 
				
			||||||
        if (res2.statusCode == 200) {
 | 
					        if (res2.statusCode == 200) {
 | 
				
			||||||
          apkUrls = getApkUrlsFromUrls(parse(res2.body)
 | 
					          apkUrls = getApkUrlsFromUrls(
 | 
				
			||||||
 | 
					            parse(res2.body)
 | 
				
			||||||
                .querySelectorAll('a')
 | 
					                .querySelectorAll('a')
 | 
				
			||||||
                .map((e) => e.attributes['href'] ?? '')
 | 
					                .map((e) => e.attributes['href'] ?? '')
 | 
				
			||||||
                .where((e) => e.toLowerCase().endsWith('.apk'))
 | 
					                .where((e) => e.toLowerCase().endsWith('.apk'))
 | 
				
			||||||
                .map((e) => ensureAbsoluteUrl(e, standardUri))
 | 
					                .map((e) => ensureAbsoluteUrl(e, standardUri))
 | 
				
			||||||
              .toList());
 | 
					                .toList(),
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        apkDetailsList.add(APKDetails(
 | 
					        apkDetailsList.add(
 | 
				
			||||||
 | 
					          APKDetails(
 | 
				
			||||||
            version,
 | 
					            version,
 | 
				
			||||||
            apkUrls,
 | 
					            apkUrls,
 | 
				
			||||||
            AppNames(entry.querySelector('author')?.innerHtml.trim() ?? appName,
 | 
					            AppNames(
 | 
				
			||||||
                appName),
 | 
					              entry.querySelector('author')?.innerHtml.trim() ?? appName,
 | 
				
			||||||
            releaseDate: releaseDate));
 | 
					              appName,
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
 | 
					            releaseDate: releaseDate,
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (apkDetailsList.isEmpty) {
 | 
					      if (apkDetailsList.isEmpty) {
 | 
				
			||||||
        throw NoReleasesError();
 | 
					        throw NoReleasesError();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (fallbackToOlderReleases) {
 | 
					      if (fallbackToOlderReleases) {
 | 
				
			||||||
        if (additionalSettings['trackOnly'] != true) {
 | 
					        if (additionalSettings['trackOnly'] != true) {
 | 
				
			||||||
          apkDetailsList =
 | 
					          apkDetailsList = apkDetailsList
 | 
				
			||||||
              apkDetailsList.where((e) => e.apkUrls.isNotEmpty).toList();
 | 
					              .where((e) => e.apkUrls.isNotEmpty)
 | 
				
			||||||
 | 
					              .toList();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (apkDetailsList.isEmpty) {
 | 
					        if (apkDetailsList.isEmpty) {
 | 
				
			||||||
          throw NoReleasesError();
 | 
					          throw NoReleasesError();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,12 +20,15 @@ class TelegramApp extends AppSource {
 | 
				
			|||||||
    String standardUrl,
 | 
					    String standardUrl,
 | 
				
			||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    Response res =
 | 
					    Response res = await sourceRequest(
 | 
				
			||||||
        await sourceRequest('https://t.me/s/TAndroidAPK', additionalSettings);
 | 
					      'https://t.me/s/TAndroidAPK',
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      var http = parse(res.body);
 | 
					      var http = parse(res.body);
 | 
				
			||||||
      var messages =
 | 
					      var messages = http.querySelectorAll(
 | 
				
			||||||
          http.querySelectorAll('.tgme_widget_message_text.js-message_text');
 | 
					        '.tgme_widget_message_text.js-message_text',
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
      var version = messages.isNotEmpty
 | 
					      var version = messages.isNotEmpty
 | 
				
			||||||
          ? messages.last.innerHtml.split('\n').first.trim().split(' ').first
 | 
					          ? messages.last.innerHtml.split('\n').first.trim().split(' ').first
 | 
				
			||||||
          : null;
 | 
					          : null;
 | 
				
			||||||
@@ -33,10 +36,9 @@ class TelegramApp extends AppSource {
 | 
				
			|||||||
        throw NoVersionError();
 | 
					        throw NoVersionError();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      String? apkUrl = 'https://telegram.org/dl/android/apk';
 | 
					      String? apkUrl = 'https://telegram.org/dl/android/apk';
 | 
				
			||||||
      return APKDetails(
 | 
					      return APKDetails(version, [
 | 
				
			||||||
          version,
 | 
					        MapEntry<String, String>('telegram-$version.apk', apkUrl),
 | 
				
			||||||
          [MapEntry<String, String>('telegram-$version.apk', apkUrl)],
 | 
					      ], AppNames('Telegram', 'Telegram'));
 | 
				
			||||||
          AppNames('Telegram', 'Telegram'));
 | 
					 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,8 @@ class Tencent extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://${getSourceRegex(hosts)}/appdetail/[^/]+',
 | 
					      '^https?://${getSourceRegex(hosts)}/appdetail/[^/]+',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    var match = standardUrlRegEx.firstMatch(url);
 | 
					    var match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -25,8 +26,10 @@ class Tencent extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return Uri.parse(standardUrl).pathSegments.last;
 | 
					    return Uri.parse(standardUrl).pathSegments.last;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -36,18 +39,16 @@ class Tencent extends AppSource {
 | 
				
			|||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    String appId = (await tryInferringAppId(standardUrl))!;
 | 
					    String appId = (await tryInferringAppId(standardUrl))!;
 | 
				
			||||||
    String baseHost = Uri.parse(standardUrl)
 | 
					    String baseHost = Uri.parse(
 | 
				
			||||||
        .host
 | 
					      standardUrl,
 | 
				
			||||||
        .split('.')
 | 
					    ).host.split('.').reversed.toList().sublist(0, 2).reversed.join('.');
 | 
				
			||||||
        .reversed
 | 
					 | 
				
			||||||
        .toList()
 | 
					 | 
				
			||||||
        .sublist(0, 2)
 | 
					 | 
				
			||||||
        .reversed
 | 
					 | 
				
			||||||
        .join('.');
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    var res = await sourceRequest(
 | 
					    var res = await sourceRequest(
 | 
				
			||||||
        'https://upage.html5.$baseHost/wechat-apkinfo', additionalSettings,
 | 
					      'https://upage.html5.$baseHost/wechat-apkinfo',
 | 
				
			||||||
        followRedirects: false, postBody: {"packagename": appId});
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					      followRedirects: false,
 | 
				
			||||||
 | 
					      postBody: {"packagename": appId},
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      var json = jsonDecode(res.body);
 | 
					      var json = jsonDecode(res.body);
 | 
				
			||||||
@@ -64,14 +65,18 @@ class Tencent extends AppSource {
 | 
				
			|||||||
      var author = json['app_detail_records'][appId]['app_info']['author'];
 | 
					      var author = json['app_detail_records'][appId]['app_info']['author'];
 | 
				
			||||||
      var releaseDate =
 | 
					      var releaseDate =
 | 
				
			||||||
          json['app_detail_records'][appId]['app_info']['update_time'];
 | 
					          json['app_detail_records'][appId]['app_info']['update_time'];
 | 
				
			||||||
      var apkName = Uri.parse(apkUrl).queryParameters['fsname'] ??
 | 
					      var apkName =
 | 
				
			||||||
          '${appId}_${version}.apk';
 | 
					          Uri.parse(apkUrl).queryParameters['fsname'] ??
 | 
				
			||||||
 | 
					          '${appId}_$version.apk';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return APKDetails(
 | 
					      return APKDetails(
 | 
				
			||||||
          version, [MapEntry(apkName, apkUrl)], AppNames(author, appName),
 | 
					        version,
 | 
				
			||||||
 | 
					        [MapEntry(apkName, apkUrl)],
 | 
				
			||||||
 | 
					        AppNames(author, appName),
 | 
				
			||||||
        releaseDate: releaseDate != null
 | 
					        releaseDate: releaseDate != null
 | 
				
			||||||
            ? DateTime.fromMillisecondsSinceEpoch(releaseDate * 1000)
 | 
					            ? DateTime.fromMillisecondsSinceEpoch(releaseDate * 1000)
 | 
				
			||||||
              : null);
 | 
					            : null,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,23 @@
 | 
				
			|||||||
import 'package:easy_localization/easy_localization.dart';
 | 
					import 'package:easy_localization/easy_localization.dart';
 | 
				
			||||||
import 'package:html/parser.dart';
 | 
					import 'package:html/parser.dart';
 | 
				
			||||||
import 'package:obtainium/app_sources/apkpure.dart';
 | 
					 | 
				
			||||||
import 'package:obtainium/custom_errors.dart';
 | 
					import 'package:obtainium/custom_errors.dart';
 | 
				
			||||||
import 'package:obtainium/providers/source_provider.dart';
 | 
					import 'package:obtainium/providers/source_provider.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DateTime? parseDateTimeMMMddCommayyyy(String? dateString) {
 | 
				
			||||||
 | 
					  DateTime? releaseDate;
 | 
				
			||||||
 | 
					  try {
 | 
				
			||||||
 | 
					    releaseDate = dateString != null
 | 
				
			||||||
 | 
					        ? DateFormat('MMM dd, yyyy').parse(dateString)
 | 
				
			||||||
 | 
					        : null;
 | 
				
			||||||
 | 
					    releaseDate = dateString != null && releaseDate == null
 | 
				
			||||||
 | 
					        ? DateFormat('MMMM dd, yyyy').parse(dateString)
 | 
				
			||||||
 | 
					        : releaseDate;
 | 
				
			||||||
 | 
					  } catch (err) {
 | 
				
			||||||
 | 
					    // ignore
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  return releaseDate;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Uptodown extends AppSource {
 | 
					class Uptodown extends AppSource {
 | 
				
			||||||
  Uptodown() {
 | 
					  Uptodown() {
 | 
				
			||||||
    hosts = ['uptodown.com'];
 | 
					    hosts = ['uptodown.com'];
 | 
				
			||||||
@@ -17,7 +31,8 @@ class Uptodown extends AppSource {
 | 
				
			|||||||
  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
    RegExp standardUrlRegEx = RegExp(
 | 
					    RegExp standardUrlRegEx = RegExp(
 | 
				
			||||||
      '^https?://([^\\.]+\\.){2,}${getSourceRegex(hosts)}',
 | 
					      '^https?://([^\\.]+\\.){2,}${getSourceRegex(hosts)}',
 | 
				
			||||||
        caseSensitive: false);
 | 
					      caseSensitive: false,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
					    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
				
			||||||
    if (match == null) {
 | 
					    if (match == null) {
 | 
				
			||||||
      throw InvalidURLError(name);
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
@@ -26,14 +41,20 @@ class Uptodown extends AppSource {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String?> tryInferringAppId(String standardUrl,
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
      {Map<String, dynamic> additionalSettings = const {}}) async {
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
    return (await getAppDetailsFromPage(
 | 
					    return (await getAppDetailsFromPage(
 | 
				
			||||||
        standardUrl, additionalSettings))['appId'];
 | 
					      standardUrl,
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    ))['appId'];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Future<Map<String, String?>> getAppDetailsFromPage(
 | 
					  Future<Map<String, String?>> getAppDetailsFromPage(
 | 
				
			||||||
      String standardUrl, Map<String, dynamic> additionalSettings) async {
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    var res = await sourceRequest(standardUrl, additionalSettings);
 | 
					    var res = await sourceRequest(standardUrl, additionalSettings);
 | 
				
			||||||
    if (res.statusCode != 200) {
 | 
					    if (res.statusCode != 200) {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
@@ -49,8 +70,9 @@ class Uptodown extends AppSource {
 | 
				
			|||||||
        .toList();
 | 
					        .toList();
 | 
				
			||||||
    String? appId = detailElements.elementAtOrNull(0);
 | 
					    String? appId = detailElements.elementAtOrNull(0);
 | 
				
			||||||
    String? dateStr = detailElements.elementAtOrNull(6);
 | 
					    String? dateStr = detailElements.elementAtOrNull(6);
 | 
				
			||||||
    String? fileId =
 | 
					    String? fileId = html
 | 
				
			||||||
        html.querySelector('#detail-app-name')?.attributes['data-file-id'];
 | 
					        .querySelector('#detail-app-name')
 | 
				
			||||||
 | 
					        ?.attributes['data-file-id'];
 | 
				
			||||||
    String? extension = detailElements.elementAtOrNull(7)?.toLowerCase();
 | 
					    String? extension = detailElements.elementAtOrNull(7)?.toLowerCase();
 | 
				
			||||||
    return Map.fromEntries([
 | 
					    return Map.fromEntries([
 | 
				
			||||||
      MapEntry('version', version),
 | 
					      MapEntry('version', version),
 | 
				
			||||||
@@ -59,7 +81,7 @@ class Uptodown extends AppSource {
 | 
				
			|||||||
      MapEntry('author', author),
 | 
					      MapEntry('author', author),
 | 
				
			||||||
      MapEntry('dateStr', dateStr),
 | 
					      MapEntry('dateStr', dateStr),
 | 
				
			||||||
      MapEntry('fileId', fileId),
 | 
					      MapEntry('fileId', fileId),
 | 
				
			||||||
      MapEntry('extension', extension)
 | 
					      MapEntry('extension', extension),
 | 
				
			||||||
    ]);
 | 
					    ]);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -68,8 +90,10 @@ class Uptodown extends AppSource {
 | 
				
			|||||||
    String standardUrl,
 | 
					    String standardUrl,
 | 
				
			||||||
    Map<String, dynamic> additionalSettings,
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
  ) async {
 | 
					  ) async {
 | 
				
			||||||
    var appDetails =
 | 
					    var appDetails = await getAppDetailsFromPage(
 | 
				
			||||||
        await getAppDetailsFromPage(standardUrl, additionalSettings);
 | 
					      standardUrl,
 | 
				
			||||||
 | 
					      additionalSettings,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    var version = appDetails['version'];
 | 
					    var version = appDetails['version'];
 | 
				
			||||||
    var appId = appDetails['appId'];
 | 
					    var appId = appDetails['appId'];
 | 
				
			||||||
    var fileId = appDetails['fileId'];
 | 
					    var fileId = appDetails['fileId'];
 | 
				
			||||||
@@ -91,21 +115,28 @@ class Uptodown extends AppSource {
 | 
				
			|||||||
    if (dateStr != null) {
 | 
					    if (dateStr != null) {
 | 
				
			||||||
      relDate = parseDateTimeMMMddCommayyyy(dateStr);
 | 
					      relDate = parseDateTimeMMMddCommayyyy(dateStr);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return APKDetails(version, [MapEntry('$appId.$extension', apkUrl)],
 | 
					    return APKDetails(
 | 
				
			||||||
 | 
					      version,
 | 
				
			||||||
 | 
					      [MapEntry('$appId.$extension', apkUrl)],
 | 
				
			||||||
      AppNames(author, appName),
 | 
					      AppNames(author, appName),
 | 
				
			||||||
        releaseDate: relDate);
 | 
					      releaseDate: relDate,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<String> apkUrlPrefetchModifier(String apkUrl, String standardUrl,
 | 
					  Future<String> apkUrlPrefetchModifier(
 | 
				
			||||||
      Map<String, dynamic> additionalSettings) async {
 | 
					    String apkUrl,
 | 
				
			||||||
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    var res = await sourceRequest(apkUrl, additionalSettings);
 | 
					    var res = await sourceRequest(apkUrl, additionalSettings);
 | 
				
			||||||
    if (res.statusCode != 200) {
 | 
					    if (res.statusCode != 200) {
 | 
				
			||||||
      throw getObtainiumHttpError(res);
 | 
					      throw getObtainiumHttpError(res);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    var html = parse(res.body);
 | 
					    var html = parse(res.body);
 | 
				
			||||||
    var finalUrlKey =
 | 
					    var finalUrlKey = html
 | 
				
			||||||
        html.querySelector('#detail-download-button')?.attributes['data-url'];
 | 
					        .querySelector('#detail-download-button')
 | 
				
			||||||
 | 
					        ?.attributes['data-url'];
 | 
				
			||||||
    if (finalUrlKey == null) {
 | 
					    if (finalUrlKey == null) {
 | 
				
			||||||
      throw NoAPKError();
 | 
					      throw NoAPKError();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										109
									
								
								lib/app_sources/vivoappstore.dart
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,109 @@
 | 
				
			|||||||
 | 
					import 'dart:convert';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import 'package:easy_localization/easy_localization.dart';
 | 
				
			||||||
 | 
					import 'package:obtainium/custom_errors.dart';
 | 
				
			||||||
 | 
					import 'package:obtainium/providers/source_provider.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class VivoAppStore extends AppSource {
 | 
				
			||||||
 | 
					  static const appDetailUrl =
 | 
				
			||||||
 | 
					      'https://h5coml.vivo.com.cn/h5coml/appdetail_h5/browser_v2/index.html?appId=';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  VivoAppStore() {
 | 
				
			||||||
 | 
					    name = tr('vivoAppStore');
 | 
				
			||||||
 | 
					    hosts = ['h5.appstore.vivo.com.cn', 'h5coml.vivo.com.cn'];
 | 
				
			||||||
 | 
					    naiveStandardVersionDetection = true;
 | 
				
			||||||
 | 
					    canSearch = true;
 | 
				
			||||||
 | 
					    allowOverride = false;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
 | 
				
			||||||
 | 
					    var vivoAppId = parseVivoAppId(url);
 | 
				
			||||||
 | 
					    return '$appDetailUrl$vivoAppId';
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  Future<String?> tryInferringAppId(
 | 
				
			||||||
 | 
					    String standardUrl, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
 | 
					    var json = await getDetailJson(standardUrl, additionalSettings);
 | 
				
			||||||
 | 
					    return json['package_name'];
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  Future<APKDetails> getLatestAPKDetails(
 | 
				
			||||||
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
 | 
					    var json = await getDetailJson(standardUrl, additionalSettings);
 | 
				
			||||||
 | 
					    var appName = json['title_zh'].toString();
 | 
				
			||||||
 | 
					    var packageName = json['package_name'].toString();
 | 
				
			||||||
 | 
					    var versionName = json['version_name'].toString();
 | 
				
			||||||
 | 
					    var versionCode = json['version_code'].toString();
 | 
				
			||||||
 | 
					    var developer = json['developer'].toString();
 | 
				
			||||||
 | 
					    var uploadTime = json['upload_time'].toString();
 | 
				
			||||||
 | 
					    var apkUrl = json['download_url'].toString();
 | 
				
			||||||
 | 
					    var apkName = '${packageName}_$versionCode.apk';
 | 
				
			||||||
 | 
					    return APKDetails(
 | 
				
			||||||
 | 
					      versionName,
 | 
				
			||||||
 | 
					      [MapEntry(apkName, apkUrl)],
 | 
				
			||||||
 | 
					      AppNames(developer, appName),
 | 
				
			||||||
 | 
					      releaseDate: DateTime.parse(uploadTime),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  Future<Map<String, List<String>>> search(
 | 
				
			||||||
 | 
					    String query, {
 | 
				
			||||||
 | 
					    Map<String, dynamic> querySettings = const {},
 | 
				
			||||||
 | 
					  }) async {
 | 
				
			||||||
 | 
					    var apiBaseUrl =
 | 
				
			||||||
 | 
					        'https://h5-api.appstore.vivo.com.cn/h5appstore/search/result-list?app_version=2100&page_index=1&apps_per_page=20&target=local&cfrom=2&key=';
 | 
				
			||||||
 | 
					    var searchUrl = '$apiBaseUrl${Uri.encodeQueryComponent(query)}';
 | 
				
			||||||
 | 
					    var response = await sourceRequest(searchUrl, {});
 | 
				
			||||||
 | 
					    if (response.statusCode != 200) {
 | 
				
			||||||
 | 
					      throw getObtainiumHttpError(response);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    var json = jsonDecode(response.body);
 | 
				
			||||||
 | 
					    if (json['code'] != 0 || !json['data']['appSearchResponse']['result']) {
 | 
				
			||||||
 | 
					      throw NoReleasesError();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    Map<String, List<String>> results = {};
 | 
				
			||||||
 | 
					    var resultsJson = json['data']['appSearchResponse']['value'];
 | 
				
			||||||
 | 
					    for (var item in (resultsJson as List<dynamic>)) {
 | 
				
			||||||
 | 
					      results['$appDetailUrl${item['id']}'] = [
 | 
				
			||||||
 | 
					        item['title_zh'].toString(),
 | 
				
			||||||
 | 
					        item['developer'].toString(),
 | 
				
			||||||
 | 
					      ];
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return results;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  Future<Map<String, dynamic>> getDetailJson(
 | 
				
			||||||
 | 
					    String standardUrl,
 | 
				
			||||||
 | 
					    Map<String, dynamic> additionalSettings,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
 | 
					    var vivoAppId = parseVivoAppId(standardUrl);
 | 
				
			||||||
 | 
					    var apiBaseUrl = 'https://h5-api.appstore.vivo.com.cn/detail/';
 | 
				
			||||||
 | 
					    var params = '?frompage=messageh5&app_version=2100';
 | 
				
			||||||
 | 
					    var detailUrl = '$apiBaseUrl$vivoAppId$params';
 | 
				
			||||||
 | 
					    var response = await sourceRequest(detailUrl, additionalSettings);
 | 
				
			||||||
 | 
					    if (response.statusCode != 200) {
 | 
				
			||||||
 | 
					      throw getObtainiumHttpError(response);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    var json = jsonDecode(response.body);
 | 
				
			||||||
 | 
					    if (json['id'] == null) {
 | 
				
			||||||
 | 
					      throw NoReleasesError();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return json;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  String parseVivoAppId(String url) {
 | 
				
			||||||
 | 
					    var appId = Uri.parse(url.replaceAll('/#', '')).queryParameters['appId'];
 | 
				
			||||||
 | 
					    if (appId == null || appId.isEmpty) {
 | 
				
			||||||
 | 
					      throw InvalidURLError(name);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return appId;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -20,8 +20,9 @@ class _CustomAppBarState extends State<CustomAppBar> {
 | 
				
			|||||||
        titlePadding: const EdgeInsets.symmetric(horizontal: 20, vertical: 16),
 | 
					        titlePadding: const EdgeInsets.symmetric(horizontal: 20, vertical: 16),
 | 
				
			||||||
        title: Text(
 | 
					        title: Text(
 | 
				
			||||||
          widget.title,
 | 
					          widget.title,
 | 
				
			||||||
          style:
 | 
					          style: TextStyle(
 | 
				
			||||||
              TextStyle(color: Theme.of(context).textTheme.bodyMedium!.color),
 | 
					            color: Theme.of(context).textTheme.bodyMedium!.color,
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
      ),
 | 
					      ),
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,11 +16,13 @@ abstract class GeneratedFormItem {
 | 
				
			|||||||
  dynamic ensureType(dynamic val);
 | 
					  dynamic ensureType(dynamic val);
 | 
				
			||||||
  GeneratedFormItem clone();
 | 
					  GeneratedFormItem clone();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  GeneratedFormItem(this.key,
 | 
					  GeneratedFormItem(
 | 
				
			||||||
      {this.label = 'Input',
 | 
					    this.key, {
 | 
				
			||||||
 | 
					    this.label = 'Input',
 | 
				
			||||||
    this.belowWidgets = const [],
 | 
					    this.belowWidgets = const [],
 | 
				
			||||||
    this.defaultValue,
 | 
					    this.defaultValue,
 | 
				
			||||||
      this.additionalValidators = const []});
 | 
					    this.additionalValidators = const [],
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class GeneratedFormTextField extends GeneratedFormItem {
 | 
					class GeneratedFormTextField extends GeneratedFormItem {
 | 
				
			||||||
@@ -31,18 +33,19 @@ class GeneratedFormTextField extends GeneratedFormItem {
 | 
				
			|||||||
  late TextInputType? textInputType;
 | 
					  late TextInputType? textInputType;
 | 
				
			||||||
  late List<String>? autoCompleteOptions;
 | 
					  late List<String>? autoCompleteOptions;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  GeneratedFormTextField(super.key,
 | 
					  GeneratedFormTextField(
 | 
				
			||||||
      {super.label,
 | 
					    super.key, {
 | 
				
			||||||
 | 
					    super.label,
 | 
				
			||||||
    super.belowWidgets,
 | 
					    super.belowWidgets,
 | 
				
			||||||
    String super.defaultValue = '',
 | 
					    String super.defaultValue = '',
 | 
				
			||||||
      List<String? Function(String? value)> super.additionalValidators =
 | 
					    List<String? Function(String? value)> super.additionalValidators = const [],
 | 
				
			||||||
          const [],
 | 
					 | 
				
			||||||
    this.required = true,
 | 
					    this.required = true,
 | 
				
			||||||
    this.max = 1,
 | 
					    this.max = 1,
 | 
				
			||||||
    this.hint,
 | 
					    this.hint,
 | 
				
			||||||
    this.password = false,
 | 
					    this.password = false,
 | 
				
			||||||
    this.textInputType,
 | 
					    this.textInputType,
 | 
				
			||||||
      this.autoCompleteOptions});
 | 
					    this.autoCompleteOptions,
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  String ensureType(val) {
 | 
					  String ensureType(val) {
 | 
				
			||||||
@@ -51,7 +54,8 @@ class GeneratedFormTextField extends GeneratedFormItem {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  GeneratedFormTextField clone() {
 | 
					  GeneratedFormTextField clone() {
 | 
				
			||||||
    return GeneratedFormTextField(key,
 | 
					    return GeneratedFormTextField(
 | 
				
			||||||
 | 
					      key,
 | 
				
			||||||
      label: label,
 | 
					      label: label,
 | 
				
			||||||
      belowWidgets: belowWidgets,
 | 
					      belowWidgets: belowWidgets,
 | 
				
			||||||
      defaultValue: defaultValue,
 | 
					      defaultValue: defaultValue,
 | 
				
			||||||
@@ -60,7 +64,8 @@ class GeneratedFormTextField extends GeneratedFormItem {
 | 
				
			|||||||
      max: max,
 | 
					      max: max,
 | 
				
			||||||
      hint: hint,
 | 
					      hint: hint,
 | 
				
			||||||
      password: password,
 | 
					      password: password,
 | 
				
			||||||
        textInputType: textInputType);
 | 
					      textInputType: textInputType,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -91,8 +96,9 @@ class GeneratedFormDropdown extends GeneratedFormItem {
 | 
				
			|||||||
      label: label,
 | 
					      label: label,
 | 
				
			||||||
      belowWidgets: belowWidgets,
 | 
					      belowWidgets: belowWidgets,
 | 
				
			||||||
      defaultValue: defaultValue,
 | 
					      defaultValue: defaultValue,
 | 
				
			||||||
      disabledOptKeys:
 | 
					      disabledOptKeys: disabledOptKeys != null
 | 
				
			||||||
          disabledOptKeys != null ? List.from(disabledOptKeys!) : null,
 | 
					          ? List.from(disabledOptKeys!)
 | 
				
			||||||
 | 
					          : null,
 | 
				
			||||||
      additionalValidators: List.from(additionalValidators),
 | 
					      additionalValidators: List.from(additionalValidators),
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
@@ -117,12 +123,14 @@ class GeneratedFormSwitch extends GeneratedFormItem {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  GeneratedFormSwitch clone() {
 | 
					  GeneratedFormSwitch clone() {
 | 
				
			||||||
    return GeneratedFormSwitch(key,
 | 
					    return GeneratedFormSwitch(
 | 
				
			||||||
 | 
					      key,
 | 
				
			||||||
      label: label,
 | 
					      label: label,
 | 
				
			||||||
      belowWidgets: belowWidgets,
 | 
					      belowWidgets: belowWidgets,
 | 
				
			||||||
      defaultValue: defaultValue,
 | 
					      defaultValue: defaultValue,
 | 
				
			||||||
      disabled: false,
 | 
					      disabled: false,
 | 
				
			||||||
        additionalValidators: List.from(additionalValidators));
 | 
					      additionalValidators: List.from(additionalValidators),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -132,17 +140,20 @@ class GeneratedFormTagInput extends GeneratedFormItem {
 | 
				
			|||||||
  late WrapAlignment alignment;
 | 
					  late WrapAlignment alignment;
 | 
				
			||||||
  late String emptyMessage;
 | 
					  late String emptyMessage;
 | 
				
			||||||
  late bool showLabelWhenNotEmpty;
 | 
					  late bool showLabelWhenNotEmpty;
 | 
				
			||||||
  GeneratedFormTagInput(super.key,
 | 
					  GeneratedFormTagInput(
 | 
				
			||||||
      {super.label,
 | 
					    super.key, {
 | 
				
			||||||
 | 
					    super.label,
 | 
				
			||||||
    super.belowWidgets,
 | 
					    super.belowWidgets,
 | 
				
			||||||
    Map<String, MapEntry<int, bool>> super.defaultValue = const {},
 | 
					    Map<String, MapEntry<int, bool>> super.defaultValue = const {},
 | 
				
			||||||
    List<String? Function(Map<String, MapEntry<int, bool>> value)>
 | 
					    List<String? Function(Map<String, MapEntry<int, bool>> value)>
 | 
				
			||||||
          super.additionalValidators = const [],
 | 
					        super.additionalValidators =
 | 
				
			||||||
 | 
					        const [],
 | 
				
			||||||
    this.deleteConfirmationMessage,
 | 
					    this.deleteConfirmationMessage,
 | 
				
			||||||
    this.singleSelect = false,
 | 
					    this.singleSelect = false,
 | 
				
			||||||
    this.alignment = WrapAlignment.start,
 | 
					    this.alignment = WrapAlignment.start,
 | 
				
			||||||
    this.emptyMessage = 'Input',
 | 
					    this.emptyMessage = 'Input',
 | 
				
			||||||
      this.showLabelWhenNotEmpty = true});
 | 
					    this.showLabelWhenNotEmpty = true,
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Map<String, MapEntry<int, bool>> ensureType(val) {
 | 
					  Map<String, MapEntry<int, bool>> ensureType(val) {
 | 
				
			||||||
@@ -151,7 +162,8 @@ class GeneratedFormTagInput extends GeneratedFormItem {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  GeneratedFormTagInput clone() {
 | 
					  GeneratedFormTagInput clone() {
 | 
				
			||||||
    return GeneratedFormTagInput(key,
 | 
					    return GeneratedFormTagInput(
 | 
				
			||||||
 | 
					      key,
 | 
				
			||||||
      label: label,
 | 
					      label: label,
 | 
				
			||||||
      belowWidgets: belowWidgets,
 | 
					      belowWidgets: belowWidgets,
 | 
				
			||||||
      defaultValue: defaultValue,
 | 
					      defaultValue: defaultValue,
 | 
				
			||||||
@@ -160,16 +172,20 @@ class GeneratedFormTagInput extends GeneratedFormItem {
 | 
				
			|||||||
      singleSelect: singleSelect,
 | 
					      singleSelect: singleSelect,
 | 
				
			||||||
      alignment: alignment,
 | 
					      alignment: alignment,
 | 
				
			||||||
      emptyMessage: emptyMessage,
 | 
					      emptyMessage: emptyMessage,
 | 
				
			||||||
        showLabelWhenNotEmpty: showLabelWhenNotEmpty);
 | 
					      showLabelWhenNotEmpty: showLabelWhenNotEmpty,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef OnValueChanges = void Function(
 | 
					typedef OnValueChanges =
 | 
				
			||||||
    Map<String, dynamic> values, bool valid, bool isBuilding);
 | 
					    void Function(Map<String, dynamic> values, bool valid, bool isBuilding);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class GeneratedForm extends StatefulWidget {
 | 
					class GeneratedForm extends StatefulWidget {
 | 
				
			||||||
  const GeneratedForm(
 | 
					  const GeneratedForm({
 | 
				
			||||||
      {super.key, required this.items, required this.onValueChanges});
 | 
					    super.key,
 | 
				
			||||||
 | 
					    required this.items,
 | 
				
			||||||
 | 
					    required this.onValueChanges,
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  final List<List<GeneratedFormItem>> items;
 | 
					  final List<List<GeneratedFormItem>> items;
 | 
				
			||||||
  final OnValueChanges onValueChanges;
 | 
					  final OnValueChanges onValueChanges;
 | 
				
			||||||
@@ -179,7 +195,8 @@ class GeneratedForm extends StatefulWidget {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
List<List<GeneratedFormItem>> cloneFormItems(
 | 
					List<List<GeneratedFormItem>> cloneFormItems(
 | 
				
			||||||
    List<List<GeneratedFormItem>> items) {
 | 
					  List<List<GeneratedFormItem>> items,
 | 
				
			||||||
 | 
					) {
 | 
				
			||||||
  List<List<GeneratedFormItem>> clonedItems = [];
 | 
					  List<List<GeneratedFormItem>> clonedItems = [];
 | 
				
			||||||
  for (var row in items) {
 | 
					  for (var row in items) {
 | 
				
			||||||
    List<GeneratedFormItem> clonedRow = [];
 | 
					    List<GeneratedFormItem> clonedRow = [];
 | 
				
			||||||
@@ -194,8 +211,13 @@ List<List<GeneratedFormItem>> cloneFormItems(
 | 
				
			|||||||
class GeneratedFormSubForm extends GeneratedFormItem {
 | 
					class GeneratedFormSubForm extends GeneratedFormItem {
 | 
				
			||||||
  final List<List<GeneratedFormItem>> items;
 | 
					  final List<List<GeneratedFormItem>> items;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  GeneratedFormSubForm(super.key, this.items,
 | 
					  GeneratedFormSubForm(
 | 
				
			||||||
      {super.label, super.belowWidgets, super.defaultValue = const []});
 | 
					    super.key,
 | 
				
			||||||
 | 
					    this.items, {
 | 
				
			||||||
 | 
					    super.label,
 | 
				
			||||||
 | 
					    super.belowWidgets,
 | 
				
			||||||
 | 
					    super.defaultValue = const [],
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  ensureType(val) {
 | 
					  ensureType(val) {
 | 
				
			||||||
@@ -204,8 +226,13 @@ class GeneratedFormSubForm extends GeneratedFormItem {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  GeneratedFormSubForm clone() {
 | 
					  GeneratedFormSubForm clone() {
 | 
				
			||||||
    return GeneratedFormSubForm(key, cloneFormItems(items),
 | 
					    return GeneratedFormSubForm(
 | 
				
			||||||
        label: label, belowWidgets: belowWidgets, defaultValue: defaultValue);
 | 
					      key,
 | 
				
			||||||
 | 
					      cloneFormItems(items),
 | 
				
			||||||
 | 
					      label: label,
 | 
				
			||||||
 | 
					      belowWidgets: belowWidgets,
 | 
				
			||||||
 | 
					      defaultValue: defaultValue,
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -220,13 +247,18 @@ Color generateRandomLightColor() {
 | 
				
			|||||||
  // Map from HPLuv color space to RGB, use constant saturation=100, lightness=70
 | 
					  // Map from HPLuv color space to RGB, use constant saturation=100, lightness=70
 | 
				
			||||||
  final List<double> rgbValuesDbl = Hsluv.hpluvToRgb([hue, 100, 70]);
 | 
					  final List<double> rgbValuesDbl = Hsluv.hpluvToRgb([hue, 100, 70]);
 | 
				
			||||||
  // Map RBG values from 0-1 to 0-255:
 | 
					  // Map RBG values from 0-1 to 0-255:
 | 
				
			||||||
  final List<int> rgbValues =
 | 
					  final List<int> rgbValues = rgbValuesDbl
 | 
				
			||||||
      rgbValuesDbl.map((rgb) => (rgb * 255).toInt()).toList();
 | 
					      .map((rgb) => (rgb * 255).toInt())
 | 
				
			||||||
 | 
					      .toList();
 | 
				
			||||||
  return Color.fromARGB(255, rgbValues[0], rgbValues[1], rgbValues[2]);
 | 
					  return Color.fromARGB(255, rgbValues[0], rgbValues[1], rgbValues[2]);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int generateRandomNumber(int seed1,
 | 
					int generateRandomNumber(
 | 
				
			||||||
    {int seed2 = 0, int seed3 = 0, max = 10000}) {
 | 
					  int seed1, {
 | 
				
			||||||
 | 
					  int seed2 = 0,
 | 
				
			||||||
 | 
					  int seed3 = 0,
 | 
				
			||||||
 | 
					  max = 10000,
 | 
				
			||||||
 | 
					}) {
 | 
				
			||||||
  int combinedSeed = seed1.hashCode ^ seed2.hashCode ^ seed3.hashCode;
 | 
					  int combinedSeed = seed1.hashCode ^ seed2.hashCode ^ seed3.hashCode;
 | 
				
			||||||
  Random random = Random(combinedSeed);
 | 
					  Random random = Random(combinedSeed);
 | 
				
			||||||
  int randomNumber = random.nextInt(max);
 | 
					  int randomNumber = random.nextInt(max);
 | 
				
			||||||
@@ -261,7 +293,7 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
    widget.onValueChanges(returnValues, valid, isBuilding);
 | 
					    widget.onValueChanges(returnValues, valid, isBuilding);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  initForm() {
 | 
					  void initForm() {
 | 
				
			||||||
    initKey = widget.key.toString();
 | 
					    initKey = widget.key.toString();
 | 
				
			||||||
    // Initialize form values as all empty
 | 
					    // Initialize form values as all empty
 | 
				
			||||||
    values.clear();
 | 
					    values.clear();
 | 
				
			||||||
@@ -297,9 +329,9 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                  });
 | 
					                  });
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                decoration: InputDecoration(
 | 
					                decoration: InputDecoration(
 | 
				
			||||||
                    helperText:
 | 
					                  helperText: formItem.label + (formItem.required ? ' *' : ''),
 | 
				
			||||||
                        formItem.label + (formItem.required ? ' *' : ''),
 | 
					                  hintText: formItem.hint,
 | 
				
			||||||
                    hintText: formItem.hint),
 | 
					                ),
 | 
				
			||||||
                minLines: formItem.max <= 1 ? null : formItem.max,
 | 
					                minLines: formItem.max <= 1 ? null : formItem.max,
 | 
				
			||||||
                maxLines: formItem.max <= 1 ? 1 : formItem.max,
 | 
					                maxLines: formItem.max <= 1 ? 1 : formItem.max,
 | 
				
			||||||
                validator: (value) {
 | 
					                validator: (value) {
 | 
				
			||||||
@@ -342,20 +374,23 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
            decoration: InputDecoration(labelText: formItem.label),
 | 
					            decoration: InputDecoration(labelText: formItem.label),
 | 
				
			||||||
            value: values[formItem.key],
 | 
					            value: values[formItem.key],
 | 
				
			||||||
            items: formItem.opts!.map((e2) {
 | 
					            items: formItem.opts!.map((e2) {
 | 
				
			||||||
                var enabled =
 | 
					              var enabled = formItem.disabledOptKeys?.contains(e2.key) != true;
 | 
				
			||||||
                    formItem.disabledOptKeys?.contains(e2.key) != true;
 | 
					 | 
				
			||||||
              return DropdownMenuItem(
 | 
					              return DropdownMenuItem(
 | 
				
			||||||
                value: e2.key,
 | 
					                value: e2.key,
 | 
				
			||||||
                enabled: enabled,
 | 
					                enabled: enabled,
 | 
				
			||||||
                child: Opacity(
 | 
					                child: Opacity(
 | 
				
			||||||
                        opacity: enabled ? 1 : 0.5, child: Text(e2.value)));
 | 
					                  opacity: enabled ? 1 : 0.5,
 | 
				
			||||||
 | 
					                  child: Text(e2.value),
 | 
				
			||||||
 | 
					                ),
 | 
				
			||||||
 | 
					              );
 | 
				
			||||||
            }).toList(),
 | 
					            }).toList(),
 | 
				
			||||||
            onChanged: (value) {
 | 
					            onChanged: (value) {
 | 
				
			||||||
              setState(() {
 | 
					              setState(() {
 | 
				
			||||||
                values[formItem.key] = value ?? formItem.opts!.first.key;
 | 
					                values[formItem.key] = value ?? formItem.opts!.first.key;
 | 
				
			||||||
                someValueChanged();
 | 
					                someValueChanged();
 | 
				
			||||||
              });
 | 
					              });
 | 
				
			||||||
              });
 | 
					            },
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
        } else if (formItem is GeneratedFormSubForm) {
 | 
					        } else if (formItem is GeneratedFormSubForm) {
 | 
				
			||||||
          values[formItem.key] = [];
 | 
					          values[formItem.key] = [];
 | 
				
			||||||
          for (Map<String, dynamic> v
 | 
					          for (Map<String, dynamic> v
 | 
				
			||||||
@@ -394,20 +429,18 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
 | 
					            mainAxisAlignment: MainAxisAlignment.spaceBetween,
 | 
				
			||||||
            children: [
 | 
					            children: [
 | 
				
			||||||
              Flexible(child: Text(widget.items[r][e].label)),
 | 
					              Flexible(child: Text(widget.items[r][e].label)),
 | 
				
			||||||
              const SizedBox(
 | 
					              const SizedBox(width: 8),
 | 
				
			||||||
                width: 8,
 | 
					 | 
				
			||||||
              ),
 | 
					 | 
				
			||||||
              Switch(
 | 
					              Switch(
 | 
				
			||||||
                value: values[fieldKey],
 | 
					                value: values[fieldKey],
 | 
				
			||||||
                  onChanged:
 | 
					                onChanged: (widget.items[r][e] as GeneratedFormSwitch).disabled
 | 
				
			||||||
                      (widget.items[r][e] as GeneratedFormSwitch).disabled
 | 
					 | 
				
			||||||
                    ? null
 | 
					                    ? null
 | 
				
			||||||
                    : (value) {
 | 
					                    : (value) {
 | 
				
			||||||
                        setState(() {
 | 
					                        setState(() {
 | 
				
			||||||
                          values[fieldKey] = value;
 | 
					                          values[fieldKey] = value;
 | 
				
			||||||
                          someValueChanged();
 | 
					                          someValueChanged();
 | 
				
			||||||
                        });
 | 
					                        });
 | 
				
			||||||
                            })
 | 
					                      },
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
          );
 | 
					          );
 | 
				
			||||||
        } else if (widget.items[r][e] is GeneratedFormTagInput) {
 | 
					        } else if (widget.items[r][e] is GeneratedFormTagInput) {
 | 
				
			||||||
@@ -418,9 +451,11 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                return GeneratedFormModal(
 | 
					                return GeneratedFormModal(
 | 
				
			||||||
                  title: widget.items[r][e].label,
 | 
					                  title: widget.items[r][e].label,
 | 
				
			||||||
                  items: [
 | 
					                  items: [
 | 
				
			||||||
                        [GeneratedFormTextField('label', label: tr('label'))]
 | 
					                    [GeneratedFormTextField('label', label: tr('label'))],
 | 
				
			||||||
                      ]);
 | 
					                  ],
 | 
				
			||||||
                }).then((value) {
 | 
					                );
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					            ).then((value) {
 | 
				
			||||||
              String? label = value?['label'];
 | 
					              String? label = value?['label'];
 | 
				
			||||||
              if (label != null) {
 | 
					              if (label != null) {
 | 
				
			||||||
                setState(() {
 | 
					                setState(() {
 | 
				
			||||||
@@ -434,8 +469,10 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                    var someSelected = temp.entries
 | 
					                    var someSelected = temp.entries
 | 
				
			||||||
                        .where((element) => element.value.value)
 | 
					                        .where((element) => element.value.value)
 | 
				
			||||||
                        .isNotEmpty;
 | 
					                        .isNotEmpty;
 | 
				
			||||||
                    temp[label] = MapEntry(generateRandomLightColor().value,
 | 
					                    temp[label] = MapEntry(
 | 
				
			||||||
                        !(someSelected && singleSelect));
 | 
					                      generateRandomLightColor().value,
 | 
				
			||||||
 | 
					                      !(someSelected && singleSelect),
 | 
				
			||||||
 | 
					                    );
 | 
				
			||||||
                    values[fieldKey] = temp;
 | 
					                    values[fieldKey] = temp;
 | 
				
			||||||
                    someValueChanged();
 | 
					                    someValueChanged();
 | 
				
			||||||
                  }
 | 
					                  }
 | 
				
			||||||
@@ -444,8 +481,9 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
            });
 | 
					            });
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          formInputs[r][e] =
 | 
					          formInputs[r][e] = Column(
 | 
				
			||||||
              Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
 | 
					            crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
				
			||||||
 | 
					            children: [
 | 
				
			||||||
              if ((values[fieldKey] as Map<String, MapEntry<int, bool>>?)
 | 
					              if ((values[fieldKey] as Map<String, MapEntry<int, bool>>?)
 | 
				
			||||||
                          ?.isNotEmpty ==
 | 
					                          ?.isNotEmpty ==
 | 
				
			||||||
                      true &&
 | 
					                      true &&
 | 
				
			||||||
@@ -459,9 +497,7 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                      : CrossAxisAlignment.stretch,
 | 
					                      : CrossAxisAlignment.stretch,
 | 
				
			||||||
                  children: [
 | 
					                  children: [
 | 
				
			||||||
                    Text(widget.items[r][e].label),
 | 
					                    Text(widget.items[r][e].label),
 | 
				
			||||||
                  const SizedBox(
 | 
					                    const SizedBox(height: 8),
 | 
				
			||||||
                    height: 8,
 | 
					 | 
				
			||||||
                  ),
 | 
					 | 
				
			||||||
                  ],
 | 
					                  ],
 | 
				
			||||||
                ),
 | 
					                ),
 | 
				
			||||||
              Wrap(
 | 
					              Wrap(
 | 
				
			||||||
@@ -481,45 +517,63 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                          ?.entries
 | 
					                          ?.entries
 | 
				
			||||||
                          .map((e2) {
 | 
					                          .map((e2) {
 | 
				
			||||||
                            return Padding(
 | 
					                            return Padding(
 | 
				
			||||||
                          padding: const EdgeInsets.symmetric(horizontal: 4),
 | 
					                              padding: const EdgeInsets.symmetric(
 | 
				
			||||||
 | 
					                                horizontal: 4,
 | 
				
			||||||
 | 
					                              ),
 | 
				
			||||||
                              child: ChoiceChip(
 | 
					                              child: ChoiceChip(
 | 
				
			||||||
                                label: Text(e2.key),
 | 
					                                label: Text(e2.key),
 | 
				
			||||||
                            backgroundColor: Color(e2.value.key).withAlpha(50),
 | 
					                                backgroundColor: Color(
 | 
				
			||||||
 | 
					                                  e2.value.key,
 | 
				
			||||||
 | 
					                                ).withAlpha(50),
 | 
				
			||||||
                                selectedColor: Color(e2.value.key),
 | 
					                                selectedColor: Color(e2.value.key),
 | 
				
			||||||
                                visualDensity: VisualDensity.compact,
 | 
					                                visualDensity: VisualDensity.compact,
 | 
				
			||||||
                                selected: e2.value.value,
 | 
					                                selected: e2.value.value,
 | 
				
			||||||
                                onSelected: (value) {
 | 
					                                onSelected: (value) {
 | 
				
			||||||
                                  setState(() {
 | 
					                                  setState(() {
 | 
				
			||||||
                                (values[fieldKey] as Map<String,
 | 
					                                    (values[fieldKey]
 | 
				
			||||||
                                        MapEntry<int, bool>>)[e2.key] =
 | 
					                                        as Map<String, MapEntry<int, bool>>)[e2
 | 
				
			||||||
                                    MapEntry(
 | 
					                                        .key] = MapEntry(
 | 
				
			||||||
                                        (values[fieldKey] as Map<String,
 | 
					                                      (values[fieldKey]
 | 
				
			||||||
                                                MapEntry<int, bool>>)[e2.key]!
 | 
					                                              as Map<
 | 
				
			||||||
 | 
					                                                String,
 | 
				
			||||||
 | 
					                                                MapEntry<int, bool>
 | 
				
			||||||
 | 
					                                              >)[e2.key]!
 | 
				
			||||||
                                          .key,
 | 
					                                          .key,
 | 
				
			||||||
                                        value);
 | 
					                                      value,
 | 
				
			||||||
 | 
					                                    );
 | 
				
			||||||
                                    if ((widget.items[r][e]
 | 
					                                    if ((widget.items[r][e]
 | 
				
			||||||
                                                as GeneratedFormTagInput)
 | 
					                                                as GeneratedFormTagInput)
 | 
				
			||||||
                                            .singleSelect &&
 | 
					                                            .singleSelect &&
 | 
				
			||||||
                                        value == true) {
 | 
					                                        value == true) {
 | 
				
			||||||
                                  for (var key in (values[fieldKey]
 | 
					                                      for (var key
 | 
				
			||||||
                                          as Map<String, MapEntry<int, bool>>)
 | 
					                                          in (values[fieldKey]
 | 
				
			||||||
 | 
					                                                  as Map<
 | 
				
			||||||
 | 
					                                                    String,
 | 
				
			||||||
 | 
					                                                    MapEntry<int, bool>
 | 
				
			||||||
 | 
					                                                  >)
 | 
				
			||||||
                                              .keys) {
 | 
					                                              .keys) {
 | 
				
			||||||
                                        if (key != e2.key) {
 | 
					                                        if (key != e2.key) {
 | 
				
			||||||
                                      (values[fieldKey] as Map<
 | 
					                                          (values[fieldKey]
 | 
				
			||||||
 | 
					                                              as Map<
 | 
				
			||||||
                                                String,
 | 
					                                                String,
 | 
				
			||||||
                                          MapEntry<int,
 | 
					                                                MapEntry<int, bool>
 | 
				
			||||||
                                              bool>>)[key] = MapEntry(
 | 
					                                              >)[key] = MapEntry(
 | 
				
			||||||
                                          (values[fieldKey] as Map<String,
 | 
					                                            (values[fieldKey]
 | 
				
			||||||
                                                  MapEntry<int, bool>>)[key]!
 | 
					                                                    as Map<
 | 
				
			||||||
 | 
					                                                      String,
 | 
				
			||||||
 | 
					                                                      MapEntry<int, bool>
 | 
				
			||||||
 | 
					                                                    >)[key]!
 | 
				
			||||||
                                                .key,
 | 
					                                                .key,
 | 
				
			||||||
                                          false);
 | 
					                                            false,
 | 
				
			||||||
 | 
					                                          );
 | 
				
			||||||
                                        }
 | 
					                                        }
 | 
				
			||||||
                                      }
 | 
					                                      }
 | 
				
			||||||
                                    }
 | 
					                                    }
 | 
				
			||||||
                                    someValueChanged();
 | 
					                                    someValueChanged();
 | 
				
			||||||
                                  });
 | 
					                                  });
 | 
				
			||||||
                                },
 | 
					                                },
 | 
				
			||||||
                          ));
 | 
					                              ),
 | 
				
			||||||
 | 
					                            );
 | 
				
			||||||
                          }) ??
 | 
					                          }) ??
 | 
				
			||||||
                      [const SizedBox.shrink()],
 | 
					                      [const SizedBox.shrink()],
 | 
				
			||||||
                  (values[fieldKey] as Map<String, MapEntry<int, bool>>?)
 | 
					                  (values[fieldKey] as Map<String, MapEntry<int, bool>>?)
 | 
				
			||||||
@@ -532,19 +586,23 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                          child: IconButton(
 | 
					                          child: IconButton(
 | 
				
			||||||
                            onPressed: () {
 | 
					                            onPressed: () {
 | 
				
			||||||
                              setState(() {
 | 
					                              setState(() {
 | 
				
			||||||
                              var temp = values[fieldKey]
 | 
					                                var temp =
 | 
				
			||||||
 | 
					                                    values[fieldKey]
 | 
				
			||||||
                                        as Map<String, MapEntry<int, bool>>;
 | 
					                                        as Map<String, MapEntry<int, bool>>;
 | 
				
			||||||
                                // get selected category str where bool is true
 | 
					                                // get selected category str where bool is true
 | 
				
			||||||
                              final oldEntry = temp.entries
 | 
					                                final oldEntry = temp.entries.firstWhere(
 | 
				
			||||||
                                  .firstWhere((entry) => entry.value.value);
 | 
					                                  (entry) => entry.value.value,
 | 
				
			||||||
 | 
					                                );
 | 
				
			||||||
                                // generate new color, ensure it is not the same
 | 
					                                // generate new color, ensure it is not the same
 | 
				
			||||||
                                int newColor = oldEntry.value.key;
 | 
					                                int newColor = oldEntry.value.key;
 | 
				
			||||||
                                while (oldEntry.value.key == newColor) {
 | 
					                                while (oldEntry.value.key == newColor) {
 | 
				
			||||||
                                  newColor = generateRandomLightColor().value;
 | 
					                                  newColor = generateRandomLightColor().value;
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                                // Update entry with new color, remain selected
 | 
					                                // Update entry with new color, remain selected
 | 
				
			||||||
                              temp.update(oldEntry.key,
 | 
					                                temp.update(
 | 
				
			||||||
                                  (old) => MapEntry(newColor, old.value));
 | 
					                                  oldEntry.key,
 | 
				
			||||||
 | 
					                                  (old) => MapEntry(newColor, old.value),
 | 
				
			||||||
 | 
					                                );
 | 
				
			||||||
                                values[fieldKey] = temp;
 | 
					                                values[fieldKey] = temp;
 | 
				
			||||||
                                someValueChanged();
 | 
					                                someValueChanged();
 | 
				
			||||||
                              });
 | 
					                              });
 | 
				
			||||||
@@ -552,7 +610,8 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                            icon: const Icon(Icons.format_color_fill_rounded),
 | 
					                            icon: const Icon(Icons.format_color_fill_rounded),
 | 
				
			||||||
                            visualDensity: VisualDensity.compact,
 | 
					                            visualDensity: VisualDensity.compact,
 | 
				
			||||||
                            tooltip: tr('colour'),
 | 
					                            tooltip: tr('colour'),
 | 
				
			||||||
                        ))
 | 
					                          ),
 | 
				
			||||||
 | 
					                        )
 | 
				
			||||||
                      : const SizedBox.shrink(),
 | 
					                      : const SizedBox.shrink(),
 | 
				
			||||||
                  (values[fieldKey] as Map<String, MapEntry<int, bool>>?)
 | 
					                  (values[fieldKey] as Map<String, MapEntry<int, bool>>?)
 | 
				
			||||||
                              ?.values
 | 
					                              ?.values
 | 
				
			||||||
@@ -565,7 +624,8 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                            onPressed: () {
 | 
					                            onPressed: () {
 | 
				
			||||||
                              fn() {
 | 
					                              fn() {
 | 
				
			||||||
                                setState(() {
 | 
					                                setState(() {
 | 
				
			||||||
                                var temp = values[fieldKey]
 | 
					                                  var temp =
 | 
				
			||||||
 | 
					                                      values[fieldKey]
 | 
				
			||||||
                                          as Map<String, MapEntry<int, bool>>;
 | 
					                                          as Map<String, MapEntry<int, bool>>;
 | 
				
			||||||
                                  temp.removeWhere((key, value) => value.value);
 | 
					                                  temp.removeWhere((key, value) => value.value);
 | 
				
			||||||
                                  values[fieldKey] = temp;
 | 
					                                  values[fieldKey] = temp;
 | 
				
			||||||
@@ -577,7 +637,8 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                                      .deleteConfirmationMessage !=
 | 
					                                      .deleteConfirmationMessage !=
 | 
				
			||||||
                                  null) {
 | 
					                                  null) {
 | 
				
			||||||
                                var message =
 | 
					                                var message =
 | 
				
			||||||
                                  (widget.items[r][e] as GeneratedFormTagInput)
 | 
					                                    (widget.items[r][e]
 | 
				
			||||||
 | 
					                                            as GeneratedFormTagInput)
 | 
				
			||||||
                                        .deleteConfirmationMessage!;
 | 
					                                        .deleteConfirmationMessage!;
 | 
				
			||||||
                                showDialog<Map<String, dynamic>?>(
 | 
					                                showDialog<Map<String, dynamic>?>(
 | 
				
			||||||
                                  context: context,
 | 
					                                  context: context,
 | 
				
			||||||
@@ -585,8 +646,10 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                                    return GeneratedFormModal(
 | 
					                                    return GeneratedFormModal(
 | 
				
			||||||
                                      title: message.key,
 | 
					                                      title: message.key,
 | 
				
			||||||
                                      message: message.value,
 | 
					                                      message: message.value,
 | 
				
			||||||
                                        items: const []);
 | 
					                                      items: const [],
 | 
				
			||||||
                                  }).then((value) {
 | 
					                                    );
 | 
				
			||||||
 | 
					                                  },
 | 
				
			||||||
 | 
					                                ).then((value) {
 | 
				
			||||||
                                  if (value != null) {
 | 
					                                  if (value != null) {
 | 
				
			||||||
                                    fn();
 | 
					                                    fn();
 | 
				
			||||||
                                  }
 | 
					                                  }
 | 
				
			||||||
@@ -598,7 +661,8 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                            icon: const Icon(Icons.remove),
 | 
					                            icon: const Icon(Icons.remove),
 | 
				
			||||||
                            visualDensity: VisualDensity.compact,
 | 
					                            visualDensity: VisualDensity.compact,
 | 
				
			||||||
                            tooltip: tr('remove'),
 | 
					                            tooltip: tr('remove'),
 | 
				
			||||||
                        ))
 | 
					                          ),
 | 
				
			||||||
 | 
					                        )
 | 
				
			||||||
                      : const SizedBox.shrink(),
 | 
					                      : const SizedBox.shrink(),
 | 
				
			||||||
                  (values[fieldKey] as Map<String, MapEntry<int, bool>>?)
 | 
					                  (values[fieldKey] as Map<String, MapEntry<int, bool>>?)
 | 
				
			||||||
                              ?.isEmpty ==
 | 
					                              ?.isEmpty ==
 | 
				
			||||||
@@ -610,8 +674,10 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                            icon: const Icon(Icons.add),
 | 
					                            icon: const Icon(Icons.add),
 | 
				
			||||||
                            label: Text(
 | 
					                            label: Text(
 | 
				
			||||||
                              (widget.items[r][e] as GeneratedFormTagInput)
 | 
					                              (widget.items[r][e] as GeneratedFormTagInput)
 | 
				
			||||||
                                  .label),
 | 
					                                  .label,
 | 
				
			||||||
                        ))
 | 
					                            ),
 | 
				
			||||||
 | 
					                          ),
 | 
				
			||||||
 | 
					                        )
 | 
				
			||||||
                      : Padding(
 | 
					                      : Padding(
 | 
				
			||||||
                          padding: const EdgeInsets.symmetric(horizontal: 4),
 | 
					                          padding: const EdgeInsets.symmetric(horizontal: 4),
 | 
				
			||||||
                          child: IconButton(
 | 
					                          child: IconButton(
 | 
				
			||||||
@@ -619,29 +685,30 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                            icon: const Icon(Icons.add),
 | 
					                            icon: const Icon(Icons.add),
 | 
				
			||||||
                            visualDensity: VisualDensity.compact,
 | 
					                            visualDensity: VisualDensity.compact,
 | 
				
			||||||
                            tooltip: tr('add'),
 | 
					                            tooltip: tr('add'),
 | 
				
			||||||
                        )),
 | 
					                          ),
 | 
				
			||||||
 | 
					                        ),
 | 
				
			||||||
                ],
 | 
					                ],
 | 
				
			||||||
            )
 | 
					              ),
 | 
				
			||||||
          ]);
 | 
					            ],
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
        } else if (widget.items[r][e] is GeneratedFormSubForm) {
 | 
					        } else if (widget.items[r][e] is GeneratedFormSubForm) {
 | 
				
			||||||
          List<Widget> subformColumn = [];
 | 
					          List<Widget> subformColumn = [];
 | 
				
			||||||
          var compact = (widget.items[r][e] as GeneratedFormSubForm)
 | 
					          var compact =
 | 
				
			||||||
                      .items
 | 
					              (widget.items[r][e] as GeneratedFormSubForm).items.length == 1 &&
 | 
				
			||||||
                      .length ==
 | 
					 | 
				
			||||||
                  1 &&
 | 
					 | 
				
			||||||
              (widget.items[r][e] as GeneratedFormSubForm).items[0].length == 1;
 | 
					              (widget.items[r][e] as GeneratedFormSubForm).items[0].length == 1;
 | 
				
			||||||
          for (int i = 0; i < values[fieldKey].length; i++) {
 | 
					          for (int i = 0; i < values[fieldKey].length; i++) {
 | 
				
			||||||
            var internalFormKey = ValueKey(generateRandomNumber(
 | 
					            var internalFormKey = ValueKey(
 | 
				
			||||||
 | 
					              generateRandomNumber(
 | 
				
			||||||
                values[fieldKey].length,
 | 
					                values[fieldKey].length,
 | 
				
			||||||
                seed2: i,
 | 
					                seed2: i,
 | 
				
			||||||
                seed3: forceUpdateKeyCount));
 | 
					                seed3: forceUpdateKeyCount,
 | 
				
			||||||
            subformColumn.add(Column(
 | 
					              ),
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
 | 
					            subformColumn.add(
 | 
				
			||||||
 | 
					              Column(
 | 
				
			||||||
                crossAxisAlignment: CrossAxisAlignment.start,
 | 
					                crossAxisAlignment: CrossAxisAlignment.start,
 | 
				
			||||||
                children: [
 | 
					                children: [
 | 
				
			||||||
                if (!compact)
 | 
					                  if (!compact) const SizedBox(height: 16),
 | 
				
			||||||
                  const SizedBox(
 | 
					 | 
				
			||||||
                    height: 16,
 | 
					 | 
				
			||||||
                  ),
 | 
					 | 
				
			||||||
                  if (!compact)
 | 
					                  if (!compact)
 | 
				
			||||||
                    Text(
 | 
					                    Text(
 | 
				
			||||||
                      '${(widget.items[r][e] as GeneratedFormSubForm).label} (${i + 1})',
 | 
					                      '${(widget.items[r][e] as GeneratedFormSubForm).label} (${i + 1})',
 | 
				
			||||||
@@ -649,22 +716,30 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                    ),
 | 
					                    ),
 | 
				
			||||||
                  GeneratedForm(
 | 
					                  GeneratedForm(
 | 
				
			||||||
                    key: internalFormKey,
 | 
					                    key: internalFormKey,
 | 
				
			||||||
                  items: cloneFormItems(
 | 
					                    items:
 | 
				
			||||||
                          (widget.items[r][e] as GeneratedFormSubForm).items)
 | 
					                        cloneFormItems(
 | 
				
			||||||
                      .map((x) => x.map((y) {
 | 
					                              (widget.items[r][e] as GeneratedFormSubForm)
 | 
				
			||||||
 | 
					                                  .items,
 | 
				
			||||||
 | 
					                            )
 | 
				
			||||||
 | 
					                            .map(
 | 
				
			||||||
 | 
					                              (x) => x.map((y) {
 | 
				
			||||||
                                y.defaultValue = values[fieldKey]?[i]?[y.key];
 | 
					                                y.defaultValue = values[fieldKey]?[i]?[y.key];
 | 
				
			||||||
                                y.key = '${y.key.toString()},$internalFormKey';
 | 
					                                y.key = '${y.key.toString()},$internalFormKey';
 | 
				
			||||||
                                return y;
 | 
					                                return y;
 | 
				
			||||||
                          }).toList())
 | 
					                              }).toList(),
 | 
				
			||||||
 | 
					                            )
 | 
				
			||||||
                            .toList(),
 | 
					                            .toList(),
 | 
				
			||||||
                    onValueChanges: (values, valid, isBuilding) {
 | 
					                    onValueChanges: (values, valid, isBuilding) {
 | 
				
			||||||
                      values = values.map(
 | 
					                      values = values.map(
 | 
				
			||||||
                        (key, value) => MapEntry(key.split(',')[0], value));
 | 
					                        (key, value) => MapEntry(key.split(',')[0], value),
 | 
				
			||||||
 | 
					                      );
 | 
				
			||||||
                      if (valid) {
 | 
					                      if (valid) {
 | 
				
			||||||
                        this.values[fieldKey]?[i] = values;
 | 
					                        this.values[fieldKey]?[i] = values;
 | 
				
			||||||
                      }
 | 
					                      }
 | 
				
			||||||
                      someValueChanged(
 | 
					                      someValueChanged(
 | 
				
			||||||
                        isBuilding: isBuilding, forceInvalid: !valid);
 | 
					                        isBuilding: isBuilding,
 | 
				
			||||||
 | 
					                        forceInvalid: !valid,
 | 
				
			||||||
 | 
					                      );
 | 
				
			||||||
                    },
 | 
					                    },
 | 
				
			||||||
                  ),
 | 
					                  ),
 | 
				
			||||||
                  Row(
 | 
					                  Row(
 | 
				
			||||||
@@ -672,8 +747,8 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                    children: [
 | 
					                    children: [
 | 
				
			||||||
                      TextButton.icon(
 | 
					                      TextButton.icon(
 | 
				
			||||||
                        style: TextButton.styleFrom(
 | 
					                        style: TextButton.styleFrom(
 | 
				
			||||||
                            foregroundColor:
 | 
					                          foregroundColor: Theme.of(context).colorScheme.error,
 | 
				
			||||||
                                Theme.of(context).colorScheme.error),
 | 
					                        ),
 | 
				
			||||||
                        onPressed: (values[fieldKey].length > 0)
 | 
					                        onPressed: (values[fieldKey].length > 0)
 | 
				
			||||||
                            ? () {
 | 
					                            ? () {
 | 
				
			||||||
                                var temp = List.from(values[fieldKey]);
 | 
					                                var temp = List.from(values[fieldKey]);
 | 
				
			||||||
@@ -686,33 +761,40 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
                        label: Text(
 | 
					                        label: Text(
 | 
				
			||||||
                          '${(widget.items[r][e] as GeneratedFormSubForm).label} (${i + 1})',
 | 
					                          '${(widget.items[r][e] as GeneratedFormSubForm).label} (${i + 1})',
 | 
				
			||||||
                        ),
 | 
					                        ),
 | 
				
			||||||
                        icon: const Icon(
 | 
					                        icon: const Icon(Icons.delete_outline_rounded),
 | 
				
			||||||
                          Icons.delete_outline_rounded,
 | 
					                      ),
 | 
				
			||||||
                        ))
 | 
					 | 
				
			||||||
                    ],
 | 
					                    ],
 | 
				
			||||||
                )
 | 
					                  ),
 | 
				
			||||||
                ],
 | 
					                ],
 | 
				
			||||||
            ));
 | 
					              ),
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
          subformColumn.add(Padding(
 | 
					          subformColumn.add(
 | 
				
			||||||
 | 
					            Padding(
 | 
				
			||||||
              padding: const EdgeInsets.only(bottom: 0, top: 8),
 | 
					              padding: const EdgeInsets.only(bottom: 0, top: 8),
 | 
				
			||||||
              child: Row(
 | 
					              child: Row(
 | 
				
			||||||
                children: [
 | 
					                children: [
 | 
				
			||||||
                  Expanded(
 | 
					                  Expanded(
 | 
				
			||||||
                    child: ElevatedButton.icon(
 | 
					                    child: ElevatedButton.icon(
 | 
				
			||||||
                      onPressed: () {
 | 
					                      onPressed: () {
 | 
				
			||||||
                          values[fieldKey].add(getDefaultValuesFromFormItems(
 | 
					                        values[fieldKey].add(
 | 
				
			||||||
                              (widget.items[r][e] as GeneratedFormSubForm)
 | 
					                          getDefaultValuesFromFormItems(
 | 
				
			||||||
                                  .items));
 | 
					                            (widget.items[r][e] as GeneratedFormSubForm).items,
 | 
				
			||||||
 | 
					                          ),
 | 
				
			||||||
 | 
					                        );
 | 
				
			||||||
                        forceUpdateKeyCount++;
 | 
					                        forceUpdateKeyCount++;
 | 
				
			||||||
                        someValueChanged();
 | 
					                        someValueChanged();
 | 
				
			||||||
                      },
 | 
					                      },
 | 
				
			||||||
                      icon: const Icon(Icons.add),
 | 
					                      icon: const Icon(Icons.add),
 | 
				
			||||||
                        label: Text((widget.items[r][e] as GeneratedFormSubForm)
 | 
					                      label: Text(
 | 
				
			||||||
                            .label))),
 | 
					                        (widget.items[r][e] as GeneratedFormSubForm).label,
 | 
				
			||||||
 | 
					                      ),
 | 
				
			||||||
 | 
					                    ),
 | 
				
			||||||
 | 
					                  ),
 | 
				
			||||||
                ],
 | 
					                ],
 | 
				
			||||||
              ),
 | 
					              ),
 | 
				
			||||||
          ));
 | 
					            ),
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
          formInputs[r][e] = Column(children: subformColumn);
 | 
					          formInputs[r][e] = Column(children: subformColumn);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -726,24 +808,26 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
            height: widget.items[rowInputs.key - 1][0] is GeneratedFormSwitch
 | 
					            height: widget.items[rowInputs.key - 1][0] is GeneratedFormSwitch
 | 
				
			||||||
                ? 8
 | 
					                ? 8
 | 
				
			||||||
                : 25,
 | 
					                : 25,
 | 
				
			||||||
          )
 | 
					          ),
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      List<Widget> rowItems = [];
 | 
					      List<Widget> rowItems = [];
 | 
				
			||||||
      rowInputs.value.asMap().entries.forEach((rowInput) {
 | 
					      rowInputs.value.asMap().entries.forEach((rowInput) {
 | 
				
			||||||
        if (rowInput.key > 0) {
 | 
					        if (rowInput.key > 0) {
 | 
				
			||||||
          rowItems.add(const SizedBox(
 | 
					          rowItems.add(const SizedBox(width: 20));
 | 
				
			||||||
            width: 20,
 | 
					 | 
				
			||||||
          ));
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        rowItems.add(Expanded(
 | 
					        rowItems.add(
 | 
				
			||||||
 | 
					          Expanded(
 | 
				
			||||||
            child: Column(
 | 
					            child: Column(
 | 
				
			||||||
              crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
					              crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
				
			||||||
              mainAxisSize: MainAxisSize.min,
 | 
					              mainAxisSize: MainAxisSize.min,
 | 
				
			||||||
              children: [
 | 
					              children: [
 | 
				
			||||||
                rowInput.value,
 | 
					                rowInput.value,
 | 
				
			||||||
              ...widget.items[rowInputs.key][rowInput.key].belowWidgets
 | 
					                ...widget.items[rowInputs.key][rowInput.key].belowWidgets,
 | 
				
			||||||
            ])));
 | 
					              ],
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
      rows.add(rowItems);
 | 
					      rows.add(rowItems);
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
@@ -752,12 +836,15 @@ class _GeneratedFormState extends State<GeneratedForm> {
 | 
				
			|||||||
      key: _formKey,
 | 
					      key: _formKey,
 | 
				
			||||||
      child: Column(
 | 
					      child: Column(
 | 
				
			||||||
        children: [
 | 
					        children: [
 | 
				
			||||||
            ...rows.map((row) => Row(
 | 
					          ...rows.map(
 | 
				
			||||||
 | 
					            (row) => Row(
 | 
				
			||||||
              mainAxisAlignment: MainAxisAlignment.start,
 | 
					              mainAxisAlignment: MainAxisAlignment.start,
 | 
				
			||||||
              crossAxisAlignment: CrossAxisAlignment.start,
 | 
					              crossAxisAlignment: CrossAxisAlignment.start,
 | 
				
			||||||
              children: [...row.map((e) => e)],
 | 
					              children: [...row.map((e) => e)],
 | 
				
			||||||
                ))
 | 
					            ),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        ));
 | 
					      ),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,15 +4,16 @@ import 'package:flutter/services.dart';
 | 
				
			|||||||
import 'package:obtainium/components/generated_form.dart';
 | 
					import 'package:obtainium/components/generated_form.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class GeneratedFormModal extends StatefulWidget {
 | 
					class GeneratedFormModal extends StatefulWidget {
 | 
				
			||||||
  const GeneratedFormModal(
 | 
					  const GeneratedFormModal({
 | 
				
			||||||
      {super.key,
 | 
					    super.key,
 | 
				
			||||||
    required this.title,
 | 
					    required this.title,
 | 
				
			||||||
    required this.items,
 | 
					    required this.items,
 | 
				
			||||||
    this.initValid = false,
 | 
					    this.initValid = false,
 | 
				
			||||||
    this.message = '',
 | 
					    this.message = '',
 | 
				
			||||||
    this.additionalWidgets = const [],
 | 
					    this.additionalWidgets = const [],
 | 
				
			||||||
    this.singleNullReturnButton,
 | 
					    this.singleNullReturnButton,
 | 
				
			||||||
      this.primaryActionColour});
 | 
					    this.primaryActionColour,
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  final String title;
 | 
					  final String title;
 | 
				
			||||||
  final String message;
 | 
					  final String message;
 | 
				
			||||||
@@ -41,13 +42,11 @@ class _GeneratedFormModalState extends State<GeneratedFormModal> {
 | 
				
			|||||||
    return AlertDialog(
 | 
					    return AlertDialog(
 | 
				
			||||||
      scrollable: true,
 | 
					      scrollable: true,
 | 
				
			||||||
      title: Text(widget.title),
 | 
					      title: Text(widget.title),
 | 
				
			||||||
      content:
 | 
					      content: Column(
 | 
				
			||||||
          Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
 | 
					        crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
				
			||||||
 | 
					        children: [
 | 
				
			||||||
          if (widget.message.isNotEmpty) Text(widget.message),
 | 
					          if (widget.message.isNotEmpty) Text(widget.message),
 | 
				
			||||||
        if (widget.message.isNotEmpty)
 | 
					          if (widget.message.isNotEmpty) const SizedBox(height: 16),
 | 
				
			||||||
          const SizedBox(
 | 
					 | 
				
			||||||
            height: 16,
 | 
					 | 
				
			||||||
          ),
 | 
					 | 
				
			||||||
          GeneratedForm(
 | 
					          GeneratedForm(
 | 
				
			||||||
            items: widget.items,
 | 
					            items: widget.items,
 | 
				
			||||||
            onValueChanges: (values, valid, isBuilding) {
 | 
					            onValueChanges: (values, valid, isBuilding) {
 | 
				
			||||||
@@ -60,23 +59,29 @@ class _GeneratedFormModalState extends State<GeneratedFormModal> {
 | 
				
			|||||||
                  this.valid = valid;
 | 
					                  this.valid = valid;
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
            }),
 | 
					            },
 | 
				
			||||||
        if (widget.additionalWidgets.isNotEmpty) ...widget.additionalWidgets
 | 
					          ),
 | 
				
			||||||
      ]),
 | 
					          if (widget.additionalWidgets.isNotEmpty) ...widget.additionalWidgets,
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
      actions: [
 | 
					      actions: [
 | 
				
			||||||
        TextButton(
 | 
					        TextButton(
 | 
				
			||||||
          onPressed: () {
 | 
					          onPressed: () {
 | 
				
			||||||
            Navigator.of(context).pop(null);
 | 
					            Navigator.of(context).pop(null);
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
            child: Text(widget.singleNullReturnButton == null
 | 
					          child: Text(
 | 
				
			||||||
 | 
					            widget.singleNullReturnButton == null
 | 
				
			||||||
                ? tr('cancel')
 | 
					                ? tr('cancel')
 | 
				
			||||||
                : widget.singleNullReturnButton!)),
 | 
					                : widget.singleNullReturnButton!,
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
        widget.singleNullReturnButton == null
 | 
					        widget.singleNullReturnButton == null
 | 
				
			||||||
            ? TextButton(
 | 
					            ? TextButton(
 | 
				
			||||||
                style: widget.primaryActionColour == null
 | 
					                style: widget.primaryActionColour == null
 | 
				
			||||||
                    ? null
 | 
					                    ? null
 | 
				
			||||||
                    : TextButton.styleFrom(
 | 
					                    : TextButton.styleFrom(
 | 
				
			||||||
                        foregroundColor: widget.primaryActionColour),
 | 
					                        foregroundColor: widget.primaryActionColour,
 | 
				
			||||||
 | 
					                      ),
 | 
				
			||||||
                onPressed: !valid
 | 
					                onPressed: !valid
 | 
				
			||||||
                    ? null
 | 
					                    ? null
 | 
				
			||||||
                    : () {
 | 
					                    : () {
 | 
				
			||||||
@@ -85,8 +90,9 @@ class _GeneratedFormModalState extends State<GeneratedFormModal> {
 | 
				
			|||||||
                          Navigator.of(context).pop(values);
 | 
					                          Navigator.of(context).pop(values);
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                      },
 | 
					                      },
 | 
				
			||||||
                child: Text(tr('continue')))
 | 
					                child: Text(tr('continue')),
 | 
				
			||||||
            : const SizedBox.shrink()
 | 
					              )
 | 
				
			||||||
 | 
					            : const SizedBox.shrink(),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -36,7 +36,8 @@ class CredsNeededError extends ObtainiumError {
 | 
				
			|||||||
class NoReleasesError extends ObtainiumError {
 | 
					class NoReleasesError extends ObtainiumError {
 | 
				
			||||||
  NoReleasesError({String? note})
 | 
					  NoReleasesError({String? note})
 | 
				
			||||||
    : super(
 | 
					    : super(
 | 
				
			||||||
            '${tr('noReleaseFound')}${note?.isNotEmpty == true ? '\n\n$note' : ''}');
 | 
					        '${tr('noReleaseFound')}${note?.isNotEmpty == true ? '\n\n$note' : ''}',
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class NoAPKError extends ObtainiumError {
 | 
					class NoAPKError extends ObtainiumError {
 | 
				
			||||||
@@ -75,7 +76,7 @@ class MultiAppMultiError extends ObtainiumError {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  MultiAppMultiError() : super(tr('placeholder'), unexpected: true);
 | 
					  MultiAppMultiError() : super(tr('placeholder'), unexpected: true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  add(String appId, dynamic error, {String? appName}) {
 | 
					  void add(String appId, dynamic error, {String? appName}) {
 | 
				
			||||||
    if (error is SocketException) {
 | 
					    if (error is SocketException) {
 | 
				
			||||||
      error = error.message;
 | 
					      error = error.message;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -93,8 +94,11 @@ class MultiAppMultiError extends ObtainiumError {
 | 
				
			|||||||
  String errorString(String appId, {bool includeIdsWithNames = false}) =>
 | 
					  String errorString(String appId, {bool includeIdsWithNames = false}) =>
 | 
				
			||||||
      '${appIdNames.containsKey(appId) ? '${appIdNames[appId]}${includeIdsWithNames ? ' ($appId)' : ''}' : appId}: ${rawErrors[appId].toString()}';
 | 
					      '${appIdNames.containsKey(appId) ? '${appIdNames[appId]}${includeIdsWithNames ? ' ($appId)' : ''}' : appId}: ${rawErrors[appId].toString()}';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  String errorsAppsString(String errString, List<String> appIds,
 | 
					  String errorsAppsString(
 | 
				
			||||||
          {bool includeIdsWithNames = false}) =>
 | 
					    String errString,
 | 
				
			||||||
 | 
					    List<String> appIds, {
 | 
				
			||||||
 | 
					    bool includeIdsWithNames = false,
 | 
				
			||||||
 | 
					  }) =>
 | 
				
			||||||
      '$errString [${list2FriendlyString(appIds.map((id) => appIdNames.containsKey(id) == true ? '${appIdNames[id]}${includeIdsWithNames ? ' ($id)' : ''}' : id).toList())}]';
 | 
					      '$errString [${list2FriendlyString(appIds.map((id) => appIdNames.containsKey(id) == true ? '${appIdNames[id]}${includeIdsWithNames ? ' ($id)' : ''}' : id).toList())}]';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
@@ -103,43 +107,50 @@ class MultiAppMultiError extends ObtainiumError {
 | 
				
			|||||||
      .join('\n\n');
 | 
					      .join('\n\n');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
showMessage(dynamic e, BuildContext context, {bool isError = false}) {
 | 
					void showMessage(dynamic e, BuildContext context, {bool isError = false}) {
 | 
				
			||||||
  Provider.of<LogsProvider>(context, listen: false)
 | 
					  Provider.of<LogsProvider>(
 | 
				
			||||||
      .add(e.toString(), level: isError ? LogLevels.error : LogLevels.info);
 | 
					    context,
 | 
				
			||||||
 | 
					    listen: false,
 | 
				
			||||||
 | 
					  ).add(e.toString(), level: isError ? LogLevels.error : LogLevels.info);
 | 
				
			||||||
  if (e is String || (e is ObtainiumError && !e.unexpected)) {
 | 
					  if (e is String || (e is ObtainiumError && !e.unexpected)) {
 | 
				
			||||||
    ScaffoldMessenger.of(context).showSnackBar(
 | 
					    ScaffoldMessenger.of(
 | 
				
			||||||
      SnackBar(content: Text(e.toString())),
 | 
					      context,
 | 
				
			||||||
    );
 | 
					    ).showSnackBar(SnackBar(content: Text(e.toString())));
 | 
				
			||||||
  } else {
 | 
					  } else {
 | 
				
			||||||
    showDialog(
 | 
					    showDialog(
 | 
				
			||||||
      context: context,
 | 
					      context: context,
 | 
				
			||||||
      builder: (BuildContext ctx) {
 | 
					      builder: (BuildContext ctx) {
 | 
				
			||||||
        return AlertDialog(
 | 
					        return AlertDialog(
 | 
				
			||||||
          scrollable: true,
 | 
					          scrollable: true,
 | 
				
			||||||
            title: Text(e is MultiAppMultiError
 | 
					          title: Text(
 | 
				
			||||||
 | 
					            e is MultiAppMultiError
 | 
				
			||||||
                ? tr(isError ? 'someErrors' : 'updates')
 | 
					                ? tr(isError ? 'someErrors' : 'updates')
 | 
				
			||||||
                : tr(isError ? 'unexpectedError' : 'unknown')),
 | 
					                : tr(isError ? 'unexpectedError' : 'unknown'),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
          content: GestureDetector(
 | 
					          content: GestureDetector(
 | 
				
			||||||
            onLongPress: () {
 | 
					            onLongPress: () {
 | 
				
			||||||
              Clipboard.setData(ClipboardData(text: e.toString()));
 | 
					              Clipboard.setData(ClipboardData(text: e.toString()));
 | 
				
			||||||
                  ScaffoldMessenger.of(context).showSnackBar(SnackBar(
 | 
					              ScaffoldMessenger.of(
 | 
				
			||||||
                    content: Text(tr('copiedToClipboard')),
 | 
					                context,
 | 
				
			||||||
                  ));
 | 
					              ).showSnackBar(SnackBar(content: Text(tr('copiedToClipboard'))));
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
                child: Text(e.toString())),
 | 
					            child: Text(e.toString()),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
          actions: [
 | 
					          actions: [
 | 
				
			||||||
            TextButton(
 | 
					            TextButton(
 | 
				
			||||||
              onPressed: () {
 | 
					              onPressed: () {
 | 
				
			||||||
                Navigator.of(context).pop(null);
 | 
					                Navigator.of(context).pop(null);
 | 
				
			||||||
              },
 | 
					              },
 | 
				
			||||||
                  child: Text(tr('ok'))),
 | 
					              child: Text(tr('ok')),
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        });
 | 
					      },
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
showError(dynamic e, BuildContext context) {
 | 
					void showError(dynamic e, BuildContext context) {
 | 
				
			||||||
  showMessage(e, context, isError: true);
 | 
					  showMessage(e, context, isError: true);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -149,12 +160,14 @@ String list2FriendlyString(List<String> list) {
 | 
				
			|||||||
      : list
 | 
					      : list
 | 
				
			||||||
            .asMap()
 | 
					            .asMap()
 | 
				
			||||||
            .entries
 | 
					            .entries
 | 
				
			||||||
          .map((e) =>
 | 
					            .map(
 | 
				
			||||||
 | 
					              (e) =>
 | 
				
			||||||
                  e.value +
 | 
					                  e.value +
 | 
				
			||||||
                  (e.key == list.length - 1
 | 
					                  (e.key == list.length - 1
 | 
				
			||||||
                      ? ''
 | 
					                      ? ''
 | 
				
			||||||
                      : e.key == list.length - 2
 | 
					                      : e.key == list.length - 2
 | 
				
			||||||
                      ? ', and '
 | 
					                      ? ' and '
 | 
				
			||||||
                      : ', '))
 | 
					                      : ', '),
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
            .join('');
 | 
					            .join('');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										104
									
								
								lib/main.dart
									
									
									
									
									
								
							
							
						
						@@ -34,7 +34,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('pt'), 'Brasileiro'),
 | 
					  MapEntry(Locale('pt'), 'Português'),
 | 
				
			||||||
 | 
					  MapEntry(Locale('pt', 'BR'), 'Brasileiro'),
 | 
				
			||||||
  MapEntry(Locale('cs'), 'Česky'),
 | 
					  MapEntry(Locale('cs'), 'Česky'),
 | 
				
			||||||
  MapEntry(Locale('sv'), 'Svenska'),
 | 
					  MapEntry(Locale('sv'), 'Svenska'),
 | 
				
			||||||
  MapEntry(Locale('nl'), 'Nederlands'),
 | 
					  MapEntry(Locale('nl'), 'Nederlands'),
 | 
				
			||||||
@@ -42,10 +43,14 @@ List<MapEntry<Locale, String>> supportedLocales = const [
 | 
				
			|||||||
  MapEntry(Locale('tr'), 'Türkçe'),
 | 
					  MapEntry(Locale('tr'), 'Türkçe'),
 | 
				
			||||||
  MapEntry(Locale('uk'), 'Українська'),
 | 
					  MapEntry(Locale('uk'), 'Українська'),
 | 
				
			||||||
  MapEntry(Locale('da'), 'Dansk'),
 | 
					  MapEntry(Locale('da'), 'Dansk'),
 | 
				
			||||||
  MapEntry(Locale('en', 'EO'),
 | 
					  MapEntry(
 | 
				
			||||||
      'Esperanto'), // https://github.com/aissat/easy_localization/issues/220#issuecomment-846035493
 | 
					    Locale('en', 'EO'),
 | 
				
			||||||
 | 
					    'Esperanto',
 | 
				
			||||||
 | 
					  ), // https://github.com/aissat/easy_localization/issues/220#issuecomment-846035493
 | 
				
			||||||
  MapEntry(Locale('in'), 'Bahasa Indonesia'),
 | 
					  MapEntry(Locale('in'), 'Bahasa Indonesia'),
 | 
				
			||||||
  MapEntry(Locale('ko'), '한국어'),
 | 
					  MapEntry(Locale('ko'), '한국어'),
 | 
				
			||||||
 | 
					  MapEntry(Locale('ca'), 'Català'),
 | 
				
			||||||
 | 
					  MapEntry(Locale('ar'), 'العربية'),
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
const fallbackLocale = Locale('en');
 | 
					const fallbackLocale = Locale('en');
 | 
				
			||||||
const localeDir = 'assets/translations';
 | 
					const localeDir = 'assets/translations';
 | 
				
			||||||
@@ -73,9 +78,11 @@ Future<void> loadTranslations() async {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
  await controller.loadTranslations();
 | 
					  await controller.loadTranslations();
 | 
				
			||||||
  Localization.load(controller.locale,
 | 
					  Localization.load(
 | 
				
			||||||
 | 
					    controller.locale,
 | 
				
			||||||
    translations: controller.translations,
 | 
					    translations: controller.translations,
 | 
				
			||||||
      fallbackTranslations: controller.fallbackTranslations);
 | 
					    fallbackTranslations: controller.fallbackTranslations,
 | 
				
			||||||
 | 
					  );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@pragma('vm:entry-point')
 | 
					@pragma('vm:entry-point')
 | 
				
			||||||
@@ -94,10 +101,12 @@ void backgroundFetchHeadlessTask(HeadlessTask task) async {
 | 
				
			|||||||
void main() async {
 | 
					void main() async {
 | 
				
			||||||
  WidgetsFlutterBinding.ensureInitialized();
 | 
					  WidgetsFlutterBinding.ensureInitialized();
 | 
				
			||||||
  try {
 | 
					  try {
 | 
				
			||||||
    ByteData data =
 | 
					    ByteData data = await PlatformAssetBundle().load(
 | 
				
			||||||
        await PlatformAssetBundle().load('assets/ca/lets-encrypt-r3.pem');
 | 
					      'assets/ca/lets-encrypt-r3.pem',
 | 
				
			||||||
    SecurityContext.defaultContext
 | 
					    );
 | 
				
			||||||
        .setTrustedCertificatesBytes(data.buffer.asUint8List());
 | 
					    SecurityContext.defaultContext.setTrustedCertificatesBytes(
 | 
				
			||||||
 | 
					      data.buffer.asUint8List(),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  } catch (e) {
 | 
					  } catch (e) {
 | 
				
			||||||
    // Already added, do nothing (see #375)
 | 
					    // Already added, do nothing (see #375)
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
@@ -108,20 +117,25 @@ void main() async {
 | 
				
			|||||||
    );
 | 
					    );
 | 
				
			||||||
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
 | 
					    SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  runApp(MultiProvider(
 | 
					  final np = NotificationsProvider();
 | 
				
			||||||
 | 
					  await np.initialize();
 | 
				
			||||||
 | 
					  runApp(
 | 
				
			||||||
 | 
					    MultiProvider(
 | 
				
			||||||
      providers: [
 | 
					      providers: [
 | 
				
			||||||
        ChangeNotifierProvider(create: (context) => AppsProvider()),
 | 
					        ChangeNotifierProvider(create: (context) => AppsProvider()),
 | 
				
			||||||
        ChangeNotifierProvider(create: (context) => SettingsProvider()),
 | 
					        ChangeNotifierProvider(create: (context) => SettingsProvider()),
 | 
				
			||||||
      Provider(create: (context) => NotificationsProvider()),
 | 
					        Provider(create: (context) => np),
 | 
				
			||||||
      Provider(create: (context) => LogsProvider())
 | 
					        Provider(create: (context) => LogsProvider()),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      child: EasyLocalization(
 | 
					      child: EasyLocalization(
 | 
				
			||||||
        supportedLocales: supportedLocales.map((e) => e.key).toList(),
 | 
					        supportedLocales: supportedLocales.map((e) => e.key).toList(),
 | 
				
			||||||
        path: localeDir,
 | 
					        path: localeDir,
 | 
				
			||||||
        fallbackLocale: fallbackLocale,
 | 
					        fallbackLocale: fallbackLocale,
 | 
				
			||||||
        useOnlyLangCode: false,
 | 
					        useOnlyLangCode: false,
 | 
				
			||||||
        child: const Obtainium()),
 | 
					        child: const Obtainium(),
 | 
				
			||||||
  ));
 | 
					      ),
 | 
				
			||||||
 | 
					    ),
 | 
				
			||||||
 | 
					  );
 | 
				
			||||||
  BackgroundFetch.registerHeadlessTask(backgroundFetchHeadlessTask);
 | 
					  BackgroundFetch.registerHeadlessTask(backgroundFetchHeadlessTask);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -152,13 +166,17 @@ class _ObtainiumState extends State<Obtainium> {
 | 
				
			|||||||
        requiresCharging: false,
 | 
					        requiresCharging: false,
 | 
				
			||||||
        requiresStorageNotLow: false,
 | 
					        requiresStorageNotLow: false,
 | 
				
			||||||
        requiresDeviceIdle: false,
 | 
					        requiresDeviceIdle: false,
 | 
				
			||||||
            requiredNetworkType: NetworkType.ANY), (String taskId) async {
 | 
					        requiredNetworkType: NetworkType.ANY,
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
 | 
					      (String taskId) async {
 | 
				
			||||||
        await bgUpdateCheck(taskId, null);
 | 
					        await bgUpdateCheck(taskId, null);
 | 
				
			||||||
        BackgroundFetch.finish(taskId);
 | 
					        BackgroundFetch.finish(taskId);
 | 
				
			||||||
    }, (String taskId) async {
 | 
					      },
 | 
				
			||||||
 | 
					      (String taskId) async {
 | 
				
			||||||
        context.read<LogsProvider>().add('BG update task timed out.');
 | 
					        context.read<LogsProvider>().add('BG update task timed out.');
 | 
				
			||||||
        BackgroundFetch.finish(taskId);
 | 
					        BackgroundFetch.finish(taskId);
 | 
				
			||||||
    });
 | 
					      },
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (!mounted) return;
 | 
					    if (!mounted) return;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -167,6 +185,7 @@ class _ObtainiumState extends State<Obtainium> {
 | 
				
			|||||||
    SettingsProvider settingsProvider = context.watch<SettingsProvider>();
 | 
					    SettingsProvider settingsProvider = context.watch<SettingsProvider>();
 | 
				
			||||||
    AppsProvider appsProvider = context.read<AppsProvider>();
 | 
					    AppsProvider appsProvider = context.read<AppsProvider>();
 | 
				
			||||||
    LogsProvider logs = context.read<LogsProvider>();
 | 
					    LogsProvider logs = context.read<LogsProvider>();
 | 
				
			||||||
 | 
					    NotificationsProvider notifs = context.read<NotificationsProvider>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (settingsProvider.prefs == null) {
 | 
					    if (settingsProvider.prefs == null) {
 | 
				
			||||||
      settingsProvider.initializeSettings();
 | 
					      settingsProvider.initializeSettings();
 | 
				
			||||||
@@ -177,7 +196,8 @@ class _ObtainiumState extends State<Obtainium> {
 | 
				
			|||||||
        // If this is the first run, ask for notification permissions and add Obtainium to the Apps list
 | 
					        // If this is the first run, ask for notification permissions and add Obtainium to the Apps list
 | 
				
			||||||
        Permission.notification.request();
 | 
					        Permission.notification.request();
 | 
				
			||||||
        if (!fdroid) {
 | 
					        if (!fdroid) {
 | 
				
			||||||
          getInstalledInfo(obtainiumId).then((value) {
 | 
					          getInstalledInfo(obtainiumId)
 | 
				
			||||||
 | 
					              .then((value) {
 | 
				
			||||||
                if (value?.versionName != null) {
 | 
					                if (value?.versionName != null) {
 | 
				
			||||||
                  appsProvider.saveApps([
 | 
					                  appsProvider.saveApps([
 | 
				
			||||||
                    App(
 | 
					                    App(
 | 
				
			||||||
@@ -192,13 +212,15 @@ class _ObtainiumState extends State<Obtainium> {
 | 
				
			|||||||
                      {
 | 
					                      {
 | 
				
			||||||
                        'versionDetection': true,
 | 
					                        'versionDetection': true,
 | 
				
			||||||
                        'apkFilterRegEx': 'fdroid',
 | 
					                        'apkFilterRegEx': 'fdroid',
 | 
				
			||||||
                      'invertAPKFilter': true
 | 
					                        'invertAPKFilter': true,
 | 
				
			||||||
                      },
 | 
					                      },
 | 
				
			||||||
                      null,
 | 
					                      null,
 | 
				
			||||||
                    false)
 | 
					                      false,
 | 
				
			||||||
 | 
					                    ),
 | 
				
			||||||
                  ], onlyIfExists: false);
 | 
					                  ], onlyIfExists: false);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
          }).catchError((err) {
 | 
					              })
 | 
				
			||||||
 | 
					              .catchError((err) {
 | 
				
			||||||
                print(err);
 | 
					                print(err);
 | 
				
			||||||
              });
 | 
					              });
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -210,6 +232,10 @@ class _ObtainiumState extends State<Obtainium> {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    WidgetsBinding.instance.addPostFrameCallback((_) {
 | 
				
			||||||
 | 
					      notifs.checkLaunchByNotif();
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return DynamicColorBuilder(
 | 
					    return DynamicColorBuilder(
 | 
				
			||||||
      builder: (ColorScheme? lightDynamic, ColorScheme? darkDynamic) {
 | 
					      builder: (ColorScheme? lightDynamic, ColorScheme? darkDynamic) {
 | 
				
			||||||
        // Decide on a colour/brightness scheme based on OS and user settings
 | 
					        // Decide on a colour/brightness scheme based on OS and user settings
 | 
				
			||||||
@@ -221,17 +247,20 @@ class _ObtainiumState extends State<Obtainium> {
 | 
				
			|||||||
          lightColorScheme = lightDynamic.harmonized();
 | 
					          lightColorScheme = lightDynamic.harmonized();
 | 
				
			||||||
          darkColorScheme = darkDynamic.harmonized();
 | 
					          darkColorScheme = darkDynamic.harmonized();
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
        lightColorScheme =
 | 
					          lightColorScheme = ColorScheme.fromSeed(
 | 
				
			||||||
            ColorScheme.fromSeed(seedColor: settingsProvider.themeColor);
 | 
					            seedColor: settingsProvider.themeColor,
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
          darkColorScheme = ColorScheme.fromSeed(
 | 
					          darkColorScheme = ColorScheme.fromSeed(
 | 
				
			||||||
            seedColor: settingsProvider.themeColor,
 | 
					            seedColor: settingsProvider.themeColor,
 | 
				
			||||||
            brightness: Brightness.dark);
 | 
					            brightness: Brightness.dark,
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // set the background and surface colors to pure black in the amoled theme
 | 
					        // set the background and surface colors to pure black in the amoled theme
 | 
				
			||||||
        if (settingsProvider.useBlackTheme) {
 | 
					        if (settingsProvider.useBlackTheme) {
 | 
				
			||||||
        darkColorScheme =
 | 
					          darkColorScheme = darkColorScheme
 | 
				
			||||||
            darkColorScheme.copyWith(surface: Colors.black).harmonized();
 | 
					              .copyWith(surface: Colors.black)
 | 
				
			||||||
 | 
					              .harmonized();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (settingsProvider.useSystemFont) NativeFeatures.loadSystemFont();
 | 
					        if (settingsProvider.useSystemFont) NativeFeatures.loadSystemFont();
 | 
				
			||||||
@@ -248,18 +277,27 @@ class _ObtainiumState extends State<Obtainium> {
 | 
				
			|||||||
            colorScheme: settingsProvider.theme == ThemeSettings.dark
 | 
					            colorScheme: settingsProvider.theme == ThemeSettings.dark
 | 
				
			||||||
                ? darkColorScheme
 | 
					                ? darkColorScheme
 | 
				
			||||||
                : lightColorScheme,
 | 
					                : lightColorScheme,
 | 
				
			||||||
              fontFamily:
 | 
					            fontFamily: settingsProvider.useSystemFont
 | 
				
			||||||
                  settingsProvider.useSystemFont ? 'SystemFont' : 'Montserrat'),
 | 
					                ? 'SystemFont'
 | 
				
			||||||
 | 
					                : 'Montserrat',
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
          darkTheme: ThemeData(
 | 
					          darkTheme: ThemeData(
 | 
				
			||||||
            useMaterial3: true,
 | 
					            useMaterial3: true,
 | 
				
			||||||
            colorScheme: settingsProvider.theme == ThemeSettings.light
 | 
					            colorScheme: settingsProvider.theme == ThemeSettings.light
 | 
				
			||||||
                ? lightColorScheme
 | 
					                ? lightColorScheme
 | 
				
			||||||
                : darkColorScheme,
 | 
					                : darkColorScheme,
 | 
				
			||||||
              fontFamily:
 | 
					            fontFamily: settingsProvider.useSystemFont
 | 
				
			||||||
                  settingsProvider.useSystemFont ? 'SystemFont' : 'Montserrat'),
 | 
					                ? 'SystemFont'
 | 
				
			||||||
          home: Shortcuts(shortcuts: <LogicalKeySet, Intent>{
 | 
					                : 'Montserrat',
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
 | 
					          home: Shortcuts(
 | 
				
			||||||
 | 
					            shortcuts: <LogicalKeySet, Intent>{
 | 
				
			||||||
              LogicalKeySet(LogicalKeyboardKey.select): const ActivateIntent(),
 | 
					              LogicalKeySet(LogicalKeyboardKey.select): const ActivateIntent(),
 | 
				
			||||||
          }, child: const HomePage()));
 | 
					            },
 | 
				
			||||||
    });
 | 
					            child: const HomePage(),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,11 +14,15 @@ class GitHubStars implements MassAppUrlSource {
 | 
				
			|||||||
  late List<String> requiredArgs = [tr('uname')];
 | 
					  late List<String> requiredArgs = [tr('uname')];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Future<Map<String, List<String>>> getOnePageOfUserStarredUrlsWithDescriptions(
 | 
					  Future<Map<String, List<String>>> getOnePageOfUserStarredUrlsWithDescriptions(
 | 
				
			||||||
      String username, int page) async {
 | 
					    String username,
 | 
				
			||||||
 | 
					    int page,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    Response res = await get(
 | 
					    Response res = await get(
 | 
				
			||||||
      Uri.parse(
 | 
					      Uri.parse(
 | 
				
			||||||
            'https://api.github.com/users/$username/starred?per_page=100&page=$page'),
 | 
					        'https://api.github.com/users/$username/starred?per_page=100&page=$page',
 | 
				
			||||||
        headers: await GitHub().getRequestHeaders({}));
 | 
					      ),
 | 
				
			||||||
 | 
					      headers: await GitHub().getRequestHeaders({}),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
    if (res.statusCode == 200) {
 | 
					    if (res.statusCode == 200) {
 | 
				
			||||||
      Map<String, List<String>> urlsWithDescriptions = {};
 | 
					      Map<String, List<String>> urlsWithDescriptions = {};
 | 
				
			||||||
      for (var e in (jsonDecode(res.body) as List<dynamic>)) {
 | 
					      for (var e in (jsonDecode(res.body) as List<dynamic>)) {
 | 
				
			||||||
@@ -27,8 +31,8 @@ class GitHubStars implements MassAppUrlSource {
 | 
				
			|||||||
            e['full_name'] as String,
 | 
					            e['full_name'] as String,
 | 
				
			||||||
            e['description'] != null
 | 
					            e['description'] != null
 | 
				
			||||||
                ? e['description'] as String
 | 
					                ? e['description'] as String
 | 
				
			||||||
                : tr('noDescription')
 | 
					                : tr('noDescription'),
 | 
				
			||||||
          ]
 | 
					          ],
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      return urlsWithDescriptions;
 | 
					      return urlsWithDescriptions;
 | 
				
			||||||
@@ -41,15 +45,18 @@ class GitHubStars implements MassAppUrlSource {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Future<Map<String, List<String>>> getUrlsWithDescriptions(
 | 
					  Future<Map<String, List<String>>> getUrlsWithDescriptions(
 | 
				
			||||||
      List<String> args) async {
 | 
					    List<String> args,
 | 
				
			||||||
 | 
					  ) async {
 | 
				
			||||||
    if (args.length != requiredArgs.length) {
 | 
					    if (args.length != requiredArgs.length) {
 | 
				
			||||||
      throw ObtainiumError(tr('wrongArgNum'));
 | 
					      throw ObtainiumError(tr('wrongArgNum'));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    Map<String, List<String>> urlsWithDescriptions = {};
 | 
					    Map<String, List<String>> urlsWithDescriptions = {};
 | 
				
			||||||
    var page = 1;
 | 
					    var page = 1;
 | 
				
			||||||
    while (true) {
 | 
					    while (true) {
 | 
				
			||||||
      var pageUrls =
 | 
					      var pageUrls = await getOnePageOfUserStarredUrlsWithDescriptions(
 | 
				
			||||||
          await getOnePageOfUserStarredUrlsWithDescriptions(args[0], page++);
 | 
					        args[0],
 | 
				
			||||||
 | 
					        page++,
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
      urlsWithDescriptions.addAll(pageUrls);
 | 
					      urlsWithDescriptions.addAll(pageUrls);
 | 
				
			||||||
      if (pageUrls.length < 100) {
 | 
					      if (pageUrls.length < 100) {
 | 
				
			||||||
        break;
 | 
					        break;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,7 +39,7 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
  int urlInputKey = 0;
 | 
					  int urlInputKey = 0;
 | 
				
			||||||
  SourceProvider sourceProvider = SourceProvider();
 | 
					  SourceProvider sourceProvider = SourceProvider();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  linkFn(String input) {
 | 
					  void linkFn(String input) {
 | 
				
			||||||
    try {
 | 
					    try {
 | 
				
			||||||
      if (input.isEmpty) {
 | 
					      if (input.isEmpty) {
 | 
				
			||||||
        throw UnsupportedURLError();
 | 
					        throw UnsupportedURLError();
 | 
				
			||||||
@@ -51,8 +51,13 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  changeUserInput(String input, bool valid, bool isBuilding,
 | 
					  void changeUserInput(
 | 
				
			||||||
      {bool updateUrlInput = false, String? overrideSource}) {
 | 
					    String input,
 | 
				
			||||||
 | 
					    bool valid,
 | 
				
			||||||
 | 
					    bool isBuilding, {
 | 
				
			||||||
 | 
					    bool updateUrlInput = false,
 | 
				
			||||||
 | 
					    String? overrideSource,
 | 
				
			||||||
 | 
					  }) {
 | 
				
			||||||
    userInput = input;
 | 
					    userInput = input;
 | 
				
			||||||
    if (!isBuilding) {
 | 
					    if (!isBuilding) {
 | 
				
			||||||
      setState(() {
 | 
					      setState(() {
 | 
				
			||||||
@@ -69,8 +74,10 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
            ? pickedSource?.hosts[0]
 | 
					            ? pickedSource?.hosts[0]
 | 
				
			||||||
            : null;
 | 
					            : null;
 | 
				
			||||||
        var source = valid
 | 
					        var source = valid
 | 
				
			||||||
            ? sourceProvider.getSource(userInput,
 | 
					            ? sourceProvider.getSource(
 | 
				
			||||||
                overrideSource: pickedSourceOverride)
 | 
					                userInput,
 | 
				
			||||||
 | 
					                overrideSource: pickedSourceOverride,
 | 
				
			||||||
 | 
					              )
 | 
				
			||||||
            : null;
 | 
					            : null;
 | 
				
			||||||
        if (pickedSource.runtimeType != source.runtimeType ||
 | 
					        if (pickedSource.runtimeType != source.runtimeType ||
 | 
				
			||||||
            overrideChanged ||
 | 
					            overrideChanged ||
 | 
				
			||||||
@@ -79,7 +86,8 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
          pickedSource?.runOnAddAppInputChange(userInput);
 | 
					          pickedSource?.runOnAddAppInputChange(userInput);
 | 
				
			||||||
          additionalSettings = source != null
 | 
					          additionalSettings = source != null
 | 
				
			||||||
              ? getDefaultValuesFromFormItems(
 | 
					              ? getDefaultValuesFromFormItems(
 | 
				
			||||||
                  source.combinedAppSpecificSettingFormItems)
 | 
					                  source.combinedAppSpecificSettingFormItems,
 | 
				
			||||||
 | 
					                )
 | 
				
			||||||
              : {};
 | 
					              : {};
 | 
				
			||||||
          additionalSettingsValid = source != null
 | 
					          additionalSettingsValid = source != null
 | 
				
			||||||
              ? !sourceProvider.ifRequiredAppSpecificSettingsExist(source)
 | 
					              ? !sourceProvider.ifRequiredAppSpecificSettingsExist(source)
 | 
				
			||||||
@@ -94,13 +102,15 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
  Widget build(BuildContext context) {
 | 
					  Widget build(BuildContext context) {
 | 
				
			||||||
    AppsProvider appsProvider = context.read<AppsProvider>();
 | 
					    AppsProvider appsProvider = context.read<AppsProvider>();
 | 
				
			||||||
    SettingsProvider settingsProvider = context.watch<SettingsProvider>();
 | 
					    SettingsProvider settingsProvider = context.watch<SettingsProvider>();
 | 
				
			||||||
    NotificationsProvider notificationsProvider =
 | 
					    NotificationsProvider notificationsProvider = context
 | 
				
			||||||
        context.read<NotificationsProvider>();
 | 
					        .read<NotificationsProvider>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    bool doingSomething = gettingAppInfo || searching;
 | 
					    bool doingSomething = gettingAppInfo || searching;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Future<bool> getTrackOnlyConfirmationIfNeeded(bool userPickedTrackOnly,
 | 
					    Future<bool> getTrackOnlyConfirmationIfNeeded(
 | 
				
			||||||
        {bool ignoreHideSetting = false}) async {
 | 
					      bool userPickedTrackOnly, {
 | 
				
			||||||
 | 
					      bool ignoreHideSetting = false,
 | 
				
			||||||
 | 
					    }) async {
 | 
				
			||||||
      var useTrackOnly = userPickedTrackOnly || pickedSource!.enforceTrackOnly;
 | 
					      var useTrackOnly = userPickedTrackOnly || pickedSource!.enforceTrackOnly;
 | 
				
			||||||
      if (useTrackOnly &&
 | 
					      if (useTrackOnly &&
 | 
				
			||||||
          (!settingsProvider.hideTrackOnlyWarning || ignoreHideSetting)) {
 | 
					          (!settingsProvider.hideTrackOnlyWarning || ignoreHideSetting)) {
 | 
				
			||||||
@@ -110,16 +120,20 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
          builder: (BuildContext ctx) {
 | 
					          builder: (BuildContext ctx) {
 | 
				
			||||||
            return GeneratedFormModal(
 | 
					            return GeneratedFormModal(
 | 
				
			||||||
              initValid: true,
 | 
					              initValid: true,
 | 
				
			||||||
                title: tr('xIsTrackOnly', args: [
 | 
					              title: tr(
 | 
				
			||||||
                  pickedSource!.enforceTrackOnly ? tr('source') : tr('app')
 | 
					                'xIsTrackOnly',
 | 
				
			||||||
                ]),
 | 
					                args: [
 | 
				
			||||||
 | 
					                  pickedSource!.enforceTrackOnly ? tr('source') : tr('app'),
 | 
				
			||||||
 | 
					                ],
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
              items: [
 | 
					              items: [
 | 
				
			||||||
                  [GeneratedFormSwitch('hide', label: tr('dontShowAgain'))]
 | 
					                [GeneratedFormSwitch('hide', label: tr('dontShowAgain'))],
 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
              message:
 | 
					              message:
 | 
				
			||||||
                  '${pickedSource!.enforceTrackOnly ? tr('appsFromSourceAreTrackOnly') : tr('youPickedTrackOnly')}\n\n${tr('trackOnlyAppDescription')}',
 | 
					                  '${pickedSource!.enforceTrackOnly ? tr('appsFromSourceAreTrackOnly') : tr('youPickedTrackOnly')}\n\n${tr('trackOnlyAppDescription')}',
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
            });
 | 
					          },
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
        if (values != null) {
 | 
					        if (values != null) {
 | 
				
			||||||
          settingsProvider.hideTrackOnlyWarning = values['hide'] == true;
 | 
					          settingsProvider.hideTrackOnlyWarning = values['hide'] == true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -130,7 +144,8 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    getReleaseDateAsVersionConfirmationIfNeeded(
 | 
					    getReleaseDateAsVersionConfirmationIfNeeded(
 | 
				
			||||||
        bool userPickedTrackOnly) async {
 | 
					      bool userPickedTrackOnly,
 | 
				
			||||||
 | 
					    ) async {
 | 
				
			||||||
      return (!(additionalSettings['releaseDateAsVersion'] == true &&
 | 
					      return (!(additionalSettings['releaseDateAsVersion'] == true &&
 | 
				
			||||||
          // ignore: use_build_context_synchronously
 | 
					          // ignore: use_build_context_synchronously
 | 
				
			||||||
          await showDialog(
 | 
					          await showDialog(
 | 
				
			||||||
@@ -141,7 +156,8 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                    items: const [],
 | 
					                    items: const [],
 | 
				
			||||||
                    message: tr('releaseDateAsVersionExplanation'),
 | 
					                    message: tr('releaseDateAsVersionExplanation'),
 | 
				
			||||||
                  );
 | 
					                  );
 | 
				
			||||||
                  }) ==
 | 
					                },
 | 
				
			||||||
 | 
					              ) ==
 | 
				
			||||||
              null));
 | 
					              null));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -154,27 +170,38 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
        App? app;
 | 
					        App? app;
 | 
				
			||||||
        if ((await getTrackOnlyConfirmationIfNeeded(userPickedTrackOnly)) &&
 | 
					        if ((await getTrackOnlyConfirmationIfNeeded(userPickedTrackOnly)) &&
 | 
				
			||||||
            (await getReleaseDateAsVersionConfirmationIfNeeded(
 | 
					            (await getReleaseDateAsVersionConfirmationIfNeeded(
 | 
				
			||||||
                userPickedTrackOnly))) {
 | 
					              userPickedTrackOnly,
 | 
				
			||||||
 | 
					            ))) {
 | 
				
			||||||
          var trackOnly = pickedSource!.enforceTrackOnly || userPickedTrackOnly;
 | 
					          var trackOnly = pickedSource!.enforceTrackOnly || userPickedTrackOnly;
 | 
				
			||||||
          app = await sourceProvider.getApp(
 | 
					          app = await sourceProvider.getApp(
 | 
				
			||||||
              pickedSource!, userInput.trim(), additionalSettings,
 | 
					            pickedSource!,
 | 
				
			||||||
 | 
					            userInput.trim(),
 | 
				
			||||||
 | 
					            additionalSettings,
 | 
				
			||||||
            trackOnlyOverride: trackOnly,
 | 
					            trackOnlyOverride: trackOnly,
 | 
				
			||||||
            sourceIsOverriden: pickedSourceOverride != null,
 | 
					            sourceIsOverriden: pickedSourceOverride != null,
 | 
				
			||||||
              inferAppIdIfOptional: inferAppIdIfOptional);
 | 
					            inferAppIdIfOptional: inferAppIdIfOptional,
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
          // Only download the APK here if you need to for the package ID
 | 
					          // Only download the APK here if you need to for the package ID
 | 
				
			||||||
          if (isTempId(app) && app.additionalSettings['trackOnly'] != true) {
 | 
					          if (isTempId(app) && app.additionalSettings['trackOnly'] != true) {
 | 
				
			||||||
            // ignore: use_build_context_synchronously
 | 
					            // ignore: use_build_context_synchronously
 | 
				
			||||||
            var apkUrl =
 | 
					            var apkUrl = await appsProvider.confirmAppFileUrl(
 | 
				
			||||||
                await appsProvider.confirmAppFileUrl(app, context, false);
 | 
					              app,
 | 
				
			||||||
 | 
					              context,
 | 
				
			||||||
 | 
					              false,
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
            if (apkUrl == null) {
 | 
					            if (apkUrl == null) {
 | 
				
			||||||
              throw ObtainiumError(tr('cancelled'));
 | 
					              throw ObtainiumError(tr('cancelled'));
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            app.preferredApkIndex =
 | 
					            app.preferredApkIndex = app.apkUrls
 | 
				
			||||||
                app.apkUrls.map((e) => e.value).toList().indexOf(apkUrl.value);
 | 
					                .map((e) => e.value)
 | 
				
			||||||
 | 
					                .toList()
 | 
				
			||||||
 | 
					                .indexOf(apkUrl.value);
 | 
				
			||||||
            // ignore: use_build_context_synchronously
 | 
					            // ignore: use_build_context_synchronously
 | 
				
			||||||
            var downloadedArtifact = await appsProvider.downloadApp(
 | 
					            var downloadedArtifact = await appsProvider.downloadApp(
 | 
				
			||||||
                app, globalNavigatorKey.currentContext,
 | 
					              app,
 | 
				
			||||||
                notificationsProvider: notificationsProvider);
 | 
					              globalNavigatorKey.currentContext,
 | 
				
			||||||
 | 
					              notificationsProvider: notificationsProvider,
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
            DownloadedApk? downloadedFile;
 | 
					            DownloadedApk? downloadedFile;
 | 
				
			||||||
            DownloadedXApkDir? downloadedDir;
 | 
					            DownloadedXApkDir? downloadedDir;
 | 
				
			||||||
            if (downloadedArtifact is DownloadedApk) {
 | 
					            if (downloadedArtifact is DownloadedApk) {
 | 
				
			||||||
@@ -195,8 +222,10 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
          await appsProvider.saveApps([app], onlyIfExists: false);
 | 
					          await appsProvider.saveApps([app], onlyIfExists: false);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (app != null) {
 | 
					        if (app != null) {
 | 
				
			||||||
          Navigator.push(globalNavigatorKey.currentContext ?? context,
 | 
					          Navigator.push(
 | 
				
			||||||
              MaterialPageRoute(builder: (context) => AppPage(appId: app!.id)));
 | 
					            globalNavigatorKey.currentContext ?? context,
 | 
				
			||||||
 | 
					            MaterialPageRoute(builder: (context) => AppPage(appId: app!.id)),
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      } catch (e) {
 | 
					      } catch (e) {
 | 
				
			||||||
        showError(e, context);
 | 
					        showError(e, context);
 | 
				
			||||||
@@ -217,15 +246,18 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
            key: Key(urlInputKey.toString()),
 | 
					            key: Key(urlInputKey.toString()),
 | 
				
			||||||
            items: [
 | 
					            items: [
 | 
				
			||||||
              [
 | 
					              [
 | 
				
			||||||
                        GeneratedFormTextField('appSourceURL',
 | 
					                GeneratedFormTextField(
 | 
				
			||||||
 | 
					                  'appSourceURL',
 | 
				
			||||||
                  label: tr('appSourceURL'),
 | 
					                  label: tr('appSourceURL'),
 | 
				
			||||||
                  defaultValue: userInput,
 | 
					                  defaultValue: userInput,
 | 
				
			||||||
                  additionalValidators: [
 | 
					                  additionalValidators: [
 | 
				
			||||||
                    (value) {
 | 
					                    (value) {
 | 
				
			||||||
                      try {
 | 
					                      try {
 | 
				
			||||||
                        sourceProvider
 | 
					                        sourceProvider
 | 
				
			||||||
                                      .getSource(value ?? '',
 | 
					                            .getSource(
 | 
				
			||||||
                                          overrideSource: pickedSourceOverride)
 | 
					                              value ?? '',
 | 
				
			||||||
 | 
					                              overrideSource: pickedSourceOverride,
 | 
				
			||||||
 | 
					                            )
 | 
				
			||||||
                            .standardizeUrl(value ?? '');
 | 
					                            .standardizeUrl(value ?? '');
 | 
				
			||||||
                      } catch (e) {
 | 
					                      } catch (e) {
 | 
				
			||||||
                        return e is String
 | 
					                        return e is String
 | 
				
			||||||
@@ -235,23 +267,25 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                            : tr('error');
 | 
					                            : tr('error');
 | 
				
			||||||
                      }
 | 
					                      }
 | 
				
			||||||
                      return null;
 | 
					                      return null;
 | 
				
			||||||
                              }
 | 
					                    },
 | 
				
			||||||
                            ])
 | 
					                  ],
 | 
				
			||||||
                      ]
 | 
					                ),
 | 
				
			||||||
 | 
					              ],
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            onValueChanges: (values, valid, isBuilding) {
 | 
					            onValueChanges: (values, valid, isBuilding) {
 | 
				
			||||||
                      changeUserInput(
 | 
					              changeUserInput(values['appSourceURL']!, valid, isBuilding);
 | 
				
			||||||
                          values['appSourceURL']!, valid, isBuilding);
 | 
					            },
 | 
				
			||||||
                    })),
 | 
					 | 
				
			||||||
            const SizedBox(
 | 
					 | 
				
			||||||
              width: 16,
 | 
					 | 
				
			||||||
          ),
 | 
					          ),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					        const SizedBox(width: 16),
 | 
				
			||||||
        gettingAppInfo
 | 
					        gettingAppInfo
 | 
				
			||||||
            ? const CircularProgressIndicator()
 | 
					            ? const CircularProgressIndicator()
 | 
				
			||||||
            : ElevatedButton(
 | 
					            : ElevatedButton(
 | 
				
			||||||
                    onPressed: doingSomething ||
 | 
					                onPressed:
 | 
				
			||||||
 | 
					                    doingSomething ||
 | 
				
			||||||
                        pickedSource == null ||
 | 
					                        pickedSource == null ||
 | 
				
			||||||
                            (pickedSource!.combinedAppSpecificSettingFormItems
 | 
					                        (pickedSource!
 | 
				
			||||||
 | 
					                                .combinedAppSpecificSettingFormItems
 | 
				
			||||||
                                .isNotEmpty &&
 | 
					                                .isNotEmpty &&
 | 
				
			||||||
                            !additionalSettingsValid)
 | 
					                            !additionalSettingsValid)
 | 
				
			||||||
                    ? null
 | 
					                    ? null
 | 
				
			||||||
@@ -259,7 +293,8 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                        HapticFeedback.selectionClick();
 | 
					                        HapticFeedback.selectionClick();
 | 
				
			||||||
                        addApp();
 | 
					                        addApp();
 | 
				
			||||||
                      },
 | 
					                      },
 | 
				
			||||||
                    child: Text(tr('add')))
 | 
					                child: Text(tr('add')),
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -272,7 +307,8 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
        sourceStrings[s.name] = [s.name];
 | 
					        sourceStrings[s.name] = [s.name];
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
      try {
 | 
					      try {
 | 
				
			||||||
        var searchSources = await showDialog<List<String>?>(
 | 
					        var searchSources =
 | 
				
			||||||
 | 
					            await showDialog<List<String>?>(
 | 
				
			||||||
              context: context,
 | 
					              context: context,
 | 
				
			||||||
              builder: (BuildContext ctx) {
 | 
					              builder: (BuildContext ctx) {
 | 
				
			||||||
                return SelectionModal(
 | 
					                return SelectionModal(
 | 
				
			||||||
@@ -283,14 +319,16 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                  titlesAreLinks: false,
 | 
					                  titlesAreLinks: false,
 | 
				
			||||||
                  deselectThese: settingsProvider.searchDeselected,
 | 
					                  deselectThese: settingsProvider.searchDeselected,
 | 
				
			||||||
                );
 | 
					                );
 | 
				
			||||||
                }) ??
 | 
					              },
 | 
				
			||||||
 | 
					            ) ??
 | 
				
			||||||
            [];
 | 
					            [];
 | 
				
			||||||
        if (searchSources.isNotEmpty) {
 | 
					        if (searchSources.isNotEmpty) {
 | 
				
			||||||
          settingsProvider.searchDeselected = sourceStrings.keys
 | 
					          settingsProvider.searchDeselected = sourceStrings.keys
 | 
				
			||||||
              .where((s) => !searchSources.contains(s))
 | 
					              .where((s) => !searchSources.contains(s))
 | 
				
			||||||
              .toList();
 | 
					              .toList();
 | 
				
			||||||
          List<MapEntry<String, Map<String, List<String>>>?> results =
 | 
					          List<MapEntry<String, Map<String, List<String>>>?>
 | 
				
			||||||
              (await Future.wait(sourceProvider.sources
 | 
					          results = (await Future.wait(
 | 
				
			||||||
 | 
					            sourceProvider.sources
 | 
				
			||||||
                .where((e) => searchSources.contains(e.name))
 | 
					                .where((e) => searchSources.contains(e.name))
 | 
				
			||||||
                .map((e) async {
 | 
					                .map((e) async {
 | 
				
			||||||
                  try {
 | 
					                  try {
 | 
				
			||||||
@@ -304,38 +342,48 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                            items: [
 | 
					                            items: [
 | 
				
			||||||
                              ...e.searchQuerySettingFormItems.map((e) => [e]),
 | 
					                              ...e.searchQuerySettingFormItems.map((e) => [e]),
 | 
				
			||||||
                              [
 | 
					                              [
 | 
				
			||||||
                            GeneratedFormTextField('url',
 | 
					                                GeneratedFormTextField(
 | 
				
			||||||
 | 
					                                  'url',
 | 
				
			||||||
                                  label: e.hosts.isNotEmpty
 | 
					                                  label: e.hosts.isNotEmpty
 | 
				
			||||||
                                      ? tr('overrideSource')
 | 
					                                      ? tr('overrideSource')
 | 
				
			||||||
                                      : plural('url', 1).substring(2),
 | 
					                                      : plural('url', 1).substring(2),
 | 
				
			||||||
                                  autoCompleteOptions: [
 | 
					                                  autoCompleteOptions: [
 | 
				
			||||||
                                    ...(e.hosts.isNotEmpty ? [e.hosts[0]] : []),
 | 
					                                    ...(e.hosts.isNotEmpty ? [e.hosts[0]] : []),
 | 
				
			||||||
                                    ...appsProvider.apps.values
 | 
					                                    ...appsProvider.apps.values
 | 
				
			||||||
                                      .where((a) =>
 | 
					                                        .where(
 | 
				
			||||||
 | 
					                                          (a) =>
 | 
				
			||||||
                                              sourceProvider
 | 
					                                              sourceProvider
 | 
				
			||||||
                                              .getSource(a.app.url,
 | 
					                                                  .getSource(
 | 
				
			||||||
 | 
					                                                    a.app.url,
 | 
				
			||||||
                                                    overrideSource:
 | 
					                                                    overrideSource:
 | 
				
			||||||
                                                      a.app.overrideSource)
 | 
					                                                        a.app.overrideSource,
 | 
				
			||||||
 | 
					                                                  )
 | 
				
			||||||
                                                  .runtimeType ==
 | 
					                                                  .runtimeType ==
 | 
				
			||||||
                                          e.runtimeType)
 | 
					                                              e.runtimeType,
 | 
				
			||||||
 | 
					                                        )
 | 
				
			||||||
                                        .map((a) {
 | 
					                                        .map((a) {
 | 
				
			||||||
                                          var uri = Uri.parse(a.app.url);
 | 
					                                          var uri = Uri.parse(a.app.url);
 | 
				
			||||||
                                          return '${uri.origin}${uri.path}';
 | 
					                                          return '${uri.origin}${uri.path}';
 | 
				
			||||||
                                  })
 | 
					                                        }),
 | 
				
			||||||
                                  ],
 | 
					                                  ],
 | 
				
			||||||
                                defaultValue:
 | 
					                                  defaultValue: e.hosts.isNotEmpty
 | 
				
			||||||
                                    e.hosts.isNotEmpty ? e.hosts[0] : '',
 | 
					                                      ? e.hosts[0]
 | 
				
			||||||
                                required: true)
 | 
					                                      : '',
 | 
				
			||||||
 | 
					                                  required: true,
 | 
				
			||||||
 | 
					                                ),
 | 
				
			||||||
                              ],
 | 
					                              ],
 | 
				
			||||||
                            ],
 | 
					                            ],
 | 
				
			||||||
                          );
 | 
					                          );
 | 
				
			||||||
                    });
 | 
					                        },
 | 
				
			||||||
 | 
					                      );
 | 
				
			||||||
                      if (querySettings == null) {
 | 
					                      if (querySettings == null) {
 | 
				
			||||||
                        return null;
 | 
					                        return null;
 | 
				
			||||||
                      }
 | 
					                      }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
              return MapEntry(e.runtimeType.toString(),
 | 
					                    return MapEntry(
 | 
				
			||||||
                  await e.search(searchQuery, querySettings: querySettings));
 | 
					                      e.runtimeType.toString(),
 | 
				
			||||||
 | 
					                      await e.search(searchQuery, querySettings: querySettings),
 | 
				
			||||||
 | 
					                    );
 | 
				
			||||||
                  } catch (err) {
 | 
					                  } catch (err) {
 | 
				
			||||||
                    if (err is! CredsNeededError) {
 | 
					                    if (err is! CredsNeededError) {
 | 
				
			||||||
                      rethrow;
 | 
					                      rethrow;
 | 
				
			||||||
@@ -345,9 +393,8 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                      return null;
 | 
					                      return null;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                  }
 | 
					                  }
 | 
				
			||||||
          })))
 | 
					                }),
 | 
				
			||||||
                  .where((a) => a != null)
 | 
					          )).where((a) => a != null).toList();
 | 
				
			||||||
                  .toList();
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
          // Interleave results instead of simple reduce
 | 
					          // Interleave results instead of simple reduce
 | 
				
			||||||
          Map<String, MapEntry<String, List<String>>> res = {};
 | 
					          Map<String, MapEntry<String, List<String>>> res = {};
 | 
				
			||||||
@@ -379,11 +426,17 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                      selectedByDefault: false,
 | 
					                      selectedByDefault: false,
 | 
				
			||||||
                      onlyOneSelectionAllowed: true,
 | 
					                      onlyOneSelectionAllowed: true,
 | 
				
			||||||
                    );
 | 
					                    );
 | 
				
			||||||
                  });
 | 
					                  },
 | 
				
			||||||
 | 
					                );
 | 
				
			||||||
          if (selectedUrls != null && selectedUrls.isNotEmpty) {
 | 
					          if (selectedUrls != null && selectedUrls.isNotEmpty) {
 | 
				
			||||||
            var sourceName = res[selectedUrls[0]]?.key;
 | 
					            var sourceName = res[selectedUrls[0]]?.key;
 | 
				
			||||||
            changeUserInput(selectedUrls[0], true, false,
 | 
					            changeUserInput(
 | 
				
			||||||
                updateUrlInput: true, overrideSource: sourceName);
 | 
					              selectedUrls[0],
 | 
				
			||||||
 | 
					              true,
 | 
				
			||||||
 | 
					              false,
 | 
				
			||||||
 | 
					              updateUrlInput: true,
 | 
				
			||||||
 | 
					              overrideSource: sourceName,
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      } catch (e) {
 | 
					      } catch (e) {
 | 
				
			||||||
@@ -395,7 +448,8 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Widget getHTMLSourceOverrideDropdown() => Column(children: [
 | 
					    Widget getHTMLSourceOverrideDropdown() => Column(
 | 
				
			||||||
 | 
					      children: [
 | 
				
			||||||
        Row(
 | 
					        Row(
 | 
				
			||||||
          children: [
 | 
					          children: [
 | 
				
			||||||
            Expanded(
 | 
					            Expanded(
 | 
				
			||||||
@@ -407,15 +461,26 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                      defaultValue: pickedSourceOverride ?? '',
 | 
					                      defaultValue: pickedSourceOverride ?? '',
 | 
				
			||||||
                      [
 | 
					                      [
 | 
				
			||||||
                        MapEntry('', tr('none')),
 | 
					                        MapEntry('', tr('none')),
 | 
				
			||||||
                          ...sourceProvider.sources.map(
 | 
					                        ...sourceProvider.sources
 | 
				
			||||||
                              (s) => MapEntry(s.runtimeType.toString(), s.name))
 | 
					                            .where(
 | 
				
			||||||
 | 
					                              (s) =>
 | 
				
			||||||
 | 
					                                  s.allowOverride ||
 | 
				
			||||||
 | 
					                                  (pickedSource != null &&
 | 
				
			||||||
 | 
					                                      pickedSource.runtimeType ==
 | 
				
			||||||
 | 
					                                          s.runtimeType),
 | 
				
			||||||
 | 
					                            )
 | 
				
			||||||
 | 
					                            .map(
 | 
				
			||||||
 | 
					                              (s) => MapEntry(s.runtimeType.toString(), s.name),
 | 
				
			||||||
 | 
					                            ),
 | 
				
			||||||
 | 
					                      ],
 | 
				
			||||||
 | 
					                      label: tr('overrideSource'),
 | 
				
			||||||
 | 
					                    ),
 | 
				
			||||||
                  ],
 | 
					                  ],
 | 
				
			||||||
                        label: tr('overrideSource'))
 | 
					 | 
				
			||||||
                  ]
 | 
					 | 
				
			||||||
                ],
 | 
					                ],
 | 
				
			||||||
                onValueChanges: (values, valid, isBuilding) {
 | 
					                onValueChanges: (values, valid, isBuilding) {
 | 
				
			||||||
                  fn() {
 | 
					                  fn() {
 | 
				
			||||||
                    pickedSourceOverride = (values['overrideSource'] == null ||
 | 
					                    pickedSourceOverride =
 | 
				
			||||||
 | 
					                        (values['overrideSource'] == null ||
 | 
				
			||||||
                            values['overrideSource'] == '')
 | 
					                            values['overrideSource'] == '')
 | 
				
			||||||
                        ? null
 | 
					                        ? null
 | 
				
			||||||
                        : values['overrideSource'];
 | 
					                        : values['overrideSource'];
 | 
				
			||||||
@@ -430,13 +495,13 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                  }
 | 
					                  }
 | 
				
			||||||
                  changeUserInput(userInput, valid, isBuilding);
 | 
					                  changeUserInput(userInput, valid, isBuilding);
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
              ))
 | 
					              ),
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
          const SizedBox(
 | 
					        const SizedBox(height: 16),
 | 
				
			||||||
            height: 16,
 | 
					      ],
 | 
				
			||||||
          )
 | 
					    );
 | 
				
			||||||
        ]);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    bool shouldShowSearchBar() =>
 | 
					    bool shouldShowSearchBar() =>
 | 
				
			||||||
        sourceProvider.sources.where((e) => e.canSearch).isNotEmpty &&
 | 
					        sourceProvider.sources.where((e) => e.canSearch).isNotEmpty &&
 | 
				
			||||||
@@ -449,9 +514,12 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
          child: GeneratedForm(
 | 
					          child: GeneratedForm(
 | 
				
			||||||
            items: [
 | 
					            items: [
 | 
				
			||||||
              [
 | 
					              [
 | 
				
			||||||
                      GeneratedFormTextField('searchSomeSources',
 | 
					                GeneratedFormTextField(
 | 
				
			||||||
                          label: tr('searchSomeSourcesLabel'), required: false),
 | 
					                  'searchSomeSources',
 | 
				
			||||||
                    ]
 | 
					                  label: tr('searchSomeSourcesLabel'),
 | 
				
			||||||
 | 
					                  required: false,
 | 
				
			||||||
 | 
					                ),
 | 
				
			||||||
 | 
					              ],
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            onValueChanges: (values, valid, isBuilding) {
 | 
					            onValueChanges: (values, valid, isBuilding) {
 | 
				
			||||||
              if (values.isNotEmpty && valid && !isBuilding) {
 | 
					              if (values.isNotEmpty && valid && !isBuilding) {
 | 
				
			||||||
@@ -459,11 +527,10 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                  searchQuery = values['searchSomeSources']!.trim();
 | 
					                  searchQuery = values['searchSomeSources']!.trim();
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
                  }),
 | 
					            },
 | 
				
			||||||
          ),
 | 
					          ),
 | 
				
			||||||
            const SizedBox(
 | 
					 | 
				
			||||||
              width: 16,
 | 
					 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
 | 
					        const SizedBox(width: 16),
 | 
				
			||||||
        searching
 | 
					        searching
 | 
				
			||||||
            ? const CircularProgressIndicator()
 | 
					            ? const CircularProgressIndicator()
 | 
				
			||||||
            : ElevatedButton(
 | 
					            : ElevatedButton(
 | 
				
			||||||
@@ -472,34 +539,32 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                    : () {
 | 
					                    : () {
 | 
				
			||||||
                        runSearch();
 | 
					                        runSearch();
 | 
				
			||||||
                      },
 | 
					                      },
 | 
				
			||||||
                    child: Text(tr('search')))
 | 
					                child: Text(tr('search')),
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Widget getAdditionalOptsCol() => Column(
 | 
					    Widget getAdditionalOptsCol() => Column(
 | 
				
			||||||
      crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
					      crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
				
			||||||
      children: [
 | 
					      children: [
 | 
				
			||||||
            const SizedBox(
 | 
					        const SizedBox(height: 16),
 | 
				
			||||||
              height: 16,
 | 
					 | 
				
			||||||
            ),
 | 
					 | 
				
			||||||
        Text(
 | 
					        Text(
 | 
				
			||||||
                tr('additionalOptsFor',
 | 
					          tr('additionalOptsFor', args: [pickedSource?.name ?? tr('source')]),
 | 
				
			||||||
                    args: [pickedSource?.name ?? tr('source')]),
 | 
					 | 
				
			||||||
          style: TextStyle(
 | 
					          style: TextStyle(
 | 
				
			||||||
            color: Theme.of(context).colorScheme.primary,
 | 
					            color: Theme.of(context).colorScheme.primary,
 | 
				
			||||||
                    fontWeight: FontWeight.bold)),
 | 
					            fontWeight: FontWeight.bold,
 | 
				
			||||||
            const SizedBox(
 | 
					 | 
				
			||||||
              height: 16,
 | 
					 | 
				
			||||||
          ),
 | 
					          ),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					        const SizedBox(height: 16),
 | 
				
			||||||
        GeneratedForm(
 | 
					        GeneratedForm(
 | 
				
			||||||
          key: Key(
 | 
					          key: Key(
 | 
				
			||||||
                    '${pickedSource.runtimeType.toString()}-${pickedSource?.hostChanged.toString()}-${pickedSource?.hostIdenticalDespiteAnyChange.toString()}'),
 | 
					            '${pickedSource.runtimeType.toString()}-${pickedSource?.hostChanged.toString()}-${pickedSource?.hostIdenticalDespiteAnyChange.toString()}',
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
          items: [
 | 
					          items: [
 | 
				
			||||||
            ...pickedSource!.combinedAppSpecificSettingFormItems,
 | 
					            ...pickedSource!.combinedAppSpecificSettingFormItems,
 | 
				
			||||||
            ...(pickedSourceOverride != null
 | 
					            ...(pickedSourceOverride != null
 | 
				
			||||||
                      ? pickedSource!.sourceConfigSettingFormItems
 | 
					                ? pickedSource!.sourceConfigSettingFormItems.map((e) => [e])
 | 
				
			||||||
                          .map((e) => [e])
 | 
					                : []),
 | 
				
			||||||
                      : [])
 | 
					 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
          onValueChanges: (values, valid, isBuilding) {
 | 
					          onValueChanges: (values, valid, isBuilding) {
 | 
				
			||||||
            if (!isBuilding) {
 | 
					            if (!isBuilding) {
 | 
				
			||||||
@@ -508,17 +573,17 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                additionalSettingsValid = valid;
 | 
					                additionalSettingsValid = valid;
 | 
				
			||||||
              });
 | 
					              });
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
                }),
 | 
					          },
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
        Column(
 | 
					        Column(
 | 
				
			||||||
          children: [
 | 
					          children: [
 | 
				
			||||||
                const SizedBox(
 | 
					            const SizedBox(height: 16),
 | 
				
			||||||
                  height: 16,
 | 
					 | 
				
			||||||
                ),
 | 
					 | 
				
			||||||
            CategoryEditorSelector(
 | 
					            CategoryEditorSelector(
 | 
				
			||||||
              alignment: WrapAlignment.start,
 | 
					              alignment: WrapAlignment.start,
 | 
				
			||||||
              onSelected: (categories) {
 | 
					              onSelected: (categories) {
 | 
				
			||||||
                pickedCategories = categories;
 | 
					                pickedCategories = categories;
 | 
				
			||||||
                    }),
 | 
					              },
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
        if (pickedSource != null && pickedSource!.appIdInferIsOptional)
 | 
					        if (pickedSource != null && pickedSource!.appIdInferIsOptional)
 | 
				
			||||||
@@ -526,10 +591,12 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
            key: const Key('inferAppIdIfOptional'),
 | 
					            key: const Key('inferAppIdIfOptional'),
 | 
				
			||||||
            items: [
 | 
					            items: [
 | 
				
			||||||
              [
 | 
					              [
 | 
				
			||||||
                      GeneratedFormSwitch('inferAppIdIfOptional',
 | 
					                GeneratedFormSwitch(
 | 
				
			||||||
 | 
					                  'inferAppIdIfOptional',
 | 
				
			||||||
                  label: tr('tryInferAppIdFromCode'),
 | 
					                  label: tr('tryInferAppIdFromCode'),
 | 
				
			||||||
                          defaultValue: inferAppIdIfOptional)
 | 
					                  defaultValue: inferAppIdIfOptional,
 | 
				
			||||||
                    ]
 | 
					                ),
 | 
				
			||||||
 | 
					              ],
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            onValueChanges: (values, valid, isBuilding) {
 | 
					            onValueChanges: (values, valid, isBuilding) {
 | 
				
			||||||
              if (!isBuilding) {
 | 
					              if (!isBuilding) {
 | 
				
			||||||
@@ -537,14 +604,17 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                  inferAppIdIfOptional = values['inferAppIdIfOptional'];
 | 
					                  inferAppIdIfOptional = values['inferAppIdIfOptional'];
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
                  }),
 | 
					            },
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
        if (pickedSource != null && pickedSource!.enforceTrackOnly)
 | 
					        if (pickedSource != null && pickedSource!.enforceTrackOnly)
 | 
				
			||||||
          GeneratedForm(
 | 
					          GeneratedForm(
 | 
				
			||||||
            key: Key(
 | 
					            key: Key(
 | 
				
			||||||
                      '${pickedSource.runtimeType.toString()}-${pickedSource?.hostChanged.toString()}-${pickedSource?.hostIdenticalDespiteAnyChange.toString()}-appId'),
 | 
					              '${pickedSource.runtimeType.toString()}-${pickedSource?.hostChanged.toString()}-${pickedSource?.hostIdenticalDespiteAnyChange.toString()}-appId',
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
            items: [
 | 
					            items: [
 | 
				
			||||||
              [
 | 
					              [
 | 
				
			||||||
                      GeneratedFormTextField('appId',
 | 
					                GeneratedFormTextField(
 | 
				
			||||||
 | 
					                  'appId',
 | 
				
			||||||
                  label: '${tr('appId')} - ${tr('custom')}',
 | 
					                  label: '${tr('appId')} - ${tr('custom')}',
 | 
				
			||||||
                  required: false,
 | 
					                  required: false,
 | 
				
			||||||
                  additionalValidators: [
 | 
					                  additionalValidators: [
 | 
				
			||||||
@@ -553,15 +623,16 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                        return null;
 | 
					                        return null;
 | 
				
			||||||
                      }
 | 
					                      }
 | 
				
			||||||
                      final isValid = RegExp(
 | 
					                      final isValid = RegExp(
 | 
				
			||||||
                                      r'^([A-Za-z]{1}[A-Za-z\d_]*\.)+[A-Za-z][A-Za-z\d_]*$')
 | 
					                        r'^([A-Za-z]{1}[A-Za-z\d_]*\.)+[A-Za-z][A-Za-z\d_]*$',
 | 
				
			||||||
                                  .hasMatch(value);
 | 
					                      ).hasMatch(value);
 | 
				
			||||||
                      if (!isValid) {
 | 
					                      if (!isValid) {
 | 
				
			||||||
                        return tr('invalidInput');
 | 
					                        return tr('invalidInput');
 | 
				
			||||||
                      }
 | 
					                      }
 | 
				
			||||||
                      return null;
 | 
					                      return null;
 | 
				
			||||||
                            }
 | 
					                    },
 | 
				
			||||||
                          ]),
 | 
					                  ],
 | 
				
			||||||
                    ]
 | 
					                ),
 | 
				
			||||||
 | 
					              ],
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            onValueChanges: (values, valid, isBuilding) {
 | 
					            onValueChanges: (values, valid, isBuilding) {
 | 
				
			||||||
              if (!isBuilding) {
 | 
					              if (!isBuilding) {
 | 
				
			||||||
@@ -569,14 +640,17 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                  additionalSettings['appId'] = values['appId'];
 | 
					                  additionalSettings['appId'] = values['appId'];
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
                  }),
 | 
					            },
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Widget getSourcesListWidget() => Padding(
 | 
					    Widget getSourcesListWidget() => Padding(
 | 
				
			||||||
      padding: const EdgeInsets.all(16),
 | 
					      padding: const EdgeInsets.all(16),
 | 
				
			||||||
          child: Row(
 | 
					      child: Wrap(
 | 
				
			||||||
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
 | 
					        direction: Axis.horizontal,
 | 
				
			||||||
 | 
					        alignment: WrapAlignment.spaceBetween,
 | 
				
			||||||
 | 
					        spacing: 12,
 | 
				
			||||||
        children: [
 | 
					        children: [
 | 
				
			||||||
          GestureDetector(
 | 
					          GestureDetector(
 | 
				
			||||||
            onTap: () {
 | 
					            onTap: () {
 | 
				
			||||||
@@ -590,15 +664,14 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                    additionalWidgets: [
 | 
					                    additionalWidgets: [
 | 
				
			||||||
                      ...sourceProvider.sources.map(
 | 
					                      ...sourceProvider.sources.map(
 | 
				
			||||||
                        (e) => Padding(
 | 
					                        (e) => Padding(
 | 
				
			||||||
                                  padding:
 | 
					                          padding: const EdgeInsets.symmetric(vertical: 4),
 | 
				
			||||||
                                      const EdgeInsets.symmetric(vertical: 4),
 | 
					 | 
				
			||||||
                          child: GestureDetector(
 | 
					                          child: GestureDetector(
 | 
				
			||||||
                            onTap: e.hosts.isNotEmpty
 | 
					                            onTap: e.hosts.isNotEmpty
 | 
				
			||||||
                                ? () {
 | 
					                                ? () {
 | 
				
			||||||
                                    launchUrlString(
 | 
					                                    launchUrlString(
 | 
				
			||||||
                                      'https://${e.hosts[0]}',
 | 
					                                      'https://${e.hosts[0]}',
 | 
				
			||||||
                                                  mode: LaunchMode
 | 
					                                      mode: LaunchMode.externalApplication,
 | 
				
			||||||
                                                      .externalApplication);
 | 
					                                    );
 | 
				
			||||||
                                  }
 | 
					                                  }
 | 
				
			||||||
                                : null,
 | 
					                                : null,
 | 
				
			||||||
                            child: Text(
 | 
					                            child: Text(
 | 
				
			||||||
@@ -606,22 +679,19 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                              style: TextStyle(
 | 
					                              style: TextStyle(
 | 
				
			||||||
                                decoration: e.hosts.isNotEmpty
 | 
					                                decoration: e.hosts.isNotEmpty
 | 
				
			||||||
                                    ? TextDecoration.underline
 | 
					                                    ? TextDecoration.underline
 | 
				
			||||||
                                                : TextDecoration.none),
 | 
					                                    : TextDecoration.none,
 | 
				
			||||||
                                      ))),
 | 
					 | 
				
			||||||
                              ),
 | 
					                              ),
 | 
				
			||||||
                            const SizedBox(
 | 
					 | 
				
			||||||
                              height: 16,
 | 
					 | 
				
			||||||
                            ),
 | 
					                            ),
 | 
				
			||||||
 | 
					                          ),
 | 
				
			||||||
 | 
					                        ),
 | 
				
			||||||
 | 
					                      ),
 | 
				
			||||||
 | 
					                      const SizedBox(height: 16),
 | 
				
			||||||
                      Text(
 | 
					                      Text(
 | 
				
			||||||
                        '${tr('note')}:',
 | 
					                        '${tr('note')}:',
 | 
				
			||||||
                              style:
 | 
					                        style: const TextStyle(fontWeight: FontWeight.bold),
 | 
				
			||||||
                                  const TextStyle(fontWeight: FontWeight.bold),
 | 
					 | 
				
			||||||
                      ),
 | 
					                      ),
 | 
				
			||||||
                            const SizedBox(
 | 
					                      const SizedBox(height: 4),
 | 
				
			||||||
                              height: 4,
 | 
					                      Text(tr('selfHostedNote', args: [tr('overrideSource')])),
 | 
				
			||||||
                            ),
 | 
					 | 
				
			||||||
                            Text(tr('selfHostedNote',
 | 
					 | 
				
			||||||
                                args: [tr('overrideSource')])),
 | 
					 | 
				
			||||||
                    ],
 | 
					                    ],
 | 
				
			||||||
                  );
 | 
					                  );
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
@@ -632,19 +702,24 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
              style: const TextStyle(
 | 
					              style: const TextStyle(
 | 
				
			||||||
                fontWeight: FontWeight.bold,
 | 
					                fontWeight: FontWeight.bold,
 | 
				
			||||||
                decoration: TextDecoration.underline,
 | 
					                decoration: TextDecoration.underline,
 | 
				
			||||||
                        fontStyle: FontStyle.italic),
 | 
					                fontStyle: FontStyle.italic,
 | 
				
			||||||
                  )),
 | 
					              ),
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
          GestureDetector(
 | 
					          GestureDetector(
 | 
				
			||||||
            onTap: () {
 | 
					            onTap: () {
 | 
				
			||||||
                  launchUrlString('https://apps.obtainium.imranr.dev/',
 | 
					              launchUrlString(
 | 
				
			||||||
                      mode: LaunchMode.externalApplication);
 | 
					                'https://apps.obtainium.imranr.dev/',
 | 
				
			||||||
 | 
					                mode: LaunchMode.externalApplication,
 | 
				
			||||||
 | 
					              );
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            child: Text(
 | 
					            child: Text(
 | 
				
			||||||
              tr('crowdsourcedConfigsShort'),
 | 
					              tr('crowdsourcedConfigsShort'),
 | 
				
			||||||
              style: const TextStyle(
 | 
					              style: const TextStyle(
 | 
				
			||||||
                fontWeight: FontWeight.bold,
 | 
					                fontWeight: FontWeight.bold,
 | 
				
			||||||
                decoration: TextDecoration.underline,
 | 
					                decoration: TextDecoration.underline,
 | 
				
			||||||
                      fontStyle: FontStyle.italic),
 | 
					                fontStyle: FontStyle.italic,
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
          ),
 | 
					          ),
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
@@ -653,9 +728,10 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    return Scaffold(
 | 
					    return Scaffold(
 | 
				
			||||||
      backgroundColor: Theme.of(context).colorScheme.surface,
 | 
					      backgroundColor: Theme.of(context).colorScheme.surface,
 | 
				
			||||||
        bottomNavigationBar:
 | 
					      bottomNavigationBar: pickedSource == null ? getSourcesListWidget() : null,
 | 
				
			||||||
            pickedSource == null ? getSourcesListWidget() : null,
 | 
					      body: CustomScrollView(
 | 
				
			||||||
        body: CustomScrollView(shrinkWrap: true, slivers: <Widget>[
 | 
					        shrinkWrap: true,
 | 
				
			||||||
 | 
					        slivers: <Widget>[
 | 
				
			||||||
          CustomAppBar(title: tr('addApp')),
 | 
					          CustomAppBar(title: tr('addApp')),
 | 
				
			||||||
          SliverToBoxAdapter(
 | 
					          SliverToBoxAdapter(
 | 
				
			||||||
            child: Padding(
 | 
					            child: Padding(
 | 
				
			||||||
@@ -665,9 +741,7 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
					                crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
				
			||||||
                children: [
 | 
					                children: [
 | 
				
			||||||
                  getUrlInputRow(),
 | 
					                  getUrlInputRow(),
 | 
				
			||||||
                      const SizedBox(
 | 
					                  const SizedBox(height: 16),
 | 
				
			||||||
                        height: 16,
 | 
					 | 
				
			||||||
                      ),
 | 
					 | 
				
			||||||
                  if (pickedSource != null) getHTMLSourceOverrideDropdown(),
 | 
					                  if (pickedSource != null) getHTMLSourceOverrideDropdown(),
 | 
				
			||||||
                  if (shouldShowSearchBar()) getSearchBarRow(),
 | 
					                  if (shouldShowSearchBar()) getSearchBarRow(),
 | 
				
			||||||
                  if (pickedSource != null)
 | 
					                  if (pickedSource != null)
 | 
				
			||||||
@@ -676,15 +750,19 @@ class AddAppPageState extends State<AddAppPage> {
 | 
				
			|||||||
                        return val.data != null && val.data!.isNotEmpty
 | 
					                        return val.data != null && val.data!.isNotEmpty
 | 
				
			||||||
                            ? Text(
 | 
					                            ? Text(
 | 
				
			||||||
                                val.data!,
 | 
					                                val.data!,
 | 
				
			||||||
                                      style:
 | 
					                                style: Theme.of(context).textTheme.bodySmall,
 | 
				
			||||||
                                          Theme.of(context).textTheme.bodySmall,
 | 
					 | 
				
			||||||
                              )
 | 
					                              )
 | 
				
			||||||
                            : const SizedBox();
 | 
					                            : const SizedBox();
 | 
				
			||||||
                      },
 | 
					                      },
 | 
				
			||||||
                            future: pickedSource?.getSourceNote()),
 | 
					                      future: pickedSource?.getSourceNote(),
 | 
				
			||||||
 | 
					                    ),
 | 
				
			||||||
                  if (pickedSource != null) getAdditionalOptsCol(),
 | 
					                  if (pickedSource != null) getAdditionalOptsCol(),
 | 
				
			||||||
                    ])),
 | 
					                ],
 | 
				
			||||||
          )
 | 
					              ),
 | 
				
			||||||
        ]));
 | 
					            ),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,9 +25,34 @@ class AppPage extends StatefulWidget {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class _AppPageState extends State<AppPage> {
 | 
					class _AppPageState extends State<AppPage> {
 | 
				
			||||||
 | 
					  late final WebViewController _webViewController;
 | 
				
			||||||
 | 
					  bool _wasWebViewOpened = false;
 | 
				
			||||||
  AppInMemory? prevApp;
 | 
					  AppInMemory? prevApp;
 | 
				
			||||||
  bool updating = false;
 | 
					  bool updating = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @override
 | 
				
			||||||
 | 
					  void initState() {
 | 
				
			||||||
 | 
					    super.initState();
 | 
				
			||||||
 | 
					    _webViewController = WebViewController()
 | 
				
			||||||
 | 
					      ..setJavaScriptMode(JavaScriptMode.unrestricted)
 | 
				
			||||||
 | 
					      ..setNavigationDelegate(
 | 
				
			||||||
 | 
					        NavigationDelegate(
 | 
				
			||||||
 | 
					          onWebResourceError: (WebResourceError error) {
 | 
				
			||||||
 | 
					            if (error.isForMainFrame == true) {
 | 
				
			||||||
 | 
					              showError(
 | 
				
			||||||
 | 
					                ObtainiumError(error.description, unexpected: true),
 | 
				
			||||||
 | 
					                context,
 | 
				
			||||||
 | 
					              );
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          onNavigationRequest: (NavigationRequest request) =>
 | 
				
			||||||
 | 
					              request.url.startsWith("rustore://")
 | 
				
			||||||
 | 
					              ? NavigationDecision.prevent
 | 
				
			||||||
 | 
					              : NavigationDecision.navigate,
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @override
 | 
					  @override
 | 
				
			||||||
  Widget build(BuildContext context) {
 | 
					  Widget build(BuildContext context) {
 | 
				
			||||||
    var appsProvider = context.watch<AppsProvider>();
 | 
					    var appsProvider = context.watch<AppsProvider>();
 | 
				
			||||||
@@ -62,8 +87,10 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
    var sourceProvider = SourceProvider();
 | 
					    var sourceProvider = SourceProvider();
 | 
				
			||||||
    AppInMemory? app = appsProvider.apps[widget.appId]?.deepCopy();
 | 
					    AppInMemory? app = appsProvider.apps[widget.appId]?.deepCopy();
 | 
				
			||||||
    var source = app != null
 | 
					    var source = app != null
 | 
				
			||||||
        ? sourceProvider.getSource(app.app.url,
 | 
					        ? sourceProvider.getSource(
 | 
				
			||||||
            overrideSource: app.app.overrideSource)
 | 
					            app.app.url,
 | 
				
			||||||
 | 
					            overrideSource: app.app.overrideSource,
 | 
				
			||||||
 | 
					          )
 | 
				
			||||||
        : null;
 | 
					        : null;
 | 
				
			||||||
    if (!areDownloadsRunning &&
 | 
					    if (!areDownloadsRunning &&
 | 
				
			||||||
        prevApp == null &&
 | 
					        prevApp == null &&
 | 
				
			||||||
@@ -77,9 +104,14 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
    bool isVersionDetectionStandard =
 | 
					    bool isVersionDetectionStandard =
 | 
				
			||||||
        app?.app.additionalSettings['versionDetection'] == true;
 | 
					        app?.app.additionalSettings['versionDetection'] == true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    bool installedVersionIsEstimate = trackOnly ||
 | 
					    bool installedVersionIsEstimate = app?.app != null
 | 
				
			||||||
        (app?.app.installedVersion != null &&
 | 
					        ? isVersionPseudo(app!.app)
 | 
				
			||||||
            app?.app.additionalSettings['versionDetection'] != true);
 | 
					        : false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (app != null && !_wasWebViewOpened) {
 | 
				
			||||||
 | 
					      _wasWebViewOpened = true;
 | 
				
			||||||
 | 
					      _webViewController.loadRequest(Uri.parse(app.app.url));
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    getInfoColumn() {
 | 
					    getInfoColumn() {
 | 
				
			||||||
      String versionLines = '';
 | 
					      String versionLines = '';
 | 
				
			||||||
@@ -96,11 +128,14 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
      if (!upToDate) {
 | 
					      if (!upToDate) {
 | 
				
			||||||
        versionLines += '\n${app?.app.latestVersion} ${tr('latest')}';
 | 
					        versionLines += '\n${app?.app.latestVersion} ${tr('latest')}';
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      String infoLines = tr('lastUpdateCheckX', args: [
 | 
					      String infoLines = tr(
 | 
				
			||||||
 | 
					        'lastUpdateCheckX',
 | 
				
			||||||
 | 
					        args: [
 | 
				
			||||||
          app?.app.lastUpdateCheck == null
 | 
					          app?.app.lastUpdateCheck == null
 | 
				
			||||||
              ? tr('never')
 | 
					              ? tr('never')
 | 
				
			||||||
            : '${app?.app.lastUpdateCheck?.toLocal()}'
 | 
					              : '${app?.app.lastUpdateCheck?.toLocal()}',
 | 
				
			||||||
      ]);
 | 
					        ],
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
      if (trackOnly) {
 | 
					      if (trackOnly) {
 | 
				
			||||||
        infoLines = '${tr('xIsTrackOnly', args: [tr('app')])}\n$infoLines';
 | 
					        infoLines = '${tr('xIsTrackOnly', args: [tr('app')])}\n$infoLines';
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -120,15 +155,14 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
            padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 24),
 | 
					            padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 24),
 | 
				
			||||||
            child: Column(
 | 
					            child: Column(
 | 
				
			||||||
              children: [
 | 
					              children: [
 | 
				
			||||||
                const SizedBox(
 | 
					                const SizedBox(height: 8),
 | 
				
			||||||
                  height: 8,
 | 
					                Text(
 | 
				
			||||||
                ),
 | 
					                  versionLines,
 | 
				
			||||||
                Text(versionLines,
 | 
					 | 
				
			||||||
                  textAlign: TextAlign.start,
 | 
					                  textAlign: TextAlign.start,
 | 
				
			||||||
                    style: Theme.of(context)
 | 
					                  style: Theme.of(
 | 
				
			||||||
                        .textTheme
 | 
					                    context,
 | 
				
			||||||
                        .bodyLarge!
 | 
					                  ).textTheme.bodyLarge!.copyWith(fontWeight: FontWeight.bold),
 | 
				
			||||||
                        .copyWith(fontWeight: FontWeight.bold)),
 | 
					                ),
 | 
				
			||||||
                changeLogFn != null || app?.app.releaseDate != null
 | 
					                changeLogFn != null || app?.app.releaseDate != null
 | 
				
			||||||
                    ? GestureDetector(
 | 
					                    ? GestureDetector(
 | 
				
			||||||
                        onTap: changeLogFn,
 | 
					                        onTap: changeLogFn,
 | 
				
			||||||
@@ -137,8 +171,8 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                              ? tr('changes')
 | 
					                              ? tr('changes')
 | 
				
			||||||
                              : app!.app.releaseDate!.toLocal().toString(),
 | 
					                              : app!.app.releaseDate!.toLocal().toString(),
 | 
				
			||||||
                          textAlign: TextAlign.center,
 | 
					                          textAlign: TextAlign.center,
 | 
				
			||||||
                          style:
 | 
					                          style: Theme.of(context).textTheme.labelSmall!
 | 
				
			||||||
                              Theme.of(context).textTheme.labelSmall!.copyWith(
 | 
					                              .copyWith(
 | 
				
			||||||
                                decoration: changeLogFn != null
 | 
					                                decoration: changeLogFn != null
 | 
				
			||||||
                                    ? TextDecoration.underline
 | 
					                                    ? TextDecoration.underline
 | 
				
			||||||
                                    : null,
 | 
					                                    : null,
 | 
				
			||||||
@@ -149,9 +183,7 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                        ),
 | 
					                        ),
 | 
				
			||||||
                      )
 | 
					                      )
 | 
				
			||||||
                    : const SizedBox.shrink(),
 | 
					                    : const SizedBox.shrink(),
 | 
				
			||||||
                const SizedBox(
 | 
					                const SizedBox(height: 8),
 | 
				
			||||||
                  height: 8,
 | 
					 | 
				
			||||||
                ),
 | 
					 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
          ),
 | 
					          ),
 | 
				
			||||||
@@ -167,8 +199,9 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                  ? null
 | 
					                  ? null
 | 
				
			||||||
                  : () async {
 | 
					                  : () async {
 | 
				
			||||||
                      try {
 | 
					                      try {
 | 
				
			||||||
                          await appsProvider
 | 
					                        await appsProvider.downloadAppAssets([
 | 
				
			||||||
                              .downloadAppAssets([app!.app.id], context);
 | 
					                          app!.app.id,
 | 
				
			||||||
 | 
					                        ], context);
 | 
				
			||||||
                      } catch (e) {
 | 
					                      } catch (e) {
 | 
				
			||||||
                        showError(e, context);
 | 
					                        showError(e, context);
 | 
				
			||||||
                      }
 | 
					                      }
 | 
				
			||||||
@@ -180,35 +213,34 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                    decoration: BoxDecoration(
 | 
					                    decoration: BoxDecoration(
 | 
				
			||||||
                      borderRadius: BorderRadius.circular(12),
 | 
					                      borderRadius: BorderRadius.circular(12),
 | 
				
			||||||
                      color: settingsProvider.highlightTouchTargets
 | 
					                      color: settingsProvider.highlightTouchTargets
 | 
				
			||||||
                                ? (Theme.of(context).brightness ==
 | 
					                          ? (Theme.of(context).brightness == Brightness.light
 | 
				
			||||||
                                            Brightness.light
 | 
					 | 
				
			||||||
                                    ? Theme.of(context).primaryColor
 | 
					                                    ? Theme.of(context).primaryColor
 | 
				
			||||||
                                    : Theme.of(context).primaryColorLight)
 | 
					                                    : Theme.of(context).primaryColorLight)
 | 
				
			||||||
                                    .withAlpha(Theme.of(context).brightness ==
 | 
					                                .withAlpha(
 | 
				
			||||||
 | 
					                                  Theme.of(context).brightness ==
 | 
				
			||||||
                                          Brightness.light
 | 
					                                          Brightness.light
 | 
				
			||||||
                                      ? 20
 | 
					                                      ? 20
 | 
				
			||||||
                                        : 40)
 | 
					                                      : 40,
 | 
				
			||||||
                                : null),
 | 
					                                )
 | 
				
			||||||
 | 
					                          : null,
 | 
				
			||||||
 | 
					                    ),
 | 
				
			||||||
                    padding: settingsProvider.highlightTouchTargets
 | 
					                    padding: settingsProvider.highlightTouchTargets
 | 
				
			||||||
                        ? const EdgeInsetsDirectional.fromSTEB(12, 6, 12, 6)
 | 
					                        ? const EdgeInsetsDirectional.fromSTEB(12, 6, 12, 6)
 | 
				
			||||||
                        : const EdgeInsetsDirectional.fromSTEB(0, 6, 0, 6),
 | 
					                        : const EdgeInsetsDirectional.fromSTEB(0, 6, 0, 6),
 | 
				
			||||||
                        margin:
 | 
					                    margin: const EdgeInsetsDirectional.fromSTEB(0, 6, 0, 0),
 | 
				
			||||||
                            const EdgeInsetsDirectional.fromSTEB(0, 6, 0, 0),
 | 
					 | 
				
			||||||
                    child: Text(
 | 
					                    child: Text(
 | 
				
			||||||
                          tr('downloadX',
 | 
					                      tr('downloadX', args: [tr('releaseAsset').toLowerCase()]),
 | 
				
			||||||
                              args: [tr('releaseAsset').toLowerCase()]),
 | 
					 | 
				
			||||||
                      textAlign: TextAlign.center,
 | 
					                      textAlign: TextAlign.center,
 | 
				
			||||||
                          style:
 | 
					                      style: Theme.of(context).textTheme.labelSmall!.copyWith(
 | 
				
			||||||
                              Theme.of(context).textTheme.labelSmall!.copyWith(
 | 
					 | 
				
			||||||
                        decoration: TextDecoration.underline,
 | 
					                        decoration: TextDecoration.underline,
 | 
				
			||||||
                        fontStyle: FontStyle.italic,
 | 
					                        fontStyle: FontStyle.italic,
 | 
				
			||||||
                      ),
 | 
					                      ),
 | 
				
			||||||
                        ))
 | 
					 | 
				
			||||||
                  ],
 | 
					 | 
				
			||||||
                )),
 | 
					 | 
				
			||||||
          const SizedBox(
 | 
					 | 
				
			||||||
            height: 48,
 | 
					 | 
				
			||||||
                    ),
 | 
					                    ),
 | 
				
			||||||
 | 
					                  ),
 | 
				
			||||||
 | 
					                ],
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
 | 
					          const SizedBox(height: 48),
 | 
				
			||||||
          CategoryEditorSelector(
 | 
					          CategoryEditorSelector(
 | 
				
			||||||
            alignment: WrapAlignment.center,
 | 
					            alignment: WrapAlignment.center,
 | 
				
			||||||
            preselected: app?.app.categories != null
 | 
					            preselected: app?.app.categories != null
 | 
				
			||||||
@@ -219,45 +251,52 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                app.app.categories = categories;
 | 
					                app.app.categories = categories;
 | 
				
			||||||
                appsProvider.saveApps([app.app]);
 | 
					                appsProvider.saveApps([app.app]);
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
              }),
 | 
					            },
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
          if (app?.app.additionalSettings['about'] is String &&
 | 
					          if (app?.app.additionalSettings['about'] is String &&
 | 
				
			||||||
              app?.app.additionalSettings['about'].isNotEmpty)
 | 
					              app?.app.additionalSettings['about'].isNotEmpty)
 | 
				
			||||||
            Column(
 | 
					            Column(
 | 
				
			||||||
              mainAxisSize: MainAxisSize.min,
 | 
					              mainAxisSize: MainAxisSize.min,
 | 
				
			||||||
              children: [
 | 
					              children: [
 | 
				
			||||||
                const SizedBox(
 | 
					                const SizedBox(height: 48),
 | 
				
			||||||
                  height: 48,
 | 
					 | 
				
			||||||
                ),
 | 
					 | 
				
			||||||
                GestureDetector(
 | 
					                GestureDetector(
 | 
				
			||||||
                  onLongPress: () {
 | 
					                  onLongPress: () {
 | 
				
			||||||
                      Clipboard.setData(ClipboardData(
 | 
					                    Clipboard.setData(
 | 
				
			||||||
                          text: app?.app.additionalSettings['about'] ?? ''));
 | 
					                      ClipboardData(
 | 
				
			||||||
                      ScaffoldMessenger.of(context).showSnackBar(SnackBar(
 | 
					                        text: app?.app.additionalSettings['about'] ?? '',
 | 
				
			||||||
                        content: Text(tr('copiedToClipboard')),
 | 
					                      ),
 | 
				
			||||||
                      ));
 | 
					                    );
 | 
				
			||||||
 | 
					                    ScaffoldMessenger.of(context).showSnackBar(
 | 
				
			||||||
 | 
					                      SnackBar(content: Text(tr('copiedToClipboard'))),
 | 
				
			||||||
 | 
					                    );
 | 
				
			||||||
                  },
 | 
					                  },
 | 
				
			||||||
                  child: Markdown(
 | 
					                  child: Markdown(
 | 
				
			||||||
                    physics: NeverScrollableScrollPhysics(),
 | 
					                    physics: NeverScrollableScrollPhysics(),
 | 
				
			||||||
                    shrinkWrap: true,
 | 
					                    shrinkWrap: true,
 | 
				
			||||||
                    styleSheet: MarkdownStyleSheet(
 | 
					                    styleSheet: MarkdownStyleSheet(
 | 
				
			||||||
                          blockquoteDecoration:
 | 
					                      blockquoteDecoration: BoxDecoration(
 | 
				
			||||||
                              BoxDecoration(color: Theme.of(context).cardColor),
 | 
					                        color: Theme.of(context).cardColor,
 | 
				
			||||||
                          textAlign: WrapAlignment.center),
 | 
					                      ),
 | 
				
			||||||
 | 
					                      textAlign: WrapAlignment.center,
 | 
				
			||||||
 | 
					                    ),
 | 
				
			||||||
                    data: app?.app.additionalSettings['about'],
 | 
					                    data: app?.app.additionalSettings['about'],
 | 
				
			||||||
                    onTapLink: (text, href, title) {
 | 
					                    onTapLink: (text, href, title) {
 | 
				
			||||||
                      if (href != null) {
 | 
					                      if (href != null) {
 | 
				
			||||||
                          launchUrlString(href,
 | 
					                        launchUrlString(
 | 
				
			||||||
                              mode: LaunchMode.externalApplication);
 | 
					                          href,
 | 
				
			||||||
 | 
					                          mode: LaunchMode.externalApplication,
 | 
				
			||||||
 | 
					                        );
 | 
				
			||||||
                      }
 | 
					                      }
 | 
				
			||||||
                    },
 | 
					                    },
 | 
				
			||||||
                    extensionSet: md.ExtensionSet(
 | 
					                    extensionSet: md.ExtensionSet(
 | 
				
			||||||
                      md.ExtensionSet.gitHubFlavored.blockSyntaxes,
 | 
					                      md.ExtensionSet.gitHubFlavored.blockSyntaxes,
 | 
				
			||||||
                      [
 | 
					                      [
 | 
				
			||||||
                        md.EmojiSyntax(),
 | 
					                        md.EmojiSyntax(),
 | 
				
			||||||
                          ...md.ExtensionSet.gitHubFlavored.inlineSyntaxes
 | 
					                        ...md.ExtensionSet.gitHubFlavored.inlineSyntaxes,
 | 
				
			||||||
                      ],
 | 
					                      ],
 | 
				
			||||||
                    ),
 | 
					                    ),
 | 
				
			||||||
                    ))
 | 
					                  ),
 | 
				
			||||||
 | 
					                ),
 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
@@ -270,8 +309,7 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
      children: [
 | 
					      children: [
 | 
				
			||||||
        SizedBox(height: small ? 5 : 20),
 | 
					        SizedBox(height: small ? 5 : 20),
 | 
				
			||||||
        FutureBuilder(
 | 
					        FutureBuilder(
 | 
				
			||||||
                future:
 | 
					          future: appsProvider.updateAppIcon(app?.app.id, ignoreCache: true),
 | 
				
			||||||
                    appsProvider.updateAppIcon(app?.app.id, ignoreCache: true),
 | 
					 | 
				
			||||||
          builder: (ctx, val) {
 | 
					          builder: (ctx, val) {
 | 
				
			||||||
            return app?.icon != null
 | 
					            return app?.icon != null
 | 
				
			||||||
                ? Row(
 | 
					                ? Row(
 | 
				
			||||||
@@ -286,13 +324,13 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                          height: small ? 70 : 150,
 | 
					                          height: small ? 70 : 150,
 | 
				
			||||||
                          gaplessPlayback: true,
 | 
					                          gaplessPlayback: true,
 | 
				
			||||||
                        ),
 | 
					                        ),
 | 
				
			||||||
                              )
 | 
					 | 
				
			||||||
                            ])
 | 
					 | 
				
			||||||
                      : Container();
 | 
					 | 
				
			||||||
                }),
 | 
					 | 
				
			||||||
            SizedBox(
 | 
					 | 
				
			||||||
              height: small ? 10 : 25,
 | 
					 | 
				
			||||||
                      ),
 | 
					                      ),
 | 
				
			||||||
 | 
					                    ],
 | 
				
			||||||
 | 
					                  )
 | 
				
			||||||
 | 
					                : Container();
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					        SizedBox(height: small ? 10 : 25),
 | 
				
			||||||
        Text(
 | 
					        Text(
 | 
				
			||||||
          app?.name ?? tr('app'),
 | 
					          app?.name ?? tr('app'),
 | 
				
			||||||
          textAlign: TextAlign.center,
 | 
					          textAlign: TextAlign.center,
 | 
				
			||||||
@@ -300,62 +338,54 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
              ? Theme.of(context).textTheme.displaySmall
 | 
					              ? Theme.of(context).textTheme.displaySmall
 | 
				
			||||||
              : Theme.of(context).textTheme.displayLarge,
 | 
					              : Theme.of(context).textTheme.displayLarge,
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
            Text(tr('byX', args: [app?.author ?? tr('unknown')]),
 | 
					        Text(
 | 
				
			||||||
 | 
					          tr('byX', args: [app?.author ?? tr('unknown')]),
 | 
				
			||||||
          textAlign: TextAlign.center,
 | 
					          textAlign: TextAlign.center,
 | 
				
			||||||
          style: small
 | 
					          style: small
 | 
				
			||||||
              ? Theme.of(context).textTheme.headlineSmall
 | 
					              ? Theme.of(context).textTheme.headlineSmall
 | 
				
			||||||
                    : Theme.of(context).textTheme.headlineMedium),
 | 
					              : Theme.of(context).textTheme.headlineMedium,
 | 
				
			||||||
            const SizedBox(
 | 
					 | 
				
			||||||
              height: 24,
 | 
					 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
 | 
					        const SizedBox(height: 24),
 | 
				
			||||||
        GestureDetector(
 | 
					        GestureDetector(
 | 
				
			||||||
          onTap: () {
 | 
					          onTap: () {
 | 
				
			||||||
            if (app?.app.url != null) {
 | 
					            if (app?.app.url != null) {
 | 
				
			||||||
                    launchUrlString(app?.app.url ?? '',
 | 
					              launchUrlString(
 | 
				
			||||||
                        mode: LaunchMode.externalApplication);
 | 
					                app?.app.url ?? '',
 | 
				
			||||||
 | 
					                mode: LaunchMode.externalApplication,
 | 
				
			||||||
 | 
					              );
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          onLongPress: () {
 | 
					          onLongPress: () {
 | 
				
			||||||
            Clipboard.setData(ClipboardData(text: app?.app.url ?? ''));
 | 
					            Clipboard.setData(ClipboardData(text: app?.app.url ?? ''));
 | 
				
			||||||
                  ScaffoldMessenger.of(context).showSnackBar(SnackBar(
 | 
					            ScaffoldMessenger.of(
 | 
				
			||||||
                    content: Text(tr('copiedToClipboard')),
 | 
					              context,
 | 
				
			||||||
                  ));
 | 
					            ).showSnackBar(SnackBar(content: Text(tr('copiedToClipboard'))));
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          child: Text(
 | 
					          child: Text(
 | 
				
			||||||
            app?.app.url ?? '',
 | 
					            app?.app.url ?? '',
 | 
				
			||||||
            textAlign: TextAlign.center,
 | 
					            textAlign: TextAlign.center,
 | 
				
			||||||
            style: Theme.of(context).textTheme.labelSmall!.copyWith(
 | 
					            style: Theme.of(context).textTheme.labelSmall!.copyWith(
 | 
				
			||||||
              decoration: TextDecoration.underline,
 | 
					              decoration: TextDecoration.underline,
 | 
				
			||||||
                      fontStyle: FontStyle.italic),
 | 
					              fontStyle: FontStyle.italic,
 | 
				
			||||||
                )),
 | 
					            ),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
        Text(
 | 
					        Text(
 | 
				
			||||||
          app?.app.id ?? '',
 | 
					          app?.app.id ?? '',
 | 
				
			||||||
          textAlign: TextAlign.center,
 | 
					          textAlign: TextAlign.center,
 | 
				
			||||||
          style: Theme.of(context).textTheme.labelSmall,
 | 
					          style: Theme.of(context).textTheme.labelSmall,
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
        getInfoColumn(),
 | 
					        getInfoColumn(),
 | 
				
			||||||
            const SizedBox(height: 150)
 | 
					        const SizedBox(height: 150),
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    getAppWebView() => app != null
 | 
					    getAppWebView() => app != null
 | 
				
			||||||
        ? WebViewWidget(
 | 
					        ? WebViewWidget(
 | 
				
			||||||
            controller: WebViewController()
 | 
					            key: ObjectKey(_webViewController),
 | 
				
			||||||
              ..setJavaScriptMode(JavaScriptMode.unrestricted)
 | 
					            controller: _webViewController
 | 
				
			||||||
              ..setBackgroundColor(Theme.of(context).colorScheme.surface)
 | 
					              ..setBackgroundColor(Theme.of(context).colorScheme.surface),
 | 
				
			||||||
              ..setJavaScriptMode(JavaScriptMode.unrestricted)
 | 
					 | 
				
			||||||
              ..setNavigationDelegate(
 | 
					 | 
				
			||||||
                NavigationDelegate(
 | 
					 | 
				
			||||||
                  onWebResourceError: (WebResourceError error) {
 | 
					 | 
				
			||||||
                    if (error.isForMainFrame == true) {
 | 
					 | 
				
			||||||
                      showError(
 | 
					 | 
				
			||||||
                          ObtainiumError(error.description, unexpected: true),
 | 
					 | 
				
			||||||
                          context);
 | 
					 | 
				
			||||||
                    }
 | 
					 | 
				
			||||||
                  },
 | 
					 | 
				
			||||||
                ),
 | 
					 | 
				
			||||||
          )
 | 
					          )
 | 
				
			||||||
              ..loadRequest(Uri.parse(app.app.url)))
 | 
					 | 
				
			||||||
        : Container();
 | 
					        : Container();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    showMarkUpdatedDialog() {
 | 
					    showMarkUpdatedDialog() {
 | 
				
			||||||
@@ -369,7 +399,8 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                onPressed: () {
 | 
					                onPressed: () {
 | 
				
			||||||
                  Navigator.of(context).pop();
 | 
					                  Navigator.of(context).pop();
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                    child: Text(tr('no'))),
 | 
					                child: Text(tr('no')),
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
              TextButton(
 | 
					              TextButton(
 | 
				
			||||||
                onPressed: () {
 | 
					                onPressed: () {
 | 
				
			||||||
                  HapticFeedback.selectionClick();
 | 
					                  HapticFeedback.selectionClick();
 | 
				
			||||||
@@ -380,18 +411,21 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                  }
 | 
					                  }
 | 
				
			||||||
                  Navigator.of(context).pop();
 | 
					                  Navigator.of(context).pop();
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                    child: Text(tr('yesMarkUpdated')))
 | 
					                child: Text(tr('yesMarkUpdated')),
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
          );
 | 
					          );
 | 
				
			||||||
          });
 | 
					        },
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    showAdditionalOptionsDialog() async {
 | 
					    showAdditionalOptionsDialog() async {
 | 
				
			||||||
      return await showDialog<Map<String, dynamic>?>(
 | 
					      return await showDialog<Map<String, dynamic>?>(
 | 
				
			||||||
        context: context,
 | 
					        context: context,
 | 
				
			||||||
        builder: (BuildContext ctx) {
 | 
					        builder: (BuildContext ctx) {
 | 
				
			||||||
            var items =
 | 
					          var items = (source?.combinedAppSpecificSettingFormItems ?? []).map((
 | 
				
			||||||
                (source?.combinedAppSpecificSettingFormItems ?? []).map((row) {
 | 
					            row,
 | 
				
			||||||
 | 
					          ) {
 | 
				
			||||||
            row = row.map((e) {
 | 
					            row = row.map((e) {
 | 
				
			||||||
              if (app?.app.additionalSettings[e.key] != null) {
 | 
					              if (app?.app.additionalSettings[e.key] != null) {
 | 
				
			||||||
                e.defaultValue = app?.app.additionalSettings[e.key];
 | 
					                e.defaultValue = app?.app.additionalSettings[e.key];
 | 
				
			||||||
@@ -402,8 +436,11 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
          }).toList();
 | 
					          }).toList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          return GeneratedFormModal(
 | 
					          return GeneratedFormModal(
 | 
				
			||||||
                title: tr('additionalOptions'), items: items);
 | 
					            title: tr('additionalOptions'),
 | 
				
			||||||
          });
 | 
					            items: items,
 | 
				
			||||||
 | 
					          );
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    handleAdditionalOptionChanges(Map<String, dynamic>? values) {
 | 
					    handleAdditionalOptionChanges(Map<String, dynamic>? values) {
 | 
				
			||||||
@@ -427,8 +464,8 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
        if (releaseDateVersionEnabled) {
 | 
					        if (releaseDateVersionEnabled) {
 | 
				
			||||||
          if (app.app.releaseDate != null) {
 | 
					          if (app.app.releaseDate != null) {
 | 
				
			||||||
            bool isUpdated = app.app.installedVersion == app.app.latestVersion;
 | 
					            bool isUpdated = app.app.installedVersion == app.app.latestVersion;
 | 
				
			||||||
            app.app.latestVersion =
 | 
					            app.app.latestVersion = app.app.releaseDate!.microsecondsSinceEpoch
 | 
				
			||||||
                app.app.releaseDate!.microsecondsSinceEpoch.toString();
 | 
					                .toString();
 | 
				
			||||||
            if (isUpdated) {
 | 
					            if (isUpdated) {
 | 
				
			||||||
              app.app.installedVersion = app.app.latestVersion;
 | 
					              app.app.installedVersion = app.app.latestVersion;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
@@ -448,7 +485,8 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    getInstallOrUpdateButton() => TextButton(
 | 
					    getInstallOrUpdateButton() => TextButton(
 | 
				
			||||||
        onPressed: !updating &&
 | 
					      onPressed:
 | 
				
			||||||
 | 
					          !updating &&
 | 
				
			||||||
              (app?.app.installedVersion == null ||
 | 
					              (app?.app.installedVersion == null ||
 | 
				
			||||||
                  app?.app.installedVersion != app?.app.latestVersion) &&
 | 
					                  app?.app.installedVersion != app?.app.latestVersion) &&
 | 
				
			||||||
              !areDownloadsRunning
 | 
					              !areDownloadsRunning
 | 
				
			||||||
@@ -475,17 +513,24 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
              }
 | 
					              }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          : null,
 | 
					          : null,
 | 
				
			||||||
        child: Text(app?.app.installedVersion == null
 | 
					      child: Text(
 | 
				
			||||||
 | 
					        app?.app.installedVersion == null
 | 
				
			||||||
            ? !trackOnly
 | 
					            ? !trackOnly
 | 
				
			||||||
                  ? tr('install')
 | 
					                  ? tr('install')
 | 
				
			||||||
                  : tr('markInstalled')
 | 
					                  : tr('markInstalled')
 | 
				
			||||||
            : !trackOnly
 | 
					            : !trackOnly
 | 
				
			||||||
            ? tr('update')
 | 
					            ? tr('update')
 | 
				
			||||||
                : tr('markUpdated')));
 | 
					            : tr('markUpdated'),
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    getBottomSheetMenu() => Padding(
 | 
					    getBottomSheetMenu() => Padding(
 | 
				
			||||||
        padding:
 | 
					      padding: EdgeInsets.fromLTRB(
 | 
				
			||||||
            EdgeInsets.fromLTRB(0, 0, 0, MediaQuery.of(context).padding.bottom),
 | 
					        0,
 | 
				
			||||||
 | 
					        0,
 | 
				
			||||||
 | 
					        0,
 | 
				
			||||||
 | 
					        MediaQuery.of(context).padding.bottom,
 | 
				
			||||||
 | 
					      ),
 | 
				
			||||||
      child: Column(
 | 
					      child: Column(
 | 
				
			||||||
        mainAxisSize: MainAxisSize.min,
 | 
					        mainAxisSize: MainAxisSize.min,
 | 
				
			||||||
        children: [
 | 
					        children: [
 | 
				
			||||||
@@ -500,12 +545,12 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                    onPressed: app?.downloadProgress != null || updating
 | 
					                    onPressed: app?.downloadProgress != null || updating
 | 
				
			||||||
                        ? null
 | 
					                        ? null
 | 
				
			||||||
                        : () async {
 | 
					                        : () async {
 | 
				
			||||||
                                    var values =
 | 
					                            var values = await showAdditionalOptionsDialog();
 | 
				
			||||||
                                        await showAdditionalOptionsDialog();
 | 
					 | 
				
			||||||
                            handleAdditionalOptionChanges(values);
 | 
					                            handleAdditionalOptionChanges(values);
 | 
				
			||||||
                          },
 | 
					                          },
 | 
				
			||||||
                    tooltip: tr('additionalOptions'),
 | 
					                    tooltip: tr('additionalOptions'),
 | 
				
			||||||
                            icon: const Icon(Icons.edit)),
 | 
					                    icon: const Icon(Icons.edit),
 | 
				
			||||||
 | 
					                  ),
 | 
				
			||||||
                if (app != null && app.installedInfo != null)
 | 
					                if (app != null && app.installedInfo != null)
 | 
				
			||||||
                  IconButton(
 | 
					                  IconButton(
 | 
				
			||||||
                    onPressed: () {
 | 
					                    onPressed: () {
 | 
				
			||||||
@@ -529,13 +574,16 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                                onPressed: () {
 | 
					                                onPressed: () {
 | 
				
			||||||
                                  Navigator.of(context).pop();
 | 
					                                  Navigator.of(context).pop();
 | 
				
			||||||
                                },
 | 
					                                },
 | 
				
			||||||
                                            child: Text(tr('continue')))
 | 
					                                child: Text(tr('continue')),
 | 
				
			||||||
 | 
					                              ),
 | 
				
			||||||
                            ],
 | 
					                            ],
 | 
				
			||||||
                          );
 | 
					                          );
 | 
				
			||||||
                                  });
 | 
					                        },
 | 
				
			||||||
 | 
					                      );
 | 
				
			||||||
                    },
 | 
					                    },
 | 
				
			||||||
                    icon: const Icon(Icons.more_horiz),
 | 
					                    icon: const Icon(Icons.more_horiz),
 | 
				
			||||||
                            tooltip: tr('more')),
 | 
					                    tooltip: tr('more'),
 | 
				
			||||||
 | 
					                  ),
 | 
				
			||||||
                if (app?.app.installedVersion != null &&
 | 
					                if (app?.app.installedVersion != null &&
 | 
				
			||||||
                    app?.app.installedVersion != app?.app.latestVersion &&
 | 
					                    app?.app.installedVersion != app?.app.latestVersion &&
 | 
				
			||||||
                    !isVersionDetectionStandard &&
 | 
					                    !isVersionDetectionStandard &&
 | 
				
			||||||
@@ -545,7 +593,8 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                        ? null
 | 
					                        ? null
 | 
				
			||||||
                        : showMarkUpdatedDialog,
 | 
					                        : showMarkUpdatedDialog,
 | 
				
			||||||
                    tooltip: tr('markUpdated'),
 | 
					                    tooltip: tr('markUpdated'),
 | 
				
			||||||
                            icon: const Icon(Icons.done)),
 | 
					                    icon: const Icon(Icons.done),
 | 
				
			||||||
 | 
					                  ),
 | 
				
			||||||
                if ((!isVersionDetectionStandard || trackOnly) &&
 | 
					                if ((!isVersionDetectionStandard || trackOnly) &&
 | 
				
			||||||
                    app?.app.installedVersion != null &&
 | 
					                    app?.app.installedVersion != null &&
 | 
				
			||||||
                    app?.app.installedVersion == app?.app.latestVersion)
 | 
					                    app?.app.installedVersion == app?.app.latestVersion)
 | 
				
			||||||
@@ -557,7 +606,8 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                            appsProvider.saveApps([app.app]);
 | 
					                            appsProvider.saveApps([app.app]);
 | 
				
			||||||
                          },
 | 
					                          },
 | 
				
			||||||
                    icon: const Icon(Icons.restore_rounded),
 | 
					                    icon: const Icon(Icons.restore_rounded),
 | 
				
			||||||
                            tooltip: tr('resetInstallStatus')),
 | 
					                    tooltip: tr('resetInstallStatus'),
 | 
				
			||||||
 | 
					                  ),
 | 
				
			||||||
                const SizedBox(width: 16.0),
 | 
					                const SizedBox(width: 16.0),
 | 
				
			||||||
                Expanded(child: getInstallOrUpdateButton()),
 | 
					                Expanded(child: getInstallOrUpdateButton()),
 | 
				
			||||||
                const SizedBox(width: 16.0),
 | 
					                const SizedBox(width: 16.0),
 | 
				
			||||||
@@ -567,7 +617,9 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                      : () {
 | 
					                      : () {
 | 
				
			||||||
                          appsProvider
 | 
					                          appsProvider
 | 
				
			||||||
                              .removeAppsWithModal(
 | 
					                              .removeAppsWithModal(
 | 
				
			||||||
                                        context, app != null ? [app.app] : [])
 | 
					                                context,
 | 
				
			||||||
 | 
					                                app != null ? [app.app] : [],
 | 
				
			||||||
 | 
					                              )
 | 
				
			||||||
                              .then((value) {
 | 
					                              .then((value) {
 | 
				
			||||||
                                if (value == true) {
 | 
					                                if (value == true) {
 | 
				
			||||||
                                  Navigator.of(context).pop();
 | 
					                                  Navigator.of(context).pop();
 | 
				
			||||||
@@ -577,16 +629,21 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
                  tooltip: tr('remove'),
 | 
					                  tooltip: tr('remove'),
 | 
				
			||||||
                  icon: const Icon(Icons.delete_outline),
 | 
					                  icon: const Icon(Icons.delete_outline),
 | 
				
			||||||
                ),
 | 
					                ),
 | 
				
			||||||
                    ])),
 | 
					              ],
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
          if (app?.downloadProgress != null)
 | 
					          if (app?.downloadProgress != null)
 | 
				
			||||||
            Padding(
 | 
					            Padding(
 | 
				
			||||||
              padding: const EdgeInsets.fromLTRB(0, 8, 0, 0),
 | 
					              padding: const EdgeInsets.fromLTRB(0, 8, 0, 0),
 | 
				
			||||||
              child: LinearProgressIndicator(
 | 
					              child: LinearProgressIndicator(
 | 
				
			||||||
                value: app!.downloadProgress! >= 0
 | 
					                value: app!.downloadProgress! >= 0
 | 
				
			||||||
                    ? app.downloadProgress! / 100
 | 
					                    ? app.downloadProgress! / 100
 | 
				
			||||||
                          : null))
 | 
					                    : null,
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        ));
 | 
					      ),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    appScreenAppBar() => AppBar(
 | 
					    appScreenAppBar() => AppBar(
 | 
				
			||||||
      leading: IconButton(
 | 
					      leading: IconButton(
 | 
				
			||||||
@@ -606,14 +663,17 @@ class _AppPageState extends State<AppPage> {
 | 
				
			|||||||
            : CustomScrollView(
 | 
					            : CustomScrollView(
 | 
				
			||||||
                slivers: [
 | 
					                slivers: [
 | 
				
			||||||
                  SliverToBoxAdapter(
 | 
					                  SliverToBoxAdapter(
 | 
				
			||||||
                          child: Column(children: [getFullInfoColumn()])),
 | 
					                    child: Column(children: [getFullInfoColumn()]),
 | 
				
			||||||
 | 
					                  ),
 | 
				
			||||||
                ],
 | 
					                ],
 | 
				
			||||||
              ),
 | 
					              ),
 | 
				
			||||||
        onRefresh: () async {
 | 
					        onRefresh: () async {
 | 
				
			||||||
          if (app != null) {
 | 
					          if (app != null) {
 | 
				
			||||||
            getUpdate(app.app.id);
 | 
					            getUpdate(app.app.id);
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
            }),
 | 
					        },
 | 
				
			||||||
        bottomSheet: getBottomSheetMenu());
 | 
					      ),
 | 
				
			||||||
 | 
					      bottomSheet: getBottomSheetMenu(),
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||