zxing-js/library

Gmail open site and plugin not working

Closed this issue · 2 comments

Describe the bug
My Clients can't call the camera after opening the connection in Gmail and selecting Safari to open it, using the Demo link(https://zxing-js.github.io/library/examples/qr-camera) doesn't work either, and there's no output of any error message in the Result, and there's a problem with the phones iPhoneSE OS:17.5.1 and iPhone15 Promax OS:18.1.1, I've asked a few friends around me to try it with no problems, and I'm not sure if it's a bug or not.

If you have the same model and version of Apple phone users are also welcome to test it!

To Reproduce
Steps to reproduce the behavior:

  1. Send a demo link(https://zxing-js.github.io/library/examples/qr-camera) to your own Gmail address.
  2. Click on the link and select Safari in the pop-up window to open it.
image
  1. Click on the Start button on the page to see if the camera works.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhoneSE]

  • OS: [e.g. iOS17.5.1]

  • Browser [e.g. stock browser, safari]

  • Device: [e.g. iPhone15 Promax]

  • OS: [e.g. iOS18.1.1]

  • Browser [e.g. stock browser, safari]

Additional context
Add any other context about the problem here.

Let the customer restart the phone is normal, I do not know what happened exception problem, try to try the process of accidentally reproduced once,decodeFromVideoDevice method call will not go to the catch

If you run into a similar problem as me later on, try restarting your phone