MerginMaps / MerginMaps/mobile
App fails to copy image from device storage to project on some devices
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
When the user uses the form attachment widget to add an existing photo to the project, they get an error that says 'Failed to copy image to /storage/emulated/0/Android/data/uk.co.lutraconsulting/files/projects/<project_name>/image_file_name.jpg'. The device is able to take photos with the camera, so the error only applies when adding an existing photo to the form.
Other users on the project with different devices do not experience this issue.
Information about the device in question:
Samsung Galaxy A6
Android 10
Mergin Maps version 2.4.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the form attachment flow for an existing photo on the reported Samsung Galaxy A6 running Android 10, comparing it with camera-created photos and devices where the flow works. Trace the failure that produces the reported copy error and verify that existing images can be added to the project without breaking the camera attachment flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100