My app is written with sencha touch 2.4 and uses the latest version of cordova. Since iOS8 I have an issue with the app randomly crashing. It only happens if I completely close the app, and only sometimes. The crash appears to happen directly after the splash screen is shown. The sencha touch loading icons do not appear and the app simply closes. If I try to open the app again, it works.
I use localstorage pretty much immediately to populate username and such, I tried to remove it since I read it caused problems but it did not help.
Edit: After more investigation I now get this error:
[UIViewAnimationState release]: message sent to deallocated instance 0x17675080
It appears on a completely new cordova/sencha touch example project, and with iOS8. Any idea what the cause of this can be? Are there any tips to how I can debug this issue?
Edit2: Sencha says that they will not support ios8 officially before next release, 2.4.1. http://www.sencha.com/forum/showthread.php?292883-Touch-2.4.0-apps-crashing-on-iOS8
Edit3: I think I was able to improve this by following the advice in the forum-thread linked aboved. I updated sencha touch, sencha cmd and cordova to the latest version and installed the splashscreen-plugin for cordova. I have not had a startup crash since, hopefully this has fixed the issue.
Sencha Touch
and orCordova
, as this bugzilla.xamarin.com/show_bug.cgi?id=23667 bug report onXamarin
proves.Xamarin
is a.NET
framework to build native mobile apps, so this proves it's not aCordova/Phonegap
bug, additionally they reproduced the bug loading a web page into the WebView and this proves it's not aSencha Touch
bug. It seems more likely aJavaScriptCore
bug. – Andrea Casaccia