mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-26 11:13:46 +01:00 
			
		
		
		
	Workaround for version detection error in BG
This commit is contained in:
		| @@ -428,8 +428,12 @@ class AppsProvider with ChangeNotifier { | ||||
|   } | ||||
|  | ||||
|   Future<bool> doesInstalledAppsPluginWork() async { | ||||
|     bool res = | ||||
|         (await InstalledApps.getAppInfo(obtainiumId)).versionName != null; | ||||
|     bool res = false; | ||||
|     try { | ||||
|       res = (await InstalledApps.getAppInfo(obtainiumId)).versionName != null; | ||||
|     } catch (e) { | ||||
|       // | ||||
|     } | ||||
|     if (!res) { | ||||
|       logs.add(tr('versionCorrectionDisabled')); | ||||
|     } | ||||
|   | ||||
| @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev | ||||
| # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html | ||||
| # In Windows, build-name is used as the major, minor, and patch parts | ||||
| # of the product and file versions while build-number is used as the build suffix. | ||||
| version: 0.8.10+73 # When changing this, update the tag in main() accordingly | ||||
| version: 0.8.10+74 # When changing this, update the tag in main() accordingly | ||||
|  | ||||
| environment: | ||||
|   sdk: '>=2.18.2 <3.0.0' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user