- This topic has 4 replies, 2 voices, and was last updated 13 years, 10 months ago by
support-michael.
-
AuthorPosts
-
SonamGyatoMemberOn the device, if I go into airplane mode and then clear safari cache –
should the app be still working?my understanding is that it should – the app cache is not cleared.
but with the mobi app – it displays the splash screen (so that’s
still there) and then get a message
‘app is not connected to the internet’.September 4, 2011 at 4:30 pm #319457
SonamGyatoMembercan i get an answer to this:
app downloaded ok.
go to airplane-mode
iphone safari clear cache.
re-start app.
i see the splash screen and the not-connected-to-internet
error message.is this normal.
does clearing the cache also clear the html5 web apps
cached on the device.September 5, 2011 at 6:18 am #319468
support-michaelKeymasterLong holiday weekend here in the states.
1) Clearing mobile safari cache will clear the appcache.
2) The homescreen icon and startup image have nothing to do with the appcache. They are managed by iOS and are cached outside of the appcache. What iOS does when the user clicks on homescreen webclip is display the splashscreen while it spins up mobile safari and loads the webclip’s URL.
September 5, 2011 at 6:27 am #319471
SonamGyatoMemberok – so in safari clearing cacche also clears the app cache.
problem solved.
September 7, 2011 at 5:25 am #319526
support-michaelKeymasterUPDATE – PLEASE READ
After a few days trying to replicate this problem we finally arrived at a fail state. We are able to periodically have our iOS4 devices get in a state where the app caching and offline support completely fails. Other non-MobiOne webapps have this same problem so this is an iOS4 issue (See Financial Times iOS WebApp Troubleshoot Guide)
We are monitoring this problem and expect it to be resolved in iOS5.
How app cache should work in MobiOne webapp that is configured for offline support:
1) On initial access of webapp URL MobiOne will present an “Updating” dialog and then download and cache all contents of the
2) save webapp to homescreen
3) turn on airplane mode (device is offline)
4) launch webapp from homescreen
– webapp spins up and functions as if it were onlineHow to reset device for proper app caching and offline operation:
1) go to Settings>Mobile Safari, select Clear Cache
2) restart iOS deviceInitially we had difficulty replicating the problem because we frequently reboot our test devices to have a clean state for testing.
Here is a discussion on this issue by others:
http://stackoverflow.com/questions/6270175/ios-did-apple-disable-html5-offline-capability-for-web-apps-saved-to-the-home-sc -
AuthorPosts