-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v6.0.0] Discussions and proposals #196
Comments
Official RN docs included your library to the Security page https://reactnative.dev/docs/security. It would be amazing if eventually we get Android's Keystore as default storage :) |
@kneza23 thanks for pointing it out! I didn't know 😱 Yeah, I think it is time to do this migration |
This afternoon I will create a new branch from master and I'll merge keystore into that branch. So, we gonna have a starting point for this 👏 👏 👏 --- Edit --- I've merged everything into feature/keystoreAsDefault. |
There is a new release available in npm which includes keystore by default. For more information, please read here. |
Is there a solution for data migration? I would love to integrate this version but I'm also afraid that it will cause quite some troubles to users that have data saved.. |
Unfortunately there is not. Maybe we need an extra method to read from sharedPreferences without using keystore something like |
@mCodex That would be ideal... I think what we need is to have a way to trigger the migration from everything that is stored on SharedPreferences to the KeyStore, keeping the same structure and then deleting it from SharedPreferences. That would save the hassle of the first time run after upgrading. |
Yeah, I couldn't agree more. This is why v6.0 is yet in alpha release. I don't want to developers updating RNInfo and their users losing data. On the other hand, there is a work to do to handle this scenario but no one is taking care of it right now. I'll see if I can code something to speed up this release. |
@mCodex when are your hope to release v6, we are waiting for great news ❤️ |
@mCodex |
Do you need any help with this? |
Hi Marcus, of course! Being honest I still haven't looked into this yet. PRs are always welcome. |
@mCodex I'll take a look then |
In lieu of some kinda wholesale migration to deal with old unencrypted values in shared preferences, we have cooked up something super simple for our app: when we call The patch is just a one line change to
Again: super simple. Maybe too simple... and it does require the caller to do some work so still a breaking change. This could be made completely transparent (to callers) by dropping the |
Hi guys. Any news or estimates on this? |
Hi, is it possible to include fail attempt for each biometric authentication for both Android and iOS? |
Hi, is it possible to include #264 as well? That will greatly improve the user experience. |
Hi. May I know whether 6.0.0 supports Face Recognition for Android? |
I would like to propose a delete all function |
Is macOS support added ? |
Are there any news on the data migration part? Version 6.x is documented as stable but it looks like it's actually still considered alpha because of the data migration. So I think many projects are stuck with 5.x until there is either a silent migration or at least some workaround to ensure no data is lost. |
Any update on the issue? The data migration is a very important part for us because we don't want all our users to login again. |
Since v6.0.0 the lib should use Android's Keystore to encrypt data for better security purposes before saving it into shared preferences.
The problem
Data stored using RNSInfo's versions > 6 was saved in Android's shared preferences without keystore encryption then releasing v6.0 these data could be lost?
On the other hand, data stored using keystore's branch wouldn't be affected by v6
Checklist
The text was updated successfully, but these errors were encountered: