4.0.0-beta.5 (2025-08-28)
‼️ Upgrade Guide
- Since
MMKV
is now a fully native HybridObject, it's now longernew MMKV(...)
, butcreateMMKV(...)
. - For performance and safety reasons, the core MMKV library no longer supports 32-bit. (See MMKV: Prerequisites) So in your
gradle.properties
, remove the 32-bit architectures and just keep the 64-bit ones:On iOS, 64-bit has been the default for years.- reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 + reactNativeArchitectures=arm64-v8a,x86_64
- react-native-mmkv is now a Nitro Module - so you need to install react-native-nitro-modules too.
- The
MMKV.delete(...)
method has been renamed toMMKV.remove(...)
(becausedelete
is a reserved keyword in C++)