react-native-asyncstorage | Declarative AsyncStorage component for React Native | iOS library
kandi X-RAY | react-native-asyncstorage Summary
kandi X-RAY | react-native-asyncstorage Summary
Declarative AsyncStorage component for React Native
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-native-asyncstorage
react-native-asyncstorage Key Features
react-native-asyncstorage Examples and Code Snippets
Community Discussions
Trending Discussions on react-native-asyncstorage
QUESTION
I would like to delete application data like local storage without reinstalling the app.
I am using AsyncStorage in react-native, and have persisted some data. To quickly test storage, I would like to be able to clear AsyncStorage manually through the simulator, without implementing a logout/ clear AsyncStorage button in the app. (React-Native AsyncStorage.clear() is failing on IOS).
...ANSWER
Answered 2020-Jan-10 at 07:30Since there is no easy way to do it, I have added a developer menu in my app, with a button called clear AsyncStorage, which called AsyncStorage.clear()
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-native-asyncstorage
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page