phonegap / phonegap-plugin-contentsync

Download and cache remotely hosted content
Apache License 2.0
206 stars 98 forks source link

Only copyRootApp when app version has been updated #168

Closed aramando closed 7 years ago

aramando commented 7 years ago

This change might be a useful mitigation for issue #166. While a root copy from the binary will still obliterate the existing app data cache on iOS (a problem if the app downloads additional content that isn't included in the binary), this at least makes sure that will only happen when the binary has been updated (or is a fresh install), i.e. it prevents destructive root copy syncs from occurring unless necessary.

macdonst commented 7 years ago

@aramando I'm going to close this as it has been superseded by @imhotep fix.