Hi! 👋
Recently, we added the passkeys feature to our SPM package/demo application. We based our solution on the Apple's sample implementation.
However, after some time, we noticed that the ASAuthorizationController.presentationContextProvider
configuration is not required. Moreover, the ASAuthorizationControllerPresentationContextProviding.presentationAnchor(for:)
method never gets called.
We're wondering if there are any unwanted side effects that could be caused by removing this part of the code. We were not able to find any, as everything works the same way as before we removed the presentationContextProvider
-related code. However, we're guessing that there must be a good reason why it is included in the demo app 🤔
Also, we're curious about how it works under the hood. Does it use the currently visible UIWindow
by default?