Skip to content

seegno-forks/rn-async-storage-flipper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

React Native's Async Storage logger for Flipper

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.9%
  • TypeScript 17.1%