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 |
---|---|---|---|
Best practice for schema change | 1 | 399 | May 2024 |
Integrating w/Realm in Xcode for iOS app | 0 | 195 | Jul 2024 |
Cannot use the LIMIT operator in Realm Query Language | 1 | 193 | Aug 2024 |
Wait for synchronization takes too long | 0 | 56 | Aug 2024 |
Concerns About Realm and Unity Support Following MongoDB Atlas Deprecation | 1 | 205 | Sep 2024 |