forked from expo/expo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[secure-store][ios] Add synchronous functions and change keychain han…
…dling (expo#23841) # Why Synchronous read and write functions will be added to Android in this PR expo#23804, we need to add them to iOS too. The Android PR also changes the keychain handling to allow users to save authenticated and unauthenticated values under the same keychain, this PR adds similar changes to iOS. # How Added synchronous functions, keychainService will now add a "auth" or "no-auth" suffix to it's name to allow saving authenticated and unauthenticated values into the same keychain from the JS perspective. This behaviour is a more intuitive for the users and makes Android and iOS versions of the module work exactly the same, but adds some complexity on the native side. # Test Plan Tested on a physical iOS 16 device. ## Do NOT merge before expo#23804 as this PR relies on some code changes from that PR
- Loading branch information
Showing
2 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters