MerginMaps / MerginMaps/mobile

App crashing after taking sequential photos

Open
#3,538 4 comments 0 reactions 1 assignee View on GitHub

@xkello is already working on this.

Since Aug 25, 2026.

  • #4635 by @xkello — merged
android 🤖 bug data corruption - sync failure - crash - anr photo-refactoring
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

Text field form and "Take a picture" in Relations Editors on Android causes app freeze. There are two known ways to reproduce this issue:

Example project: support/multiple_multiple_photos

Steps to reproduce issue:

First Method:

  1. In "Survey" form, add some text to "Notes" field.
  2. Add a new feature to "Other photos" field.
  3. Click on "Take a picture":
    • The camera opens to take a photo.
    • The application crashes.
    • After capturing the photo, the camera reopens immediately for another photo.
  4. Clicking the button to take this additional photo leads to the app freezing on the splash screen.

Second Method:

  1. In "Survey" form.
  2. Add a new feature to "photos" field.
  3. Go to "external-pk" field and click on Link icon.
  4. Change the link to another one.
  5. Stay in the "external-pk" field and click on it (not on the Link icon area).
  6. Add a new feature to "photos" field.
  7. Click on "Take a picture":
    • The camera opens to take a photo.
    • The application crashes.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.