Z
Z
zeddicus2021-12-16 21:18:44
JSON Web Token
zeddicus, 2021-12-16 21:18:44

Why does data disappear when using asyncStorage in react native?

Friends, help me find the answer

There is an application in react native, asyncStorage is used to store jwt, the problem is that after some random time, when you restart the application, you have to log in again, that is, the data from asyncStorage simply disappeared, programmatically deleting occurs only when logout.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Makarov, 2022-01-17
@kirbi1996

Until you delete the application or clear the cache, everything should be stored. Check if you can overwrite somewhere

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question