Make keychain data better accessible

Use `kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly` instead of `kSecAttrAccessibleWhenUnlockedThisDeviceOnly` when storing data into the keychain to allow the data to be also fetched when the app is launched in the background
This commit is contained in:
Andreas Linde
2014-08-26 20:12:50 +02:00
parent 09d2e5089f
commit 7b61bfa2a6

View File

@@ -282,7 +282,7 @@
andPassword:stringValue
forServiceName:bit_keychainHockeySDKServiceName()
updateExisting:YES
accessibility:kSecAttrAccessibleWhenUnlockedThisDeviceOnly
accessibility:kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
error:&error];
}