Pin shared_preferences_android 2.4.28: 2.5.0 crashes on start under R8
build / build (push) Canceled after 0s
build / build (push) Canceled after 0s
2.5.0 (Pigeon JNI) reaches SharedPreferencesApiRegistrar.getAll only through JNI, R8 strips it, and the app dies with NoSuchMethodError before the first frame (black screen). Verified on a phone: 2.4.28 starts normally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aa8af0e2c2
commit
ffc0f579a6
6 files changed
+4
-11
No files matched your search
@@ -9,7 +9,6 @@ import cryptography_flutter
|
||||
import file_selector_macos
|
||||
import flutter_blue_plus_darwin
|
||||
import flutter_local_notifications
|
||||
import flutter_onnxruntime
|
||||
import mobile_scanner
|
||||
import package_info_plus
|
||||
import share_plus
|
||||
@@ -22,7 +21,6 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
|
||||
FlutterBluePlusPlugin.register(with: registry.registrar(forPlugin: "FlutterBluePlusPlugin"))
|
||||
FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin"))
|
||||
FlutterOnnxruntimePlugin.register(with: registry.registrar(forPlugin: "FlutterOnnxruntimePlugin"))
|
||||
MobileScannerPlugin.register(with: registry.registrar(forPlugin: "MobileScannerPlugin"))
|
||||
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
|
||||
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
|
||||
|
||||
Reference in new issue
Block a user