Most voted "asyncstorage" questions
Asyncstorage is an asynchronous, persistent, and key-value storage system in React Native. Use this tag for questions involving writing, reading, or running Asyncstorage.
Learn more…10 questions
Sort by count of
-
6
votes3
answers6131
viewsHow to Save Data with Asyncstorage
I’m trying to save the mobile data without using a database. I found the AsyncStorage but I’m not able to implement. saveData(){ let usuario = 'Usuario Top'; AsyncStorage.setItem('usuario',…
-
1
votes1
answer206
viewsSave checkbox status in Asyncstorage
I have a check box which by default is marked as true (marked), but, I want to dynamically save an option when the user changes this box to false (or, cancel). As I will not have bank interaction…
-
1
votes0
answers68
viewsDifficulty saving checkbox status with Asyncstorage
I have an error saving checkbox status with Asyncstorage. When exiting/reloading the screen, the first checkbox is always marked and the other’s markings are removed https://imgur.com/bFxof0q I need…
-
0
votes1
answer130
viewsChange variable and save it by Asyncstorage
I am developing an APP that contains several texts, so the font size of the texts are imported from a single variable. I’m trying to add an option to make the font bigger, and save the size of the…
-
0
votes1
answer234
viewsI’m not getting the token with Asyncstorage in React Native
I tried to use async/await and it didn’t work either. So I tried with callback. At first I can see the token with console.log(item), however console.log(token) returns undefined. How can I get the…
-
0
votes3
answers83
viewsReading Asyncstorage generates an infinite loop
I have a problem with my applications. I use a lot of useState(), but I have been observing that this is generating endless loops in my application. Follow an example: if(show){…
-
0
votes1
answer28
viewsTextinput value does not change - React Native
So I’m taking these values in Asyncstorage and they come from my database, so far so good, I take the const’s and I play in them the values I pulled. but I need to be able to edit this by the text…
-
-1
votes1
answer178
viewsAsyncstorage with dynamic keys does not save values
I’m trying to make a list where the user sees all the Keys he saved in the app and when he clicks on them will occur the load of the preset he made based on the key. I’m getting the bug: Typeerror:…
-
-1
votes1
answer235
viewsHow to view value saved by Asyncstorage?
I have a code that saves and reads the value of a state through Asyncstorage, but when closing the app or changing the screen the value goes back to the value of the original state, which in my case…
-
-3
votes2
answers84
viewsStrange return even with Async/Await
I have the following functions in common.js import AsyncStorage from '@react-native-async-storage/async-storage' const getData = async () => { try { const jsonValue = await…