Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

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).

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

post barcode scanning procedure

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.

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

I am looking in the tutorials and found the db I'd but where do I find session token?

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

post barcode scanning procedure

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

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

I actually did this already...see screenshot of what I have.

FYI Here is the response screen

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

Hi Marina,

Are there any other ideas you can suggest for me to see the product info?
Thanks,

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

post barcode scanning procedure

Hi Scott,

You should check next one:

  1. 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. Image
  2. You should check that you call Database Service correctly. Try to call the service using button click event.
Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

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

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

post barcode scanning procedure

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.

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

post barcode scanning procedure

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...

Return to “Issues”