Skip to content
React Native's Async Storage logger for Flipper
JavaScript
Branch: master
Clone or download

Latest commit

Latest commit 7a30781 May 13, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images update screeshot May 13, 2020
packages v0.0.8 May 1, 2020
.eslintignore first commit Apr 19, 2020
.gitignore first commit Apr 19, 2020
.prettierrc first commit Apr 19, 2020
README.md update readme Apr 26, 2020
lerna.json v0.0.8 May 1, 2020
package.json first commit Apr 19, 2020
yarn.lock

README.md

Async-Storage Flipper

plugin

Async-Storage debugger for Flipper.

Getting Started

  1. Install these libraries in your react-native app.
yarn add rn-async-storage-flipper react-native-flipper

For iOS, you'll need to run

cd ios && pod install
  1. Import the rn-async-storage-flipper library and pass as argument your storage instance.
import RNAsyncStorageFlipper from 'rn-async-storage-flipper';

// ....
import AsyncStorage from '@react-native-community/async-storage';

// We recommend to invoke the function inside a componentDidMount or useEffect
RNAsyncStorageFlipper(AsyncStorage);

Note that you storage must have the following async methods:

  • getAllKeys

  • multiGet

  1. Install the flipper-plugin-async-storage in Flipper app

  2. Re-run your app

You can’t perform that action at this time.