- Replace the deprecated
device_info
package withdevice_info_plus
. - Keep up with MMKV native lib v1.2.13.
- Fix a bug that a subsequential
clearAll()
call may fail to take effect in multi-process mode. - Hide some OpenSSL symbols to prevent link-time symbol conflict, when an App somehow also static linking OpenSSL.
- Upgrade Android
compileSdkVersion
&targetSdkVersion
from30
to31
. - Keep up with MMKV native lib v1.2.12.
- Add backup & restore ability.
- Keep up with MMKV native lib v1.2.11.
- Bug Fixed: When building on iOS, occasionally it will fail on symbol conflict with other libs. We have renamed all public native methods to avoid potential conflict.
- Keep up with MMKV native lib v1.2.10.
- Bug Fixed: When calling
MMKV.encodeString()
with an empty string value on Android,MMKV.decodeString()
will returnnull
. - Bug Fixed: After upgrading from Flutter 1.20+ to 2.0+, calling
MMKV.defaultMMKV()
on Android might fail to load, you can try callingMMKV.defaultMMKV(cryptKey: '\u{2}U')
instead. - Keep up with MMKV native lib v1.2.9, which drops the armeabi arch on Android.
- Support null-safety.
- Upgrade to Flutter 2.0.
- Keep up with MMKV native lib v1.2.8, which migrates the Android Native Lib to Maven Central Repository.
- Fix
MMKV.encodeString()
crash on iOS with an empty string value.
- When calling
MMKV.encodeString()
with an empty string value on Android,MMKV.decodeString()
will returnnull
. This bug will be fixed in the next version of Android Native Lib. iOS does not have such a bug.
- Keep up with MMKV native lib v1.2.7, which fix the
MMKV.sync(false)
not being asynchronous bug. - Fix
MMKV.defaultMMKV()
crash on iOS simulator. - Fix
MMKV.defaultMMKV(cryptKey)
not encrypted as expected bug on iOS.
Fix iOS symbol not found bug.
The first official flutter plugin of MMKV. Most things actually work!