flipper-plugin-asyncstorage-inspector
v1.0.1
Published
Flipper plugin for inspecting contents of AsyncStorage in React Native
Maintainers
Readme
AsyncStorage Inspector Flipper Plugin
Flipper plugin for inspecting contents of AsyncStorage in React Native
Installation
- Install async-storage-inspector-flipper middleware and
react-native-flipperin your React Native app:
yarn add async-storage-inspector-flipper react-native-flipper
# for iOS
cd ios && pod install- Middleware configuration:
import { initAsyncStorageInspector } from "asyncstorage-inspector-flipper";
// Call function only once, eg in App.tsx
initAsyncStorageInspector();- Install flipper-plugin-asyncstorage-inspector in your Flipper desktop client:
Manage Plugins > Install Plugins > search "flipper-plugin-asyncstorage-inspector" > Install- 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.
