Ngx-scanner: Not working with Edge

Created on 23 Apr 2018  路  4Comments  路  Source: zxing-js/ngx-scanner

Bug, feature request, or proposal:

Edge gives an error after asking for permissions

What is the expected behavior?

Should work as in Chrome, FF, ...

What is the current behavior?

Console-output
zxing-scanner askForPermission InvalidAccessError
zxing-scanner ngAfterViewInit It was not possible to check for permissions.

What are the steps to reproduce?

Access the Demo-URL or starting the component locally with Angular-CLI

What is the use-case or motivation for changing an existing behavior?

Support all major Browsers

Which versions of Angular, ngx-scanner, OS, TypeScript, browsers are affected?

Latest Develop-branch, Latest release

Is there anything else we should know?

P0 PRs welcome bug investigation browser

Most helpful comment

I've found the issue (Edge somehow only accepts null as srcObject and not undefined....).
Will be fixed in the next release

All 4 comments

I've found the issue (Edge somehow only accepts null as srcObject and not undefined....).
Will be fixed in the next release

Dear JS
image

Published in v1.1.0-dev.c38faf.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings