-
Notifications
You must be signed in to change notification settings - Fork 389
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] [Beta] Version 10 - Full migration to custom implementation of SecureSharedPreferences #769
Comments
Hi @juliansteenbakker - Thanks for your work on this! 👏 Have just tested the When running the app on a device which has written to secure storage prior to this upgrade, my app crashes on startup (when I first call
If I uninstall the previous version of my app (using This is using a physical Google Pixel 7 pro on Android 15, Flutter 3.22.3. Have yet to try on iOS but will do that later. If there is any other information you need or anything you want me to try, do let me know! 👍 |
Can confirm that this issue does not occur on iOS. This is also a physical device (iPhone 12), iOS 16, Flutter 3.22.3. |
Did you set the |
Instantiated with defaults!
Will try with encrypted preferences on now 👍 |
Can confirm that I get the same behaviour when initialising like this:
This is when opening the app after upgrading from the version that uses As before, the app seems to be behave as expected in encrypted preferences mode with a fresh install! I am going to turn encrypted prefs on in |
Thanks for checking! I think we need a migration helper for this use case. I will let you know when i have some work done. |
No problem @juliansteenbakker - I can confirm that upgrading from |
Hi @juliansteenbakker thanks for your work! When will version 10 be released? |
I wish we could have some news about this, I still can't fix the issue on many devices, and I might have to use another library for now. Any updates on the progress? |
any updates here guys? thank you very much in advance |
I am dropping this package because of this problem. I hope one day you can fix it and we can return. |
Yeah @bahadirarslan, I'm also thinking about that, even downgrading to version 6 it is not working in many devices here in our application :( |
@juliansteenbakker so am I understanding correctly that you have accomplished all the main heavy lifting with moving away from the deprecated package.. but now you need help writing a migration so that it doesn't crash existing apps? |
Hi all, i have been working on a migration which i am testing right now. Once done, i will release this under a new beta version. |
@juliansteenbakker , could you please provide an approximate timeline for this beta release, so that I can plan accordingly for my project? |
A long outstanding problem with the Android part of this package is the deprecated usage of older cryptography usage (CBC with PKCS5/PKCS7 padding) for SDK < 23, and the already deprecated JetSec Crypto library that is being used for the current implementation of SecureSharedPreferences.
To fix these issues, i am moving to a custom implementation of the JetSec Crypto library, and removing all other deprecated methods of encrypting the shared preferences. This requires the minimum SDK to be raised from 21 to 23.
I am currently testing the new implementation in the branch
version-10
. Any help is greatly appreciated.Affected issues:
#512 #522 #562 #584 #627 #672 #694 #713 #729 #758 #759
The text was updated successfully, but these errors were encountered: