Phonegap-plugin-barcodescanner: BarcodeScanner on Platform Browser does not open Camera

Created on 22 Aug 2015  路  14Comments  路  Source: phonegap/phonegap-plugin-barcodescanner

Dear Barcode-Team,

when I add the BarcodePlugin to a cordova project with Platform Browser and Android it only provides the Fallback (Enter Barcode by Hand) and does not open the "Camera".

I start it with "cordova run browser".

Do you have any hints on what i am doing wrong?

KR
faithless

enhancement help wanted

Most helpful comment

guys, I think you should remove that section on README regarding Browser Usage, since it does not have any support at all.

still waiting :/

All 14 comments

Hello,

I have the same issue. I would expect that when I run in "cordova run browser" mode the webcam would activate, Instead I get the fallback also.
Please advise.

This is not implemented as you can see here, i.e. it's only a stub for development/testing purposes currently.

Thank you for the replay.
In the README.md it says that Browser is a supported platform. I have assumed that it would mean a complete implementation.

Thanks again

Hello @daserge any update?

@tomilofano no one is currently working on it but "I hope" to be able to unify this plugin in the near future.

+111

any update on this?

Any update on this ?

maybe some update on this?

guys, I think you should remove that section on README regarding Browser Usage, since it does not have any support at all.

still waiting :/

Hello,

I have expanded this plugin to work with the browser camera, though it only supports QR, ITF and Code128. It has many restrictions but if you want to use it you can check out my fork:

https://github.com/Tjieco/phonegap-plugin-barcodescanner

Be careful since to open the mediadevice in browser you either need to use localhost or a HTTPS secure website. More information is in the _browser usage_ part of the README.

Hi @Tjieco we tried using your fork. It works perfect as an app but on browser it just opens up the camera and keeps on trying to scan without red line. The scan does not turns success. it keeps on throwing "NotFoundException". Any help on this side ??

+++

guys, I think you should remove that section on README regarding Browser Usage, since it does not have any support at all.
still waiting :/

This is my opinion! If the browser platform doesn't get any support atleast declare it as test/dev feature.

Was this page helpful?
0 / 5 - 0 ratings