flipper-plugin-asyncstorage-inspector

1.0.1 • Public • Published

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 async-storage-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 "flipper-plugin-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.

Package Sidebar

Install

npm i flipper-plugin-asyncstorage-inspector

Weekly Downloads

16

Version

1.0.1

License

MIT

Unpacked Size

85 kB

Total Files

8

Last publish

Collaborators

  • chvanlennep