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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -