android上 realm: ^1.9.0版本以上和shared_preferences冲突,无法初始化shared_preferences,报错I/flutter ( 7604): Failed to initialize SharedPreferences: PlatformException(channel-error, Unable to establish connection on channel: “dev.flutter.pigeon.shared_preferences_android.SharedPreferencesApi.getAll”., null, null)
Skip to main content
I did a flutter clean
Ran my app again and issue was resolved, using shared_preferences: ^2.3.2
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Error loading RealmSwift framework in iOS app | 1 | 1.8k | May 2024 |
appservices pull cli doesn’t remove deleted trigger | 0 | 265 | Jul 2024 |
Schema validation failed for unknown object type (that is an Embedded Realm object) | 2 | 326 | Jul 2024 |
Flutter SDK and indexed queryable fields syncronication issues | 0 | 68 | Aug 2024 |
Help on Atlas App Services deprecation & migration | 0 | 74 | Nov 2024 |