Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
53 lines (34 loc) · 1.19 KB

File metadata and controls

53 lines (34 loc) · 1.19 KB

This repository is archived as Flipper is removed from React Native 0.74

Desktop Flipper plugin for React Native MMKV Storage

Features

  • Show logs every time you interact with storage
  • Edit value

gif

* Tested on Flipper v0.152.0, React Native v0.68.2, RN MMKV Storage source code from github

Install

Open Flipper and search on Plugin Manager

manager

On your React Native project

Install Flipper plug-in:

yarn add react-native-flipper rn-mmkv-storage-flipper --dev

or

npm i react-native-flipper rn-mmkv-storage-flipper -D

Update your code:

import {MMKVLoader} from 'react-native-mmkv-storage';
import mmkvFlipper from 'rn-mmkv-storage-flipper';

const MMKV = new MMKVLoader()
  .withInstanceID('test')
  .withEncryption()
  .initialize();

if (__DEV__) {
  mmkvFlipper(MMKV);
}

FAQ

My Android app crashes nonstop

This is known issus on Flipper. The workaround is keep Flipper opening while running app on debug mode.