I have been messing around with the plugin on browser platform, and it seems quite messed up…
The prepare
method takes like 10 seconds (which is unacceptable), but eventually, it fires up the “allow webcam” message, and then it takes 20 more seconds to start the camera.
The preview is not shown and is kept below the ion-app, you need to manually set it to display:none (or equivalent) to show it. And it doesn’t seem to recognize the qr codes I show it.
Anyway, I would remove the “browser” platform compatibility from the QR Scanner plugin… It is not there yet, by far :-S
I am turning towards a pure JS QR code reader (with other problems that arise from doing so,check thread here).
If someone has a suggestion about the usage of QR Scan native plugin on browser, I will galdly take it. But it seems a rather recurring topic with no solution as of yet (here or here for example).
In the meantime I will try the pure HTML5 solution…
Thank you all!