-
Notifications
You must be signed in to change notification settings - Fork 399
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][iOS] Unable to read any data #837
Comments
We also encountered a similar issue, especially when the iOS app has just launched, where data previously stored in the keychain may be read as null. This problem occurs with a certain probability and does not happen every time.This issue suddenly appeared after updating to iOS 18. |
Update: turns out you need to specify the same iOS options for read as for write. This requirement seems to be new. This fixed the problem for me on iOS, as I previously saved some data with default options and some with Update 2: on Android, in case you're using more than one |
@tlvdvlpmnt |
For me, it is working while I am using multiple First:
aOptions: AndroidOptions(
encryptedSharedPreferences: true,
preferencesKeyPrefix: 'session_storage_',
sharedPreferencesName: 'app_session_storage_',
)
Second:
aOptions: AndroidOptions(
encryptedSharedPreferences: true,
preferencesKeyPrefix: 'secure_storage_',
sharedPreferencesName: 'app_secure_storage_',
) However, it was not working before I added |
Thanks! |
We are using version ^8.0.0 (8.1.0 in builds). Recently started getting reports from users that they can't read any data from iOS keychain (iOS18.1.1). After some time noticed that the problem with reading data is also present on android. This is not reproducible for all users. Our team cannot reproduce this problem.
Maybe someone has encountered the problem of reading data that was previously read successfully?
The text was updated successfully, but these errors were encountered: