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

Not restore information after reinstall application on android

Open abaddonGIT opened this issue 7 years ago • 3 comments

Hi guys. I not restor my information after app reinstall. It works on ios (after resinstall app i can get my id from keychain) but not worked in android. manifest file: <application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_******_launcher" android:allowBackup="true" tools:replace="android:allowBackup" android:fullBackupContent="@xml/backup_rules" android:usesCleartextTraffic="true" android:theme="@style/AppTheme"> rules file: <?xml version="1.0" encoding="utf-8"?> <full-backup-content> <!-- we want to autobackup all shared preferences --> <include domain="sharedpref" path="." /> </full-backup-content> Set item: const keychainOptions = { sharedPreferencesName: 'com.*****', keychainService: 'com.******', encrypt: true, }; SInfo.setItem(key, JSON.stringify(value), keychainOptions); RN veriosn - 0.55.3 react-native-sensitive-info version - 5.2.7

abaddonGIT avatar Feb 01 '19 21:02 abaddonGIT

I would also like to persist the sensitive info after the app is uninstalled and reinstalled again. Is there a way of achieving this? (in Android, because I know that on iOS this does persist)

samcampisi avatar Mar 29 '19 10:03 samcampisi

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]