Home

Awesome

Flipper plugin for react-native-mmkv

This plugin allows you to control react-native-mmkv from flipper

Usage

Install the flipper plugin.

Simply search for 'react-native-mmkv' in the Plugin Manager in Flipper.

<p align="center"> <img src="./.github/img/install.png" alt="install plugin" height="400" /> </p>

In your react-native App

yarn add -D react-native-flipper
yarn add react-native-mmkv-flipper-plugin
import { MMKV } from "react-native-mmkv";
import { initializeMMKVFlipper } from "react-native-mmkv-flipper-plugin";
const storage = new MMKV();

// add this line inside your App.tsx
if (__DEV__) {
  initializeMMKVFlipper({ default: storage });
}

Screenshot

view