List devices in webrtc

I’m listing the devices of my phone in a ionic 4 app using Angular7 and cordova. Calling navigator.mediaDevices.enumerateDevices() I got all audioinput and videoinput but the labels are empty. I know I have to call to this method when the audio and video permissions are granted and I do that.

Connecting to a webrtc sample through Android browser works but through Android WebView not.

Why the labels are empty? How can i list all devices of my android phone?
Thanks

Hello! I know I’m a bit late, but in case someone else need it, I found that by the moment, there is no solution because is not a Ionic or Capacitor bug. It’s because of the way WebRTC is handled internally by the WebView.
I found here the solution:

WebRTC is handled internally by the WebView, not by Capacitor,
Capacitor only requests the required permissions, so this is a bug in
the WebView and we can’t fix it.

You can report it to google, but I’ve found this old issue that they
closed as won’t fix
669492 - chromium - An open-source project to help move the web forward. - Monorail