Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30349

Is there any SharedPreferences reset condition except the removal of an app?

$
0
0

I'm using React Native to build an android/ios app. I'm using expo-secure-store with the bare React Native app and expo-secure-store saves data in SharedPreferences as encrypted on Android.

After I was updating my app, I received many reports from users that their data in SharedPreferences are reset and lost. On iOS, I didn't get such reports.

Is there any condition to reset data saved in SharedPreferences except the removal of the app?

As far as I know, data saved on SharedPreferences remains during its update. Is it wrong? I could not find any answer from the documentation. Please let me know about it.


Viewing all articles
Browse latest Browse all 30349

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>