TF-2871 Fix keychain not being accessible when application is terminated
This commit is contained in:
@@ -15,7 +15,7 @@ class KeychainController: KeychainControllerDelegate {
|
||||
init(service: KeychainControllerService,
|
||||
accessGroup: String) {
|
||||
keychain = Keychain(service: service.identifier,
|
||||
accessGroup: accessGroup)
|
||||
accessGroup: accessGroup).accessibility(.afterFirstUnlock)
|
||||
}
|
||||
|
||||
func retrieveSharingSessionFromKeychain(accountId: String) -> KeychainSharingSession? {
|
||||
|
||||
@@ -79,6 +79,7 @@ class CoreBindings extends Bindings {
|
||||
iOptions: IOSOptions(
|
||||
groupId: AppConfig.iOSKeychainSharingGroupId,
|
||||
accountName: AppConfig.iOSKeychainSharingService,
|
||||
accessibility: KeychainAccessibility.first_unlock_this_device
|
||||
)
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user