Top "Asyncstorage" questions

AsyncStorageis an asynchronous, persistent, key-value storage system for React Native.

Waiting for AsyncStorage.getItem()

I am using AsyncStorage in my React Native application to store information about the user. The getItem() function is asynchronous …

react-native asyncstorage
Wipe AsyncStorage in react native

I notice that I am wasting a certain amount of time debugging redux actions that I am persisting to AsyncStorage …

javascript react-native redux asyncstorage
React Native - How to see what's stored in AsyncStorage?

I save some items to AsyncStorage in React Native and I am using chrome debugger and iOS simulator. Without react …

react-native asyncstorage
Is React Native's Async Storage secure?

I want to store sensitive data locally in a React Native app. Is the data only available to the app …

react-native asyncstorage
Possible Unhandled Promise Rejection (id:0) Warning

I am getting the following warning message when my AsyncStorage Item is empty "Possible Unhandled Promise Rejection (id:0)" So my …

javascript react-native promise asyncstorage
React Native StackNavigator initialRouteName

In React Native Navigation library 'react-navigation' How could I set StackNavigator initialRouteName by AsyncStorage? function getInitialScreen() { AsyncStorage.getItem('initialScreen') .then(…

reactjs react-native react-navigation asyncstorage
Right way to setItem in AsyncStorage

I want to use AsyncStorage.setItem inside AsyncStorage.getItem. How to do that in right way? My code is as …

react-native asyncstorage
How to check if a key exists in AsyncStorage in React Native? getItem() always returns a promise object

I'm trying to check whether a key is available in AsyncStorage with AsyncStorage.getItem('key_name'). If the key is …

javascript react-native react-native-android asyncstorage
How to test Async Storage with Jest?

I'm building an app with React Native. I want to minimize how often I communicate to the database, so I …

reactjs asynchronous react-native jestjs asyncstorage
React Native AsyncStorage getItem returns promise not value

I have a login form and I am able to post my the form values. After a successful POST request, …

javascript react-native promise asyncstorage