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

Kendo Mobile issue with iOS7 Safari

2 Answers 51 Views
Application
This is a migrated thread and some comments may be shown as answers.
Remco
Top achievements
Rank 1
Remco asked on 20 May 2014, 05:11 PM
I'm developing our first Kendo Mobile app and run into an issue with Safari in iOS7. 

When I perform a $.ajax request (see below) to verify the usercredentials, the iPhone/iPad Network Activity Indicator starts spinning and does not stop. The indicator even keeps spinning after I shutdown webpage with the Kendo app. I have to remove the websitedata via the Settings menu to stop the Indicator from spinning.

          var request = $.ajax({
            url: webapiEndpoint() + '/authenticate/login?' + urlParameters,
            type: 'GET',
            contentType: "application/json",
            data: '',
            dataType: 'json',
            processData: false
         });

         request.done(function ( data ) {
            app.navigate(activePage);
         });

         request.fail(function ( error ) {
            app.navigate(loginPage);
         });

The $ajax request receives the correct response from the WebApi and shows the appropriate page. Are you aware of any issue with iOS7 Safari that causes this strange behavior? Other $.ajax requests result in the same issue, so it is not this specific request that is causing the problem.









2 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 21 May 2014, 08:48 AM
Hi Remco,

As a component library Kendo UI does not have access to the device hardware and it is not possible to control the network activity indicator. If you deploy your application using Cordova, then you might check their API reference if there is a way to control the indicator.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Remco
Top achievements
Rank 1
answered on 21 May 2014, 09:01 AM
I'm aware that Kendo does not control the Network Activity Indicator. The issue is triggered by $.ajax, and does not occur when the web page is opened with Chrome on iOS7 or using older iOS-versions.

So I suspect it is a bug in Safari, and I expected/hoped Telerik support would be aware of this issue and maybe could provide a workaround.

Thanks anyway for your suggestion. I'll give it another try on the jQuery forums.

Tags
Application
Asked by
Remco
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Remco
Top achievements
Rank 1
Share this question
or