-
Notifications
You must be signed in to change notification settings - Fork 405
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
Android encryption migration #328
Conversation
Hi. When would this change be available in the stable channel? |
This is already available in version 5.0.2 |
I've been running into the issue #248 where this exception is hit on release builds, and even after trying version 5.0.2 it still occurs. On Android you have to open the App settings and clear data and cache. Then restarting the app it will start up. On iOS there is no recovery and the app is unable to start - at least if you are trying to access secure storage. Should I raise another issue on this?
|
If the exception is also occurring on iOS you should open a new ticket. I am not aware of this problem on iOS. For Android, are you using the following?: AndroidOptions _getAndroidOptions() => const AndroidOptions(
encryptedSharedPreferences: true,
); |
Not to worry I figured it out. Thank you I'm not using those options, please could you explain where this code should be placed and is this platform specific? Thank you. |
Hey, @justoke! |
|
This PR probably fixes #161, #248, #278, #312
This PR enables the migration of data to encryptedSharedPreference when enabled.
This PR also adds some other checks to ensure initialization performs correctly.