Page 1 of 2

Appery.io Tester is not launching my app

Posted: Tue Jul 23, 2013 8:51 pm
by Michael Iglesias

For some reason I am able to test my able in my desktop browser but when trying to launch app using android Appery.io Tester all I get is a white blank page


Appery.io Tester is not launching my app

Posted: Tue Jul 23, 2013 9:00 pm
by Maryna Brodina

Hello! What device/version you use? Do you have the latest Appery.io Tester version?


Appery.io Tester is not launching my app

Posted: Tue Jul 23, 2013 9:03 pm
by Michael Iglesias

Hey,

Thanks for the quick response. It's working fine now, the app is loading with "Tester". It must the office internet connection which has been faulty today.

Thanks,
Michael


Appery.io Tester is not launching my app

Posted: Tue Jul 23, 2013 9:06 pm
by Maryna Brodina

Ok, glad it's working!


Appery.io Tester is not launching my app

Posted: Tue Jul 23, 2013 10:00 pm
by Michael Iglesias

Hey,

I've run into another small problem..

I have gone ahead and created an on 'Value change' event which when occurs to execute a very simple block of javascript. For some reason my few lines of javascript aren't being executed. The label is in fact being updated with a string of text which should theoretically execute the block of code I tied to the event.

Any help would be much appreciated :)

Thanks,
Michael


Appery.io Tester is not launching my app

Posted: Wed Jul 24, 2013 4:03 pm
by Maryna Brodina

Hello! value change event won't work for Label.You can call your code you have on value change event when you change Label value (in JS or mapping)
codeAppery("mobilelabelName").trigger("change");/code


Appery.io Tester is not launching my app

Posted: Wed Jul 24, 2013 5:48 pm
by Michael Iglesias

So I think I'm over complicating things. I am using the bar code scanner to read a users qr code which is in the following format

UserID-UNIQUE Reward ID
1111--Eraksdjf1231kdfL!kajdkflaks

All I need to do is split this string by "--" and invoke an api service which I have already created and formatted in appery.

How do I split this string and set their values to local storage variables once the barcode scanner has scanned the qr code?

Thanks in advance for your help :)


Appery.io Tester is not launching my app

Posted: Wed Jul 24, 2013 6:38 pm
by Maryna Brodina

Hello! Map value to localStorage variable and add JS code in mapping. In localStorage variable will be saved value returned from function you add. For example for mapping to variable where userId stores :
codereturn value.slice(0, value.indexOf("--"));/code


Appery.io Tester is not launching my app

Posted: Wed Jul 24, 2013 7:08 pm
by Michael Iglesias

So now I have those values stored in local variables as well as other API call dependent variables. Now how do I invoke a service call after the qr-code has been scanned and the user ID and reward ID have been stored in local variables.

Is there any way to create an event that would be executed automatically after a qr-code is scanned?

Thanks


Appery.io Tester is not launching my app

Posted: Wed Jul 24, 2013 7:23 pm
by Maryna Brodina

On QR scanner service Success event call the service you need.