Android: Error in secure save : [Error: Failed to obtain information about key]
emclab opened this issue · 1 comments
emclab commented
Here is the code in my React Native 0.66.3 app to secureSave with react-native-sensitive-info v6.0.0.alpha.9:
try {
let res = await SInfo.setItem(key, value, {
sharedPreferencesName, //<<==a string ended with Platform.OS
keychainService. //<<==a string ended with Platform.OS
});
return res;
} catch(err) {
console.log("Error in secure save : ", err);
}
The code above today started to throw the error Error: Failed to obtain information about key]
:
LOG key in secureSave : myID. //<<==key
LOG Error in secure save : [Error: Failed to obtain information about key]
It is on Android simulator running on macOS Big Sur. The Android Studio is 2020.3.1. The code has been running pretty stable until now. What causes the error?
stale commented
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.