- This topic has 4 replies, 2 voices, and was last updated 10 years, 7 months ago by support-octavio.
-
AuthorPosts
-
bremyMemberHello
My app using webservices and map was working pretty well requesting data when connected. I tried to see if it could be possible to have the Map control working in an offline situation. So I was adding some googleMaps URL in the NETWORK: section in the cache.manifest file
Since that trial each time I am now running my App in the Web simulator, I am always in a “non connected” mode. For Example the Map control is displaying this message : “Network connection is required for map initialization”, also none of my webservice calls are still working (called using $.getJSON( url, function( data ) …..)
For sure my laptop has an internet connection full available
Any idea on the way to fix that and having my App strill working using the Web simulator????
Thanks
support-octavioMemberHi bremy,
Can you post a small example project that demonstrate the problem? If you want to keep data in privacy send it to support at genuitec dot com, use title mobione data from bremy
bremyMemberThanks Octavio
I’m going to prepare something to send you
Also will try to deploy on a real iphone to see if I also have the same problem
bremyMemberProblem is now fixed
That was due to the cache.manifest fileTo fix it
1- I renamed cache.amnisfest to cache.manifest.save
2- I ran my in the web simulator
3- Then Desing Center is asking to regenerate the cache.manisfest file
4- it is working again and all network connection are now availableTHe must surprising : cache.manisfest file regenerated is EXACTELY the same as cache.manifest.save
But at least this is working again
cheers
support-octavioMemberHi bremy,
HTML5 webapps will only reload an appcache manifest when its binary contents change. For example touching the manifest file will not cause result in the manifest being reloaded by its webapp. It requires at least 1 byte change in the file. I suspect that regenerating the appcache resulted in changing the file’s content. For example the specified resources may not have changed but probably additional whitespace or a comment changed.
-
AuthorPosts