jep
5 Dec 2010, 12:23 PM
This is tangentially a Sencha Touch question, in that I'm only really using Sencha Touch in my significant html5 project. I'm wondering what other people out there think of the stability of html5 apps on the iPad (or iPhone/iPod touch). What I've found is that I OFTEN get crash-to-homescreen problems in my app. These are, of course, not reproducible. And they are in an app that makes a lot of use of google maps. It just seems that it eventually gets tired of all the javascript and craps out. Another reason why I'm not blaming this on Sencha Touch is that, quite simply, nothing it does should ever even be ABLE to crash the browser.
So, any other experiences by folks working on iOS devices? I will also note that my desktop (XP) Safari wasn't all that much better until the 5.0.3 update. I used it to test my app and it was crash as hell.
Edit: Oh, and it may be my imagination, but I think it's gotten slightly better with iOS 4.2. But it still crashes. And I use my apps by opening them in Safari and choosing "add to home screen."
Edit: Seems like a lot of it might be mobile Safari's incompetent image handling, causing it to run out of memory:
http://stackoverflow.com/questions/2986039/ipad-iphone-browser-crashing-when-loading-images-in-javascript
That'd certainly be a factor with an image-heavy component like google maps.
So, any other experiences by folks working on iOS devices? I will also note that my desktop (XP) Safari wasn't all that much better until the 5.0.3 update. I used it to test my app and it was crash as hell.
Edit: Oh, and it may be my imagination, but I think it's gotten slightly better with iOS 4.2. But it still crashes. And I use my apps by opening them in Safari and choosing "add to home screen."
Edit: Seems like a lot of it might be mobile Safari's incompetent image handling, causing it to run out of memory:
http://stackoverflow.com/questions/2986039/ipad-iphone-browser-crashing-when-loading-images-in-javascript
That'd certainly be a factor with an image-heavy component like google maps.