MerginMaps / MerginMaps/mobile

Do not allow file delete operation from mobile

Open
#3,393 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement idea
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

There are several ways that a project can get corrupted on the device: antivirus, lack of storage, bad internet connection...
By default we should not allow delete file operation from the mobile app. It could be a setting that enables that, if want to give the option. But generally, this should not be allowed.

For good measures, we should also block uploading of the Geopackage if it is non-geodiff-able from the app for the same reasons above (corrupted file).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the mobile app's file-delete flow and GeoPackage upload validation, then inspect how both operations currently handle failures or corruption risks. Done means file deletion is blocked by default, with any opt-in setting defined, and non-geodiff-able GeoPackage uploads are blocked.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.