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