Skip to content

Flipper Desktop plugin to inspect contents of AsyncStorage in React Native

Notifications You must be signed in to change notification settings

markmarkoh/flipper-plugin-asyncstorage-inspector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsyncStorage Inspector Flipper Plugin

Flipper plugin for inspecting contents of AsyncStorage in React Native

Installation

  1. Install async-storage-inspector-flipper middleware and react-native-flipper in your React Native app:
yarn add asyncstorage-inspector-flipper react-native-flipper
# for iOS
cd ios && pod install
  1. Middleware configuration:
import { initAsyncStorageInspector } from "asyncstorage-inspector-flipper";

// Call function only once, eg in App.tsx
initAsyncStorageInspector();
  1. Install flipper-plugin-asyncstorage-inspector in your Flipper desktop client:
Manage Plugins > Install Plugins > search "asyncstorage-inspector" > Install
  1. Restart flipper with your React Native App running and you should be able to see the plugin as 'AsyncStorage Inspector'.

Note: The plugin does not display live values from AsyncStorage. Press the 'Sync' button to see the latest values.

About

Flipper Desktop plugin to inspect contents of AsyncStorage in React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.2%
  • JavaScript 5.8%