Post

Replies

Boosts

Views

Activity

Screen is frozen after performAutoFillAssistedRequests
Hi, I am trying to implement passkey in my app and noticed this strange behavior. How to reproduce (iOS 16.0 beta): Call ASAuthorizationController.performAutoFillAssistedRequests Tap a text field to trigger the quick type UI Tap the key icon, and I will see a modally presented view controller with a list of credentials Select a passkey, and the view controller will be dismissed Now the app is frozen, I can not tap the text field or any other buttons If I switch to another app and then switch back (that is, making the app to background and then active again), the app will resume In step 4, if I select a password, the app will not freeze. If I dismiss the view controller by swiping down, the app will not freeze. It will only freeze if I select a passkey. I am testing using a simple view controller with only two text fields, and I am not doing anything special, so I wonder if this is a bug in the framework. Could someone help me to verify it?
1
0
869
Aug ’22
How to find out whether the user dismiss the credential action sheet or there is no credentials
Hi, I want to implement passkey in my app. I am wondering if there is a robust way to distinguish between these two situations: the user cancels the action sheet (ASAuthorizationController) there are no credentials at all Both situations give a canceled error. I noticed a localized string in NSError.userInfo explaining the reason in situation 2, but this is not a robust way of distinguishing between them because the behavior can change in the future.
1
0
763
Aug ’22
ASAuthorizationController is showing password even if there is no ASAuthorziationPasswordRequest
I noticed the behavior of ASAuthorizationController has changed in the lasted beta. When the user only has a password but no passkey, even if I only pass in an ASAuthorizationPublicKeyCredentialAssertionRequest and no ASAuthorizationPasswordRequest, the action sheet will display the password. Is this by design? This has some impact on my implementation. Will this change again in the future?
2
0
1k
Sep ’22