Barcode scanner not working on iOS
Hi Manuel,
This will take some time, we'll update.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi Manuel,
This will take some time, we'll update.
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.
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
Strange... Yes, we'll test.
Reproduced again on iPad. Working on it.
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.
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.
[quote:]Anyway, I've set an alert on the localStorage variable that stores the response of the scanner[/quote] and what you get there?
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.
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?