Can I get Camera access in App Inventor Webviewer using CustomWebView Extension if Yes then How? Thank You
I think you have to use this block too
Yes you can.
That method only works when webview requests for permissions and triggers OnPermissionRequest event.
Also your app should also have same permission which you want to grant to webview.
Try adding the AppInventor Camera component to get permission.
Also, if your test fails under the Companion, try again with an APK.
My website needs camera access from the browser if I use this site on chrome this works but on CustomWebView I'm not getting a pop-up to allow the camera. That's my code and website
This is an universal solution:
Also mostly websites need these permissions:
But why your blocks look different.
Because you did not allow that permission.
Tap on allow when permissions are asked.
pop-up not showing that's why I use camera component and call it on button click so this will ask for permission. then I allow camera permission, but still doesn't work,
I'm doing something wrong?... please review my code.
That's my code
Which version are you using?
Make sure you use latest version.
Also post an apk and aia.
Version updated still doesn't work Here is my aia file. webviewextended (1).aia (78.3 KB)