posm / OpenMapKitAndroid

http://openmapkit.org
BSD 3-Clause "New" or "Revised" License
128 stars 38 forks source link

Deployment Synchronization - Incremental Downloads #137

Open hallahan opened 8 years ago

hallahan commented 8 years ago

This issue is a note for the future. This should be backlogged for now...

For now, if we have a deployment with the same name on the server as in ExternalStorage, we just show the one we have on disk that has been downloaded. This is to prevent showing inconsistent state of the download situation.

In the future, we should have a Deployments object that can reflect that there is some subset of files still needing to be downloaded from the server.

If you want to see the metadata of a deployment on the server that has been updated with the same name, just delete the deployment on the device, and it should update accordingly.