Answer the question
In order to leave comments, you need to log in
Asyncstorage missing data?
When authorizing a user, I save his token using Asyncstorage and use it in the future. But complaints began to come from users that after 2-3 days many fly out of the profile, most likely the token is deleted.
There are no time limits on the back, the site works similarly with the same api and everything is in order there.
Why can a token be deleted? Or what could be the reason?
Answer the question
In order to leave comments, you need to log in
In general, storing tokens in Async Storage is not safe. For security, for example, I use react-native-keychain . Use this love and nothing will be lost.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question