I want to implement Webauthn in my capacitor ionic vue app.
It should be supported and it navigator.credentials
is available everywhere (desktop safari, mobile Safari even when I use the native browser from capacitor using @capacitor/browser
to open a page I can see that navigator.credentials
is available.
But it stays undefined
when accessing it directly from my application.
I have tried:
- Changing the
capacitor.config.ts
file to use alocalhost
ashostname
(since this is recommended fornavigator.geolocation
by capacitor) - Changing the
capacitor.config.ts
to use a differentUserAgent
by usingoverrideUserAgent
to excacyl match that of my safari browser on ios
I don’t know what else to try.
also not only navigator.credentials
is missing but also navigator.serviceWorker
and navigator.mediaDevices
(but fixes for these two did not fix my issue)
1 post - 1 participant