React Native's Async Storage debugger for Flipper
npm install rn-async-storage-flipperAsync-Storage debugger for Flipper.
1. Install these libraries in your react-native app.
``bash`
yarn add rn-async-storage-flipper react-native-flipper
For iOS, you'll need to run
`bash`
cd ios && pod install
2. Import the rn-async-storage-flipper library and pass as argument your storage instance.
`javascript
import RNAsyncStorageFlipper from 'rn-async-storage-flipper';
// ....
import AsyncStorage from '@react-native-community/async-storage';
RNAsyncStorageFlipper(AsyncStorage);
`
Note that you storage must have the following async methods:
- getAllKeys
- multiGet`
3. Install the flipper-plugin-async-storage in Flipper app