This is a migrated thread and some comments may be shown as answers.

Barcode Sample Example

10 Answers 129 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
pete
Top achievements
Rank 1
pete asked on 05 Feb 2013, 10:30 AM
Hi

I've just noticed the Barcode Scanner example on Github. I've cloned it and fired it up on my iphone 3gs.

It displays a button and a textbox but the button is not clickable.

I've updated Ion on the iphone.

Should the example work or do I need a newer version of Ion with plugin support?

I'll try it later on my Nexus 10.

10 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 05 Feb 2013, 10:36 AM
Hello Pete,

Can you please uninstall Ion and install it back again? We have a known issue that Ion must be cleanly installed in order for the plugins to work.

Sorry for the inconvenience. 

Regards,
Stefan Dobrev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Nikolay
Telerik team
answered on 05 Feb 2013, 10:36 AM
Hi Pete,

Thaks for noticing this. It is known issue and will be fixed soon. Please uninstall Ion and make fresh install again from the App store, redeploy app again in Ion. Also you can deploy barcode scanner with a provision directly on device and it will work.


Kind regards,
Nikolay
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
pete
Top achievements
Rank 1
answered on 05 Feb 2013, 03:10 PM
That worked a treat and the performance is good too.

I've tried code 39,128, UPC A and QR Codes so far that work.

I tried Telepen too which didn't work then I wasn't expecting i to.

Do you have a list of codes that should work?
0
Stefan Dobrev
Telerik team
answered on 05 Feb 2013, 03:54 PM
You can find the supported codes in the readme of the plugin on GitHub here.

Hope this helps,
sdobrev

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
pete
Top achievements
Rank 1
answered on 05 Feb 2013, 04:18 PM
I was looking at a different project on Github :(

Many thanks again Stefan.
0
Cihan
Top achievements
Rank 1
answered on 19 Feb 2013, 10:45 AM
Hello,

Barcode Scanner Example is working on iOS platform and android phone(2.3.3 and 4.0) but if i try to use in android tablet (Samsung 10.1 probably same issue on every model but i tried in GT-P5110) it's working in debug mode when i try to publish .apk on release or debug mode application gives and error on window.plugins.scanner line. Did i do something wrong?

Kind Regards.
0
Nikolay
Telerik team
answered on 20 Feb 2013, 11:28 AM
Hi Cihan,

We tested barcode sample on multiple devices, it seems that there is dependency on device model. On some of them sample works, on some not.
There are known issues in plugin itself:
https://github.com/wildabeast/BarcodeScanner/issues/4
https://github.com/phonegap/phonegap-plugins/issues/942

Mostly it works on phones and tablets with 3G module (Galaxy Tab 7.7) and not working on Wifi tablets (Nexus 7 and Acer Iconia A700)

We logged this issue and will investigate it. Thanks !

All the best,
Nikolay
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Cihan
Top achievements
Rank 1
answered on 21 Feb 2013, 07:38 AM
Hi Nikolay,

Thanks for your interest. What is the priority for this issue on your side or do you have any idea about approximately due date for this issue? I have to fix this problem as soon as possible beacuse of my requirements.

On the other hand i don't get something in here. Application works on if i deploy with usb cable on debug mode, everything is fine but if i deploy with usb cable on release mode or setup application debug.apk, release.apk barcode is not working and application not crash but your refer links says camera not working or application crashs.

Kind Regards.
0
Nikolay
Telerik team
answered on 22 Feb 2013, 11:22 AM
Hi Cihan, 

We have investigate your case and it seems that this Android bug might be causing the problem. The issue is that the "Barcode Scanner" path has a space in its name and its JavaScript cannot be loaded. One way to workaround this is to copy the contents of barcodescanner.js in a separate file which path does not have spaces and reference this file instead the one we store in the Plugins folder.

The reason why this is working in Debug is that we are extracting all the assets to the SD card on the device in order to enable LiveSync. And loading files with spaces in the path from the SD card seems to work fine.

Please try the above mentioned workaround and see if it is going to work for you.


Greetings,
Nikolay
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Cihan
Top achievements
Rank 1
answered on 22 Feb 2013, 01:25 PM
Hi Nikolay,

Your solution resolved my problem. Application works well now when i deploy using .apk file.

Kind Regards.
Tags
General Discussion
Asked by
pete
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Nikolay
Telerik team
pete
Top achievements
Rank 1
Cihan
Top achievements
Rank 1
Share this question
or