Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Fausto95/rn-async-storage-flipper
React Native's Async Storage logger for Flipper
https://github.com/Fausto95/rn-async-storage-flipper
async-storage flipper flipper-plugin react-native
Last synced: 7 days ago
JSON representation
React Native's Async Storage logger for Flipper
- Host: GitHub
- URL: https://github.com/Fausto95/rn-async-storage-flipper
- Owner: Fausto95
- Created: 2020-04-19T16:17:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T01:09:39.000Z (about 1 year ago)
- Last Synced: 2024-09-26T02:50:10.253Z (about 1 month ago)
- Topics: async-storage, flipper, flipper-plugin, react-native
- Language: JavaScript
- Size: 688 KB
- Stars: 47
- Watchers: 4
- Forks: 8
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-made-by-angolans - rn-async-storage-flipper
README
# Async-Storage Flipper
![plugin](/images/flipper-as.png)
Async-Storage debugger for [Flipper](https://fbflipper.com/).
## Getting Started
1. Install these libraries in your react-native app.
```bash
yarn add rn-async-storage-flipper react-native-flipper
```For iOS, you'll need to run
```bash
cd ios && pod install
```2. Import the `rn-async-storage-flipper` library and pass as argument your storage instance.
```javascript
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`
3. Install the [flipper-plugin-async-storage](/packages/flipper-plugin-async-storage) in Flipper app
4. Re-run your app