svelte-qr-scanner
svelte-qr-scanner copied to clipboard
Simple Svelte QRCode Scanner using instascan
Hi! 👋 I'm having this issue:  It seems that it need to be updated. I'm using Svelte 3.0.0.
Apparently npm is not exposing svelte component and import must be done by: using 'svelte-qr-scanner/src/QRScanner.html' instead of 'svelte-qr-scanner'.
Add startOnClick component prop. This would make the component not start the Camera/Scanner until the placeholder is clicked.
Camera are asking twice to start. This is because new Scanner and Camera ask both for permission.