Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
MMKV is an efficient, mobile, key-value storage framework developed by WeChat. With the @amazon-devices/react-native-mmkv library, you can use MMKV inside your React Native app through fast and direct JS bindings to the native C++ library. See Tencent/MMKV for more information.

Installation

  1. Add the dependency in package.json file:
  2. Reinstall dependencies using the npm install command.

Examples

An example that creates simple storage for random key-value pairs.

API reference

MMKV library on Vega provides TurboModules, which add support for the following native MMKV methods. See the documentation for more information about this library and API reference.

Native MMKV

Hooks

Configuration

Mode

Known issues and limitations

  • The recrypt method isn’t supported on a Vega Virtual Device.
  • The useMMKVBuffer hook isn’t supported.

Supported versions

For information on other libraries, see Supported Third-Party Libraries and Services.
Last modified on September 30, 2025