MerginMaps / mobile

Mergin Maps mobile app 📲 Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
299 stars 65 forks source link

Handling of renamed/deleted/replaced projects #576

Open wonder-sk opened 4 years ago

wonder-sk commented 4 years ago

Input should be able to identify if a project has been deleted from the server - or it may have been replaced by another project with the same name. To detect this, we may need a unique project ID from the server.

See also https://github.com/lutraconsulting/qgis-mergin-plugin/issues/110

saberraz commented 4 years ago

Also related to https://github.com/lutraconsulting/input/issues/614

saberraz commented 4 years ago

Closing in favour of #614

wonder-sk commented 3 years ago

Mergin v2021.6 has introduced unique project IDs and added endpoint for listing projects by ID (/v1/project/by_uuids?uuids=id1,id2,id3). v2021.7 also adds fetching full project info by ID (/v1/project/by_uuid/id1)

Hopefully that should be enough to detect if: