flipper-plugin-react-native-mmkv-storage
v1.3.1
Published
Developer tools for React Native MMKV Storage
Downloads
61
Maintainers
Readme
Desktop Flipper plugin for React Native MMKV Storage
Features
- Show logs every time you interact with storage
- Edit value
* 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
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.