Github user mnill commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/84#issuecomment-77478232
  
    @ArnaudValensi my realization is simple.
    1) copy all files from www to PERSISTENT storage. (if not be copy before);
    2) download config.json from server
    3) check the version constants in downloaded config.json and local 
config.json.
    4) if different - download new files from server to PERSISENT, then 
override config.json.
    (download not all files, only new\different which are written in 
config.json as new. I have Grunt script for calculate a list of new files.)
    5) redirect window.location.href to persistent storage;
     


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to