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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -