gruhn / vue-qrcode-reader

A set of Vue.js components for detecting and decoding QR codes.
https://gruhn.github.io/vue-qrcode-reader
MIT License
2.03k stars 330 forks source link

The h5 page is used in the Android app, and the native input tag is used in the h5 page for uploading pictures. There is no problem in uploading pictures. But clicking on qrcode returns NotAllowedError directly, and the Android app opens the album and camera permissions #392

Closed LunckyB closed 5 months ago

LunckyB commented 7 months ago

I have two buttons, one is the upload picture button, the second is to click evoke scan function. uploading pictures is no problem, click scan code to report an error;

"vue-qrcode-reader": "^3.1.0" <qrcode-stream @decode="onDecode" camera="auto" :torch="false">

It works fine on ios, android is not

gruhn commented 7 months ago

NotAllowedError indicated that the user has rejected camera access. You might want to check your browser settings and reset permissions. For Chrome on Android: https://support.google.com/chrome/answer/114662?hl=en&co=GENIE.Platform%3DAndroid

github-actions[bot] commented 5 months ago

This issue has been marked as stale. If there is no further activity it will be closed.