Adding Camera and Microphone Permission in Web View Extra Extension

Hello,

Please, Could I know how I can add camera and microphone permission in web view extra extension.

Attached below is for Custom Web View, taken from app mit inventor Forum.

I have a website that takes live view, and on testing in browser, it requires camera and microphone acccess otherwise it won't work and am trying to make my app majorly with web view extra extension. Thanks

You will need to use the CustomWebView extension for this. It is not available with the webviewextra extension.

Thank you so much for your reply, if I am to use custom web view, do I need to replace all blocks having web view extra.

Its kinda hard for me, could I send you my aia file you look at it? I have struggled with this for a month now.

@Jack_Wills

Your post indicates exactly what the OP wants to achieve. Setting the required permissions in an android webview is not trivial, and that feature is not available for the webviewextra extension.

To add camera and mic permissions in a WebView Extra extension enable relevant permissions in the manifest and handle permission requests in the WebView settings.

The work is done on this, in the extension, but I have not released it. However cam and mic permissions are coming to the webviewer in the next AI2 release.