react native - Is AsyncStorage permanent? -


i storing app's auth token in asyncstorage. appears both on android , ios (less sure one), after long periods of inactivity (~2 weeks), users logged out. i sure doesn't have server.

is asyncstorage permanent?

edit: well, that's embarrassing. problem on server, , wasn't asyncstorage's fault.

from rn docs https://facebook.github.io/react-native/docs/asyncstorage.html

on ios, asyncstorage backed native code stores small values in serialized dictionary , larger values in separate files. on android, asyncstorage use either rocksdb or sqlite based on available.

both databases , files sound permanent me. maybe users clearing app's cache or local files somehow?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -