gabriele vidali
Posts: 0
Joined: Tue May 26, 2015 5:22 am

The barcode scanner component does not work in the browser

The barcode scanner apparently works only when using the appery.io. tester app. If I use the mobile browser to directly open the web app, the barcode scan button does not trigger the camera.

Andy Jacobs
Posts: 0
Joined: Thu Apr 16, 2015 11:34 am

The barcode scanner component does not work in the browser

I don't think it works in the browser. I've just built an app using the tutorial for this. At the end of the tutorial it mentions that you have to build the app to get the camera to operate. I've only tried this on Android by building the apk but it worked fine.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

The barcode scanner component does not work in the browser

Hello Gabriele,

Andy is absolutely right:
"Since we’re invoking a native component (barcode scanner), the app has to be tested as a hybrid app, or installed on the device. Testing won’t work in the browser."
https://devcenter.appery.io/tutorials...

gabriele vidali
Posts: 0
Joined: Tue May 26, 2015 5:22 am

The barcode scanner component does not work in the browser

Ok, that's what I thought.
However you might use https://github.com/LazarSoft/jsqrcode or https://serratus.github.io/quaggaJS/e... in the future for full non-hybrid web apps.

Thanks for clarifying it

Return to “Issues”