RonnyWeiss / APEX-QR-Code-Scanner

This Region Plug-in is used to scan QR Codes. If any string has been detected an APEX Item can be set, Dynamic Action can be fired or JavaScript can be executed. Login for Demo is: user-demo / 123456@
MIT License
27 stars 11 forks source link

QR Scanner stops scanning on Iphone (Safari/Chrome) #13

Closed sietse-pp closed 3 years ago

sietse-pp commented 3 years ago

Hi Ronny, Thanks for the plugin. We're using it to scan QR codes on mobile phones and this works great on Android. We have one issue however: after some scans on an Iphone (6-10 scans often) it stops recognizing QR codes.

The situation:

  1. QR scanner plugin sets an item when a QR code is scanned.
  2. On change of this item, a message is shown and after some delay (setTimeout), $("#qr_scanner").trigger("resetValue"); is called.
  3. Scanning the same code or a different one goes well for about 6-10 tries
  4. The camera is still working but no red border appears around QR codes anymore. It doesn't seem to recognize any QR codes at this point.

Any idea what we can do about this?

Thanks!

RonnyWeiss commented 3 years ago

Which version are you using?

RonnyWeiss commented 3 years ago

Do you have any errors on console in console of safari?

sietse-pp commented 3 years ago

Thanks for replying. We were using version 1.5! But we were in a hurry and ended up using the Javascript library Html5-QRCode.