liulyxandy-codemao commented on issue #1429:
URL:
https://github.com/apache/cordova-android/issues/1429#issuecomment-4824778770
Hi, I'm encountering what appears to be the same issue on a much newer
environment and would like to confirm whether WebAuthn is currently unsupported
in `cordova-android` WebView, or if additional configuration is required.
### Environment
* Android: `16`
* Android System WebView / Chromium: `149.0.7827.91`
* Running inside Cordova WebView (`wv`)
* Secure Context: `true`
### Detection results
Attempting to call:
```js
navigator.credentials.create({
publicKey: ...
})
```
results in:
```text
NotSupportedError:
The user agent does not support public key credentials.
```
Since the app is already running in a secure context and the Credential
Management API is available, I expected `PublicKeyCredential` to also be
exposed on this recent WebView version.
Is WebAuthn intentionally unsupported in `cordova-android` WebView, or is
there some additional setup required to enable `PublicKeyCredential` support on
modern Android WebView versions?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]