View Full Version : [CLOSED] Webapp doesn't work only on iPhone HomeScreen

7 Nov 2011, 6:03 AM
Hello everyone,

I have a weird bug for you. My app works fine in Safari on a Mac and Safari on an iPhone. However, nothing works when you add the website to the "Home Screen" on the iPhone. It is driving me crazy : it is supposed to be exactly the same thing right ? Have you guys met this issue before ? I am using iOS5.

From my investigations, it appears that the iPhone doesn't like to load a store on startup. Things work better if you load it afterwards, on a show event for example.

Is there a way to debug a web app on the "Home Screen" of an iPhone ?

Thank you all

7 Nov 2011, 6:07 AM
Looks like I'm not the only one after all :


Any idea on the reason ?

8 Nov 2011, 2:27 AM
As expected, it was caused by a store being auto-loaded... You need to load the store when the view is rendered...