yudielcurbelo / react-qr-scanner

A library to scan QR Codes in react.
https://yudielcurbelo.github.io/react-qr-scanner/
MIT License
223 stars 31 forks source link

Permissions on Safari are asked everytime #51

Closed Abe101 closed 3 months ago

Abe101 commented 3 months ago

If I use the scanner on safari it asks permissions for camera. But the next time I open the scanner again it again asks for permissions. Is there a way for me to handle the permissions myself or if once permissions are given then don't ask again?

yudielcurbelo commented 3 months ago

If I use the scanner on safari it asks permissions for camera. But the next time I open the scanner again it again asks for permissions. Is there a way for me to handle the permissions myself or if once permissions are given then don't ask again?

That is safari implementation. Please watch video. https://github.com/yudielcurbelo/react-qr-scanner/assets/15385920/2b7a6d37-baff-43c0-b090-ad0acfb680b6