Dynamsoft / barcode-reader-javascript

Dynamsoft Barcode Reader JavaScript SDK for package managers. PDF417, QR Code, DataMatrix, MaxiCode and more are supported.
https://www.dynamsoft.com/barcode-reader/sdk-javascript/
Other
168 stars 111 forks source link

Known issue in iOS 17 #135

Open Keillion opened 8 months ago

Keillion commented 8 months ago

While alert, video will stop in Safari of iOS17.x.

The video will not continue after you close the alert dialog.

The behavior can't be detected without invasive code, so we can't workaround it.

Solution:

Don't use alert in production.

Or offer a button of play which will call scanner.show() or scanner.open(), so end user can manually restart video.