cordova-plugin-webview-proxy icon indicating copy to clipboard operation
cordova-plugin-webview-proxy copied to clipboard

[BUG] cordova-plugin-webview-proxy doesn't play nice with navigator.mediaDevices in a cordova ios app

Open ghevge opened this issue 1 year ago • 1 comments

Describe the bug cordova-plugin-webview-proxy doesn't play nice with navigator.mediaDevices in a cordova ios app. when cordova-plugin-webview-proxy is configured to work in an ios app, navigator.mediaDevices will always return undefined. The source of this problem are the 2 entries in the config.xml:

<preference name="scheme" value="app" />
<preference name="hostname" value="testapp"/>

If i'll remove these 2 entries, navigator.mediaDevices will start working, but the cordova-plugin-webview-proxy will stop working

To Reproduce Steps to reproduce the behavior: mentioned above

Expected behavior I would expect cordova-plugin-webview-proxy not to impact other functionalities

ghevge avatar May 30 '23 17:05 ghevge