mCodex / react-native-sensitive-info

Save sensitive data into Android's Shared Preferences with keystore encryption/iOS's Keychain for React Native
https://mcodex.dev/react-native-sensitive-info/
MIT License
979 stars 216 forks source link

Lost credentials on Android update #230

Open juanapp opened 4 years ago

juanapp commented 4 years ago

Hi all,

We are using in one of our apps this library to store the login credentials and what we notice is that on every update, a lot of users have to relogin. As well, I have the feeling that some of the users are not able to keep the credentials saved. Is there any known issues on different Android versions where this might happen?

Thanks

mCodex commented 4 years ago

Hi all,

We are using in one of our apps this library to store the login credentials and what we notice is that on every update, a lot of users have to relogin. As well, I have the feeling that some of the users are not able to keep the credentials saved. Is there any known issues on different Android versions where this might happen?

Thanks

From which version have you upgraded?

juanapp commented 4 years ago

@mCodex We currently use version 5.5.5 and we haven't updated. The only thing that we have updated it's our application but the version of Sinfo is the same.

mCodex commented 4 years ago

I see, that is strange. Maybe something to investigate. 🤔

mudassiriqball commented 2 years ago

@mCodex I am also facing this issue. It's not saving data with android version 8. Giving this error: "Error storing data [Error: Failed to obtain information about key]"

namdao commented 2 years ago

hi @mCodex , I have using version 5.5.8 and a lot of user have to relogin, I was debug on some device which is relogin then token have response null (on iOS). But I can't reproduce when develop.

Environment: redux-persist: 6.0.0 react-native-sensitive-info: 5.5.8 react-native: 0.64.2