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
Post a Comment