Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Barcode scanner not working on iOS

Hi Manuel,

This will take some time, we'll update.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Barcode scanner not working on iOS

Hello! Looks like currently there is no invoke stampRead service on Load event. After we add it barcode scanner works and there is no error (tested on iPhone). Could you try to add it again and test? Let us know about result.

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

Barcode scanner not working on iOS

Hello,
Pages losing onload events is another problem I've been having with appery since the begining, and hasn't been solved.

Back to this problem, I've added the event again, tested on my ipad and it doesn't work. Can you test on an ipad?

Thanks

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Barcode scanner not working on iOS

Strange... Yes, we'll test.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Barcode scanner not working on iOS

Reproduced again on iPad. Working on it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Barcode scanner not working on iOS

Hi, problem with missing Load events will be fixed next release (in a week approximately), this problem is not reproducible on our test environment. As for Barcode scanner looks like there is some issue with your app logic. Please add alert in mapping where you map parameter of barcode service to localStorage to see what is the value you get after you scan barcode.

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

Barcode scanner not working on iOS

Hello,
On load, the service stampRead is called. There's an "on complete" event that redirects to another page. It's never redirecting, so I asume the stampRead service is not beign completed. So the scan is never done. The scanner never appears on screen.

Anyway, I've set an alert on the localStorage variable that stores the response of the scanner.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Barcode scanner not working on iOS

[quote:]Anyway, I've set an alert on the localStorage variable that stores the response of the scanner[/quote] and what you get there?

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

Barcode scanner not working on iOS

I get nothing.

I don't understand what this would do. As I've told you, the scanner never launches, so I can't scan, let alone receive an answer from the scanner.

Just to check, I've tested this change on android, and I get the alert with the response of the scan correctly.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Barcode scanner not working on iOS

Could you clarify please how do you build .ipa files. Looks like you're building outside Appery.io. There might be some dependencies you're missing and Barcode scanner can be added to the project in a wrong way. Could you check that please?

Return to “Issues”