Kendo Mobile issue with iOS7 Safari

3 posts, 0 answers
  1. Remco
    Remco avatar
    31 posts
    Member since:
    Dec 2010

    Posted 20 May 2014 Link to this post

    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. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 21 May 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Remco
    Remco avatar
    31 posts
    Member since:
    Dec 2010

    Posted 21 May 2014 in reply to Kiril Nikolov Link to this post

    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.

Back to Top