instascan
instascan copied to clipboard
Unable to capture image on web view based browsers
When I load this URL in chrome, it prompts me for the permission that this website requires camera permission. After allowing it, camera starts.
But in my web view browser, there is no such prompt due to which it's not opening the camera. It shows the unknown in the cameras section when I am accessing this URL in web view.
Any help with this?
I think, I am facing the same issue. when I open the browser then I can not see the camera preview but my camera light is on and scanning is working when I show the qrcode to camera. kindly informed me if you have solve this issue thanks.
same issue here, maybe it's because webview-based app has the permissions set in XML. After compiled, there is no way to enable this functionality, because the webview layer does not talk directly with the device, it depends on the lowest layer where JAVA was compiled to interact directly with the device. That is, in my case, it will only work if I upload another compilation with the permissions to use active camera.