react-native-keychain icon indicating copy to clipboard operation
react-native-keychain copied to clipboard

How to store data forever even if app has been uninstall on android? Thank you!

Open zhuyuan2016 opened this issue 3 years ago • 3 comments

I hope can store an only deviceID on every android device, cause we need statis some user's devices according to these data, I found 'setGenericPassword' function works on ios,but didn't work on android.so,how work on android?Thanks!

zhuyuan2016 avatar Jul 16 '21 03:07 zhuyuan2016

Also experiencing this issue, I thought the idea of the key store was it persisted?

kfitzsimons avatar Sep 16 '21 11:09 kfitzsimons

Bump is this possible? On IOS it persists using the Keychain.

davidshariff avatar Feb 26 '22 04:02 davidshariff

shouldnt. the fact that keychain is accessible later is more of a bug than a feature, in all honesty. it sort of creates a way to sort of track users, something that is against privacy and blablabla. on android, it saves a file within the data of the app bundle - once the app is removed, said file is removed along. i'm pretty sure you cant save elsewhere unless it's a rooted device (or you install some 3rd party sorta thing, like a custom keyboard or something).

118118denis avatar Jun 20 '22 10:06 118118denis