react-native-sensitive-info icon indicating copy to clipboard operation
react-native-sensitive-info copied to clipboard

[Question] About when app is uninstalled

Open akiradeveloper opened this issue 8 years ago • 5 comments

I want to use this library to save device unique id (like ANDROID_ID). In PlayFab, there is a log-in method that use the unique id and the doc recommends to save it in key chain in case of iOS because the id is changed after app uninstalled. (see best practice section in https://api.playfab.com/docs/tutorials/landing-players/best-login)

As long as I understand, the shared preference is gone after app uninstalled unless the backup is enabled (and it's enabled by default). My question is how about key chain in iOS? the data is gone after app uninstalled?

akiradeveloper avatar May 07 '18 05:05 akiradeveloper

I'm not an expert on iOS, but I think when your user uninstalls the app, the data from keystore will be destroyed. 🤔

mCodex avatar May 23 '18 23:05 mCodex

On iOS encrypted data persists.

petrkrizek avatar Jun 24 '18 11:06 petrkrizek

Yes, for most versions of iOS, the keychain data persists. Further reading with some possible workarounds mentioned here: https://forums.developer.apple.com/thread/36442

taylorkline avatar Oct 22 '18 21:10 taylorkline

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 10 '20 20:06 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 10 '20 20:07 stale[bot]