wu9007 / qrcode_scanner

🛠 Flutter QR code scanner plugin.
MIT License
357 stars 186 forks source link

show blank screen #81

Open hedraadel1 opened 3 years ago

hedraadel1 commented 3 years ago

i saw just blank screen when try to run scanner.scan();

ghost commented 3 years ago

same here

Sums-shadow commented 3 years ago

same to me. who resolve it?

Cerlancism commented 3 years ago

It seems https://github.com/leyan95/qrcode_scanner/commit/c7f6f87e70a9b65ae1cfbb3fc2b4fa4d3afc137b completely regressed all permission seeking and now the camera access is getting denied.

Downgraded by using qrscan: 0.2.19 works still

Update

I realised the example code https://github.com/leyan95/qrcode_scanner/blob/c7f6f87e70a9b65ae1cfbb3fc2b4fa4d3afc137b/example/README.md now has await Permission.camera.request(); probably will make it work.