Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 799 Bytes

File metadata and controls

35 lines (24 loc) · 799 Bytes

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.

install plugin

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