Page 2 of 3

Barcode scanner not working on iOS

Posted: Wed Aug 14, 2013 8:54 pm
by Kateryna Grynko

Hi Manuel,

This will take some time, we'll update.


Barcode scanner not working on iOS

Posted: Thu Aug 15, 2013 12:18 pm
by Maryna Brodina

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.


Barcode scanner not working on iOS

Posted: Thu Aug 15, 2013 1:52 pm
by Manuel Menéndez Román

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


Barcode scanner not working on iOS

Posted: Thu Aug 15, 2013 1:58 pm
by Maryna Brodina

Strange... Yes, we'll test.


Barcode scanner not working on iOS

Posted: Thu Aug 15, 2013 2:15 pm
by Maryna Brodina

Reproduced again on iPad. Working on it.


Barcode scanner not working on iOS

Posted: Fri Aug 16, 2013 8:06 am
by Maryna Brodina

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.


Barcode scanner not working on iOS

Posted: Fri Aug 16, 2013 8:17 am
by Manuel Menéndez Román

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.


Barcode scanner not working on iOS

Posted: Fri Aug 16, 2013 10:09 am
by Maryna Brodina

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


Barcode scanner not working on iOS

Posted: Fri Aug 16, 2013 10:49 am
by Manuel Menéndez Román

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.


Barcode scanner not working on iOS

Posted: Fri Aug 16, 2013 12:32 pm
by Maryna Brodina

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?