You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
Hi there -
I have followed the full document to save and retrieve data using this library.
But unfortunately not working for few devices - when the app force closed.
Here is my code -
Import: import AsyncStorage from '@react-native-community/async-storage';
Hi there -
I have followed the full document to save and retrieve data using this library.
But unfortunately not working for few devices - when the app force closed.
Here is my code -
Import:
import AsyncStorage from '@react-native-community/async-storage';
Retreiving Data -
`const getUserData = async () => {
try {
const user_id = await AsyncStorage.getItem("user_id");
const user_name = await AsyncStorage.getItem("user_name");
const user_email = await AsyncStorage.getItem("user_email");
const user_phone = await AsyncStorage.getItem("user_phone");
const user_address = await AsyncStorage.getItem("user_address");
Saving data -
`const saveLoginInfo = async (id, name, email, phone, address, access_token) => {
Is there any solution? Any help would be appreciated.
The text was updated successfully, but these errors were encountered: