-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zxing-scanner not working in Cordova Web View #210
Comments
You don't have your permissions properly set. Do the following:
|
Thanks @benbrownlol. |
Anybody got this working on iOS? |
I'm not sure with Cordova, but inside a PWA it's impossible until now. |
Hi Obahcam, thx for your reply. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using zxing-scanner in Angular Web App and that Web App will load in Cordova App's Web View.
Scanner working fine in Chrome(Desktop/Tablet/Mobile) but its not working in Cordova App's Web View.
Note:
Camera permission already granted to the Cordova App.
zxing-scanner askForPermission TypeError:
navigator.mediaDevices.getUserMedia is not a function(...)
@zxing/ngx-scanner I was not able to define if I have permission for camera or not. TypeError: navigator.mediaDevices.getUserMedia is not a function(...)
The text was updated successfully, but these errors were encountered: