MMKV v1.0.24 Release Notes

Release Date: 2020-01-16 // over 2 years ago
  • v1.0.24 / 2020-01-16

    ๐ŸŽ iOS / macOS

    What's new

    • ๐Ÿ›  Fix a bug that MMKV will fail to save any key-values after calling -[MMKV clearMemoryCache] and then -[MMKV clearAll].
    • โž• Add -[MMKV initializeMMKV:] for users to init MMKV in the main thread, to avoid an iOS 13 potential crash when accessing UIApplicationState in child threads.
    • ๐Ÿ›  Fix a potential crash when writing a uniquely constructed string.
    • ๐Ÿ›  Fix a performance slow down when acquiring MMKV instances too often.
    • โœ… Make the baseline test in MMKVDemo more robust to NSUserDefaults' caches.

    Android

    What's new

    • ๐Ÿ›  Fix flock() bug on ashmem files in Android.
    • ๐Ÿ›  Fix a potential crash when writing a uniquely constructed string.
    • ๐Ÿ›  Fix a bug that the MMKVDemo might crash when running in a simulator.

    Win32

    • ๐Ÿ›  Fix a potential crash when writing a uniquely constructed string or data.