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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -