window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable returns false in iOS 15.4+

I have a mobile app which is uses Web authentication PublickKeyCredential api provided by WebKit to authenticate users and use oauth token from the response to login to the app.

Since iOS 15.4 released this following snippet is returning false

window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable

Please provide a workaround or let me know when this will get fix in WebKit

Do you know if your users who have encountered this issue have Face ID enabled? I have observed that PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable sometimes returns false when Face ID is not enabled, though I can't find this behavior documented anywhere.

window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable returns false in iOS 15.4+
 
 
Q