Page 3 of 6
post barcode scanning procedure
Posted: Wed Oct 02, 2013 5:34 am
by Scott Schechtel6280324
Yes the service is called after barcode service. The section I was referring to in the link to the tutorial you sent earlier. Just not seeing the local storage tool in Chrome. I realize this is a hybrid app as I am scanning the QR code for the apk everytime to view on my phone as an ad hoc app, I know not to open in browser since the barcode scanner won't work in a browser. Just not sure what else I need to do to see the scan results in the next screen(page).
post barcode scanning procedure
Posted: Wed Oct 02, 2013 6:05 am
by Kateryna Grynko
Hi Scott,
You didn't map X-Appery-Session-Token. Log in to Database, save sessionToken in localStorage, and then pass it to the service that gets data from Database.
post barcode scanning procedure
Posted: Wed Oct 02, 2013 2:00 pm
by Scott Schechtel6280324
I am looking in the tutorials and found the db I'd but where do I find session token?
post barcode scanning procedure
Posted: Wed Oct 02, 2013 5:25 pm
by Maryna Brodina
Hello! Sorry, there is no need to use X-Appery-Session-Token. It's not needed to read from DB collection. On your last screenshot there is a mapping, click there Add JS for where parameter and paste the following code:
prereturn '{"sku": "' + value + '"}';/pre
post barcode scanning procedure
Posted: Wed Oct 02, 2013 5:40 pm
by Scott Schechtel6280324
I actually did this already...see screenshot of what I have.
FYI Here is the response screen
post barcode scanning procedure
Posted: Wed Oct 02, 2013 10:30 pm
by Scott Schechtel6280324
Hi Marina,
Are there any other ideas you can suggest for me to see the product info?
Thanks,
post barcode scanning procedure
Posted: Thu Oct 03, 2013 3:13 am
by Igor
Hi Scott,
You should check next one:
- You use correct barcode data for query. You can use http://www.barcode-generator.org/ service to generate barcode. Use your "sku" number and barcode type ="Code 128".
2.Add alert like on screenshot to ensure that scanner return correct value.
- You should check that you call Database Service correctly. Try to call the service using button click event.
post barcode scanning procedure
Posted: Thu Oct 03, 2013 3:42 am
by Scott Schechtel6280324
So I like the idea of the barcode generator but not sure why I need that since all 988 products have a barcode already. Do you need to see my screenshots again or did you already see what I have earlier in this post?
Thanks for your help
post barcode scanning procedure
Posted: Thu Oct 03, 2013 3:59 am
by Igor
Yes, I saw that you posted. Please share app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a , we'll take a look at it.
post barcode scanning procedure
Posted: Thu Oct 03, 2013 5:24 am
by Scott Schechtel6280324
Okay, i think all this time that it may be as simple as I just need to upgrade to the $15/monthly plan to get more pages in the app? Here is the public link to the app:
http://appery.io/app/mobile-frame?src...