-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
[Question] Can we clarify IOSAccessibleStates and how to upgrade from 0.7 to 0.8 ? #290
Comments
I think I managed to answer some of my own questions with more research, thanks to reading the source code, Apple documentation, and @JoniVR comments on his PR. It would be nice if he or @ammarahm-ed could confirm if I understood correctly. 1/ You cannot change keychain accessibility on an existing instance. If you want to change it, you'll need to create a new instance, and therefore you won't be able to access the data stored in the previous instance. 2/ You need a data migration from one store to another one only if you change its instance/accessibility level. 3/
You don't need to specify an
The default value in Apple SDK is Apple documentation: https://developer.apple.com/documentation/security/keychain_services/keychain_items/restricting_keychain_item_accessibility The instance on my app which uses 0.7.1 has the |
Correct. There's probably a way to migrate the existing data, but we haven't seen an implementation yet.
Yes
Not entirely true iirc, the default is still
Indeed, existing instances from 0.7.1 will be using |
We have an issue with version 0.7.1 and iOS 16 (no persistence for some users). We, therefore, need to upgrade this library to 0.8 because I think it might solve our issue. We use an encrypted instance.
The release notes for version 0.8 states that it is a breaking change, but I have trouble understanding what to change. Here are my questions:
1/ Do I need to specify an
instanceId
like explained in the release note? (I don't use multiple instances)2/ We use this library with redux-persist. Should I make a data migration?
3/ I never specified any
IOSAccessibleStates
withsetAccessibleMode
. Do I need to specify one now? Can we please clarify whatsetAccessibleMode
is? What is the default value used if I don't specifysetAccessibleMode
? Documentation about this method does not really help me understand why and how I should use it.Thanks for providing this useful lib and thanks in advance for any answers.
The text was updated successfully, but these errors were encountered: