Skip to content

react-native-mmkv V4 released with a full rewrite to Nitro

updated

react-native-mmkv 4.0.0 was released on 2025-10-20. The release notes describe V4 as the next major evolution of the library.

What's in V4

  • Rewrite to Nitro. The library has been fully rewritten to Nitro. As a result, V4 works again on the old architecture, until react-native 0.82 at least.
  • MMKVCore as a dependency. V4 now uses MMKVCore from CocoaPods/Gradle instead of shipping it as source. This means the native MMKV library can be used from native code again without causing duplicate symbols.
  • Errors from set(...). set(...) now throws a useful Error when the value couldn't be saved. It also throws if the key is empty.
  • Added. useMMKVKeys().
  • remove(...) return value. remove(...) now returns a bool.
  • AppGroup. AppGroup support has been added again.
  • Listeners. remove(...) and clearAllKeys() now invoke listeners properly when keys get removed.

Other changes

The release also includes these features and fixes:

  • React Native Harness was added.
  • MMKVCore was upgraded to 2.2.4 on Android.
  • Nitro was upgraded to 0.30.0 and then to 0.31.
  • The project was upgraded to react-native 0.82.0.
  • The example app build was fixed for Xcode 26.

Upgrading

The maintainers ask users to read the V4 upgrade guide before upgrading.

Source: github.com