MerginMaps / MerginMaps/mobile

Syncing fails on Android when the app is not in foreground

Open
#2,927 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug data corruption - sync failure - crash - anr
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

On Android, when syncing a project, the app needs to be in foreground.
If it goes background or the phone screen is off, it will most probably fail randomly leaving the project locked server-side.
Users need to wait 5-10 minutes for the locks being cleared to make another attempt to sync the project.

Related tickets: #585 #586 #1684 #2470

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 reproducing a project sync on Android while backgrounding the app or turning off the screen, then read related tickets #585, #586, #1684, and #2470. Done means syncing completes without requiring the app to remain in the foreground and does not leave the project locked server-side.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.