loading animation

5 posts, 0 answers
  1. Maor
    Maor avatar
    50 posts
    Member since:
    Dec 2012

    Posted 02 Jan 2014 Link to this post

    hi guys.
    i have recently create an  application that use google maps and also authentication with our server using jquery $. post command.
    i have noticed that each time the code is calling to the loading animation ,it somehow bypassing it. the loading popup does not showing and in the debugger i see how it is  commit the code for showing animation and... nada.
    what can be the reasons for that?
    before about two months  i see someone with same issues who suggest  to attach global jquery ajax events  with showLoading and hideLoading functions  and it was works for  awhile.
    can you provide the application settings and ajax settings in which loading animation will work correctly?
    regards,
     maor
  2. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 03 Jan 2014 Link to this post

    Hi Maor,

    First clarify which is the Cordova version that your app is targeting and on what platform does the issue occur (Android or iOS). There was a bug in Cordova 3.0 related to iOS splashscreen that required importing newer version of the Cordova splashscreen plugin. This bug is sorted out in Cordova 3.2, however there is ajax related change for Android in that version, please check our release notes:

    Apache Cordova 3.1 introduces unified whitelist for Android and requires whitelisting rules in Android config.xml to be declared as <access origin="*"/>. In Icenium 1.10 and earlier, whitelisting rules in Android config.xml are declared as <access origin=".*"/>. This might prevent web calls from completing.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Maor
    Maor avatar
    50 posts
    Member since:
    Dec 2012

    Posted 05 Jan 2014 Link to this post

    hi steve.
    first, thanks for replying.
    the link you have attached is not working but i will go thru icenium documentation to get the release notes.
    i am using cordova 3.2 and also have the same project using cordova 3.0 and in both i have the same loader functionality.
    i have noticed that in android the loader is working rather than in ios.
    did you need any more info to help me?
    regards,
    maor
  4. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 06 Jan 2014 Link to this post

    Hello Maor,

    Try enabling/disabling any of the Cordova plugins in your project properties and try again. You can also create a brand new Icenium app targeting Cordova 3.2 and copy the files of your app in the new app. If the problem persist, try isolating the issue in a sample project and we would gladly take a look and advise you.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  5. Maor
    Maor avatar
    50 posts
    Member since:
    Dec 2012

    Posted 07 Jan 2014 Link to this post

    i have try it already but with no success..
    i will try to make some isolated code for you to check because it is the second application i bump into that problem and i want to know if i am doing something wrong in the code  so i will correct it.
    regards maor
Back to Top