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.tsfile to use alocalhostashostname(since this is recommended fornavigator.geolocationby capacitor) - Changing the
capacitor.config.tsto use a differentUserAgentby usingoverrideUserAgentto 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