vue-qrcode-reader icon indicating copy to clipboard operation
vue-qrcode-reader copied to clipboard

v3 release breaks ipad/safari compatibility

Open kris-sum opened this issue 3 years ago • 5 comments

Describe the bug The v.3.0.0 release breaks compatibility for ipad. Previous v2 release worked fine.

To Reproduce Browse demo page on an ipad

Screenshots Debugging the ipad remotely, I get

Error in callback for watcher "shouldScan": "TypeError: Reflect.construct requires the first argument be a constructor"
found in
---> <QrcodeStream>


vue.runtime.esm.js?2b0e:1889 TypeError: Reflect.construct requires the first argument be a constructor
| globalHandleError | @ | vue.runtime.esm.js?2b0e:1880
| handleError | @ | vue.runtime.esm.js?2b0e:1840
| run | @ | vue.runtime.esm.js?2b0e:4571
| flushSchedulerQueue | @ | vue.runtime.esm.js?2b0e:4311
| (anonymous) | @ | vue.runtime.esm.js?2b0e:1981
| flushCallbacks | @ | vue.runtime.esm.js?2b0e:1907
| promiseReactionJob
  • Device: iPad (5th gen)
  • OS: iOS 13.6.1
  • Browser: Safari

kris-sum avatar Apr 19 '21 10:04 kris-sum

We are experiencing same error on iPhone devices too (v13.7, v14.4). Any clues?

CrAsH1101 avatar Apr 23 '21 09:04 CrAsH1101

We are experiencing same error on iPhone devices too (v13.7, v14.4). too Any clues?

zch233 avatar Jul 15 '21 06:07 zch233

I experienced the same thing.

Desktop works fine with in both V2 and V3. JSFiddle.

In version 3 the detect event fires, but returns null and everything silently fails. With version 2, detect fires and returns the correct values and decode then gets the correct payload.

dpirie avatar Oct 15 '21 17:10 dpirie

I has the same issue.

DaiND1902 avatar Nov 22 '21 07:11 DaiND1902

I have the same problem too.

yknamja avatar Nov 22 '21 07:11 yknamja

This issue has been marked as stale. If there is no further activity it will be closed.

github-actions[bot] avatar Aug 01 '23 00:08 github-actions[bot]