Page 1 of 1

Android Camera and Microphone Permissions for the Native Browser

Posted: Thu Dec 22, 2022 1:55 am
by JereMiami
This post is about the native android browser created using MobileControlCreate. It is not about the browser widget, which I assume cannot request permissions as the WebRTC flag is set to false. (https://forums.livecode.com/viewtopic.p ... ls#p220398

After giving a livecode standalone application permission for both CAMERA and RECORD AUDIO using androidRequestPermission, a website that needs access to the device's camera and microphone still ends with "NotAllowedError: Permission denied" (e.g., https://test.8x8.vc/)

But visiting the same website with the built-in chrome application web browser typically installed on all android devices, results in the permission requests being prompted and capable of being granted by the user.

My question are then:

1) is there any javascript that I can execute using mobileControlDo ito prompt the permission request for the native browser created within the standalone application (e.g. getUserMedia)?

2) is there a url for the native browser that i can navigate to (e.g., "chrome://settings") to have a user change the settings manually?

Or is this just not possible to access these peripherals in the native browser within the livecode standalone application for the time being?