as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
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.

Additional resources

For information on other libraries, see Supported Third-Party Libraries and Services.
最終更新日 2026年7月10日