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

loading animation

4 Answers 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Maor
Top achievements
Rank 1
Maor asked on 02 Jan 2014, 12:30 PM
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

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 03 Jan 2014, 03:00 PM
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.
0
Maor
Top achievements
Rank 1
answered on 05 Jan 2014, 08:50 AM
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
0
Steve
Telerik team
answered on 06 Jan 2014, 12:06 PM
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.
0
Maor
Top achievements
Rank 1
answered on 07 Jan 2014, 06:45 AM
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
Tags
General Discussions
Asked by
Maor
Top achievements
Rank 1
Answers by
Steve
Telerik team
Maor
Top achievements
Rank 1
Share this question
or