Skip to content

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

@ghevge

Description

@ghevge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions