Post

Replies

Boosts

Views

Activity

Reply to kSecAttrAccessControl not showing biometric prompt in simulator
Hi @eskimo - Thanks for reverting No, Just like how Touch ID prompt is being shown automatically on physical devices when accessing an item from keychain which was saved with accesscontrol set to kSecAccessControlTouchIDAny, we want to see the same prompt automatically in the simulators as well When we set an item in keychain with accesscontrol set to kSecAccessControlTouchIDAny (or) kSecAccessControlBiometryAny, the apple documentation states that it will Constraint to access an item with Touch ID for any enrolled fingers, or Face ID. Hence when we are accessing the item back again, we're seeing a biometric prompt only on physical devices and not on simulators (This is the issue we're referring to)
Aug ’23
Reply to kSecAttrAccessControl not showing biometric prompt in simulator
Hi @eskimo - Yes the Face ID is enabled in simulator. And I've confirmed that the prompt is coming in the simulator when using the below code with context.evaluatePolicy. [context evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:localizedReason reply: ^(BOOL success, NSError *authenticationError) { //code here to handle success or failure }]; But, the original issue I've reported here is that the Face ID prompt is not shown only in simulators and only when when accessing an item from keychain which was saved with accesscontrol set to kSecAccessControlTouchIDAny
Aug ’23