Skip to content

Commit 48a2a9e

Browse files
Keychain: use kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly instead of deprecated since iOS 13 kSecAttrAccessibleAlwaysThisDeviceOnly. (#4169)
1 parent 563854e commit 48a2a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseInstallations/Source/Library/SecureStorage/FIRInstallationsKeychainUtils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ + (BOOL)setItem:(NSData *)item
6262

6363
NSMutableDictionary *mutableQuery = [query mutableCopy];
6464
mutableQuery[(__bridge id)kSecAttrAccessible] =
65-
(__bridge id)kSecAttrAccessibleAlwaysThisDeviceOnly;
65+
(__bridge id)kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly;
6666

6767
OSStatus status;
6868
if (!existingItem) {

0 commit comments

Comments
 (0)