A Titanium Mobile app which I wrote for a client was recently approved by Apple and is now available in the iTunes store (you can download it here). Some users who have downloaded it have encountered some strange behavior and I'd appreciate your ideas on what the cause may be because I'm stumped.
The app features a Ken Burns style slideshow on the front page. The images are bundled within the app package. Some users are reporting that when they install the app, they just see a black panel instead of the slideshow. However, there are two very unusual features about this which are making it very difficult to debug:
- Users have reported that uninstalling and then reinstalling the app fixes the problem. Sometimes it takes 2 or 3 reinstalls, but the problem does get fixed. But why would the app behave differently on subsequent installs?
- There's some code withi the app which means the slideshow is implemented differently on iOS 5 (where it is composed of Ti.UI.ImageView objects and transforms) and earlier versions (where it's a webview with an HTML 5 / Javascript animation). However, users on both iOS 5 and 4 have reported the problem. Why would two completely different pieces of code exhibit the same problem?
It's also worth noting that this problem was not observed during testing when the app was distributed to testers as an ipa file via TestFlight. My first thought was that it could be a problem with the bundled package which is being distributed through iTunes, but that wouldn't explain why reinstalls fix the problem.
Does anyone have any ideas?
1 Answer
My gut says you're running into a memory issue of some sort... most likely you're not releasing objects when you're closing a window.
Your Answer
Think you can help? Login to answer this question!