3

I'm in a team and we are building an app with Cordova. The Android version works well, but the iOS version has a strange behaviour... it randomly freezes. There is no error, we didn't find no way to trace something strange. Sometimes the app starts and works well, sometimes (the same build) it freezes on splashscreen (or after the splascreen has gone). If we watch the "broken" app with inspector, we don't see nothing... We also tried to remove all plugins, but we have the same "error". The app is based on Onsen and Angular.

Thanks for every helping tip..

JD76
  • 73
  • 6
  • What is the definition of freezing? You cant scroll it ? Check if all the ajax requests are done. Also if it is not scrolling then it is possible that there is some overflow: hidden property on some of the main containers. – letsanov Mar 08 '16 at 14:12
  • The app is blocked. If you touch the screen (there is a menu), there is no response, nor scrolling. – JD76 Mar 08 '16 at 14:18
  • what version of cordova-ios platform are you building against? – DaveAlden Mar 08 '16 at 15:02
  • I had the 4.0.1 version of Cordova, now I have the 4.1.0 and it seems to work! – JD76 Mar 09 '16 at 09:35

1 Answers1

3

I was experiencing intermittent freeze on app startup with cordova-ios@4.0.1 but upgrading to cordova-ios@4.1.0 resolved the issue.

See here: https://issues.apache.org/jira/browse/CB-10530

DaveAlden
  • 30,083
  • 11
  • 93
  • 155
  • @DaveAlden Can you please specify how to upgrade cordova-ios in detail? I don't really want to do a trial and error just before the release. I am facing the same problem and that too only on ios – imsheth Apr 21 '16 at 11:02
  • @imsheth just remove and re-add the platform: `cordova platform rm ios && cordova platform add ios`. Current default is cordova-ios@4.1.1 – DaveAlden Apr 21 '16 at 11:45
  • @DaveAlden : will try that out ! – imsheth Apr 23 '16 at 02:26