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 JavaScript library dependency in the package.json file. Select the tab for your React Native version.
  1. Reinstall dependencies using the npm install command.

Example

Example of creating 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 dedicated documentation page for more information about this library and API reference.

Native MMKV

Hooks

Configuration

Mode

Known Issues

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

Supported versions

Additional resources

For information on other libraries, see Supported Third-Party Libraries and Services.
Last modified on July 10, 2026