mardi 15 avril 2014

A couple of questions about webapp updates

Hi all,

I'm using ST 2.3.1 and CMD 4.0.4.84 to create a webapp with no native packaging. I've created a production build and uploaded it to my webserver.


Am I correct in saying that when the app launches it's supposed to check the deltas folder and automatically apply updates? That isn't happening. In fact, a browser refresh won't update the app either. Seems like I have to go to the Chrome resources panel and clear the local storage keys (or "reinstall" the app on my droid) in order to get to the updated app.


How about <html manifest="cache.appcache" lang="en-US">? Does it need to be there in order for the update process to work? I get "Application Cache Error event: Manifest fetch failed (404) " when I launch the app. The cache.appcache file is available on the server and is pretty simple:


CACHE MANIFEST

# 666965299ba35ef5942d044b197372dfe69f5462

index.html


FALLBACK:


NETWORK:

*


Also, does the folder structure on the production server need to match the development server? My production files are buried in the build/production/appname folder and I'd like to relocate them to the root of the app. The app seems to work that way but does kick out some CRC errors...


What am I missing?


Thanks!





Aucun commentaire:

Enregistrer un commentaire