Titanium ios app freeze on splash screen when wifi with bad connection

You must Login before you can answer or comment on any questions.

Titanium ios app freeze on splash screen when wifi with bad connection. I have already set the <analytic> false </analytic> in the tiapp.xml (as some threads said it is solution in google), my SDK version is 2.0.2. I have read lots of pages in google, but still can't find the correct solution. Who can help me, much appreciated...

2 Answers

Hi Jordan

You really need to provide some code to help use to help you, without it - you are asking people to guess.

So I will guess - but unless by some dumb luck I am right - provide code, and are you targeting Android or iOS?

  • Have you tried cleaning the project? Exit the simulators then Project > Clean, wait and then rebuild as normal
  • If you are calling a XHR function on app launch - turn that off and see what happens.
  • Does the same thing happen when you use SDK 2.1.1?
  • Create a brand new blank project using SDK 2.1.1, does the same thing happen?
  • Have you removed all your code except enough to show a single window?

Let me know.

— answered 10 months ago by Malcolm Hollingsworth
answer permalink
2 Comments
  • Hi Malcolm, Really thanks for your reply. 1. My app is ios. 2. My app is an offline app, and I haven't any code access to internet. 3. It works well when no wifi or the wifi with good connection. hope to hear your reply soon. thank you very much!

    — commented 10 months ago by Jordan Kuan

  • That is strange, can you try this suggestion and report back.

    • Create a brand new blank project using SDK 2.1.1, does the same thing happen?

    — commented 10 months ago by Malcolm Hollingsworth

Thank you Malcolm,

  • Finally I found the root cause is the 3rd party module (do.hi.progress.hud). But I don't know why this module cause this weird issue.

Thanks again.

Your Answer

Think you can help? Login to answer this question!