2 Replies - 878 Views - Last Post: 25 July 2018 - 08:17 AM

#1 O'Niel   User is offline

  • D.I.C Regular

Reputation: 14
  • View blog
  • Posts: 423
  • Joined: 13-September 15

QR-code scanner not displaying in Safari

Posted 09 July 2018 - 06:35 AM

Hi!

I want a mobile page to scan QR-codes and display it's content.
This is the page:
https://ndvibes.com/...ketSystem/check (index.html)

Very weird, it's working on Firefox (Linux), but not in Safari (iOS/iPhone).

I thought the library I used didn't supported Safari, or Safari restricted
it because of security reasons, but the demo of the library is working just fine on iPhone!

So it Safari seems to be supported, and it doesn't block it, because it's working in the demo...

I have no clue on how to fix this.
Safari asks for permission to access the camera, when granted, it just does not display the camera-content.
I also checked the settings of Safari, but didn't saw anything disabled that could block the webcam-video to show.

Thanks!

Edit: This code doesn't seem to work on Android either, very weird, the demo is working on desktop and mobile, and my own code is working on desktop, but doesn't work on mobile...

This post has been edited by O'Niel: 09 July 2018 - 07:40 AM


Is This A Good Question/Topic? 0
  • +

Replies To: QR-code scanner not displaying in Safari

#2 O'Niel   User is offline

  • D.I.C Regular

Reputation: 14
  • View blog
  • Posts: 423
  • Joined: 13-September 15

Re: QR-code scanner not displaying in Safari

Posted 25 July 2018 - 07:37 AM

Bump... still need an answer for this...
Was This Post Helpful? 0
  • +
  • -

#3 andrewsw   User is offline

  • head thrashing
  • member icon

Reputation: 6630
  • View blog
  • Posts: 27,105
  • Joined: 12-December 12

Re: QR-code scanner not displaying in Safari

Posted 25 July 2018 - 08:17 AM

Have you attempted to contact the author or raise a GitHub issue? Maybe you could enquire about browser support and see whether further support is planned, or maybe the author can advise why it might not work.

Alternatively, you could set up debugging/remote debugging for the mobile versions to see whether you can discover error messages.

(I suppose I should also mention that, if you get it to work, but the author doesn't support the browsers, then a future upgrade of the library could possibly cause it to fail again. Just something to be aware of.)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1