Hello, I’m new in capacitor. I’m want to use navigator.getUserMedia in my capacitor app for android only and access the microphone through WebView as the PWA does on the android browser.
at the moment I’m getting undefind for navigator.getUserMedia and navigator.mediaDevices.
Is it possible? Any Demo project for that use
I have permissions for camera and audio recording.
Have you set the server.hostname or server.url variables in your Capacitor config? If you are, it disables the secure context of your application, and APIs like navigator.getUserMedia() won’t function.