Debugging
Did you install the app on your phone (or launched via Tiggzi Mobile Tester) or opened it in the browser?
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/
Did you install the app on your phone (or launched via Tiggzi Mobile Tester) or opened it in the browser?
Tiggzi tester
When running as hybrid app, cross-domain class don't play a role and thus it works: http://help.gotiggr.com/documentation...
Worked when I installed the apk on my phone too.
So what's the best approach to get it working in tiggzi for testing purposes
Why not just define a RESTservice (in Tiggzi) and use the proxy?
I'm trying to use existing code where possible and the request parameters are complicated and generated with js like this
var inData = "";
var ct=0;
Code: Select all
function appGET(data, str) {
if (data && data != 'undefined') {
data = encodeURIComponent(html_entity_decode(data));
if (ct == 0) {
inData += str + '=' + data;
} else {
inData += '&' + str + '=' + data;
}
ct++;
}
}
appGET(localStorage['user'], 'user');
if ($('#saveinp').val()==localStorage['listname']) {
appGET(localStorage['listid'], 'id');
}
appGET($('#saveinp').val(), 'list');
var ingnum=localStorage['ingnum'];
appGET(ingnum, 'ingnum');
for (i=0;i + i);
}
}I guess the only other thing you can do is add cross-domain support to the services. Or, host the pages on the same domain as the service.
Found this - it should do the trick.
No it won't it would have to be installed on your server - is that possible?