Answer the question
In order to leave comments, you need to log in
What token storage options are used in mobile, react-native?
Moving from web to mobile using react-native. If I understand correctly, then there are no localsorage \ cookies familiar to the web in the mobile. How then can information be stored?
Example. I am making a request for a back to get an authorization token, where can I store this token and how can I reset it (for security or just the user has not been online for a very long time)?
Answer the question
In order to leave comments, you need to log in
Async storage https://reactnative.dev/docs/asyncstorage like local storage web
Asyncstorage, or if you use mobx, mobx persist is very convenient. Although it seems to be on the redax
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question