This is a migrated thread and some comments may be shown as answers.

Support?

3 Answers 48 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kevin
Top achievements
Rank 1
Kevin asked on 12 Apr 2013, 03:29 PM
I couldn't find a section of the site to get support.... so trying here.

I'm having trouble ajaxing a web service. the identical js code works on a website on my web server but from the icenium app. (created in mist, deployed directly to iphone 4s) it says request timed out. I'm at my wits end trying to get this working any assistance or guidance would be appreciated. thanks!

$(function(){
    $.ajax({
type: 'POST',
url: 'https://xxxxxxxxxxxxx/api/v1.0/tokens',
data: JSON.stringify({
            "auth" : {
                "passwordCredentials" : {
                    "user_id" : "11111",
                    "password" : "11111"
                },
                "api_key" : "123456",
                "device_id": "0000"
            }
        }),
        headers: {
"Accept": "application/json",
"Content-Type" : "application/json"
},
dataType: "json"
}).success(function (data, code, xhr) {
alert(arguments);
}).error(function (e, r, m) {
console.log("ERROR", e, r, m);
});
});

3 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 12 Apr 2013, 04:02 PM
Scratch that.... The bug was that ION was not refreshing the device with the latest version. it completely stopped updating a while back i guess. despite appearing to work (with both 3 finger touch and manually scanning QR code) did it numerous times to no avail. finally i deleted ion from phone and reinstalled from appstore...

so there's a bug there somewhere. just not what i was thinking :)
0
Joseph
Top achievements
Rank 1
answered on 12 Apr 2013, 08:36 PM
Ion and even app builds have the same issue. Generally I will update, force close and restart the application. If you don't be prepared for a lot of wasted time.
0
Steve
Telerik team
answered on 15 Apr 2013, 08:09 AM
Hi guys,

Be aware that whenever you're changing project properties, they would not be automatically applied on sync of deployed apps. You have to rebuild and redeploy in order for such changes to show up. Changes in your files (.js, .html, .css etc.) would be reflected on sync.

Regards,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
Tags
Report a bug
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
Joseph
Top achievements
Rank 1
Steve
Telerik team
Share this question
or