mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Adding photo attachment from camera crashes Input

Open AesculusK opened this issue 3 years ago • 16 comments

Hello!

We're finding that adding a photo from the phone's camera crashes the Android app about half the time. Adding a photo from the gallery does not cause crashing. My assistant and I are both using 2021 Moto G Powers, in case that makes a difference. We have been experiencing the issue over the course of many weeks.

Thanks!

Katherine

AesculusK avatar Apr 29 '22 22:04 AesculusK

related to https://github.com/MerginMaps/input/issues/1742

PeterPetrik avatar Oct 26 '23 14:10 PeterPetrik

Hello!

We're finding that adding a photo from the phone's camera crashes the Android app about half the time. Adding a photo from the gallery does not cause crashing. My assistant and I are both using 2021 Moto G Powers, in case that makes a difference. We have been experiencing the issue over the course of many weeks.

Thanks!

Katherine

I have the same problem in ma galaxy tab active4

lecault avatar Dec 06 '23 10:12 lecault

@lecault which app version do you use? which android version? spec of the android device?

PeterPetrik avatar Dec 06 '23 11:12 PeterPetrik

Thanks for your response.

Configuration : Mergin 2.4.1 Android 13 Galaxy Tab Active4 Pro 5G

I test before on phones (android 11,12 and 13) we have no problem.

lecault avatar Dec 06 '23 12:12 lecault

@lecault If you go to phone settings->permissions, has Mergin Maps Input camera and location permissions granted?

PeterPetrik avatar Dec 06 '23 14:12 PeterPetrik

Permissions are good. I take a video. First time it's ok, the photo is enregistred but second time, Mergin crash.

Uploading bug_mergin.mp4…

lecault avatar Dec 06 '23 15:12 lecault

@lecault thanks , video is not uploaded yet, can you retry?

PeterPetrik avatar Dec 06 '23 15:12 PeterPetrik

Yes i have a problem. I share video here : https://transfert.region-bretagne.fr/xf31eovl

lecault avatar Dec 06 '23 15:12 lecault

Hi @lecault, let me pass this to our support team to figure out what is going on. Thank you for reporting, also thanks to @AesculusK

tomasMizera avatar Dec 07 '23 08:12 tomasMizera

Hi @lecault, can you please create a support ticket and send us diagnostic logs from the device that is experiencing the problems? You can find instructions to do this here: https://merginmaps.com/docs/misc/troubleshoot/#how-to-share-your-project-with-mergin-maps-support

raherin avatar Dec 07 '23 11:12 raherin

I have a similar issue with a Motorola C82 running Android 13 and Mergin Maps V2.5.0. When I try and add a photo Mergin switches to camera and I take a picture and confirm its OK, Camera then indicates to take another Picture when I OK that I get returned to the Mergin startup screen and the project is loaded and I have to add the item again. Also switching to camera and taking a photo also causes mergin to close.

metcas2 avatar Feb 02 '24 23:02 metcas2

Another user reports that switching to a camera app on a Getac tablet ZX70G2 causes the app to crash when returning to the Mergin app.

raherin avatar Mar 13 '25 16:03 raherin

Same thing, Motorola g42, Android 13 API 33 Yo tambien tengo ese problema en un motorola g42 android 13 API 33. I solve (patch) this problem, take first the photo and use gallery to load in margin maps.

juangomezramrez avatar Mar 18 '25 18:03 juangomezramrez

@raherin do we have a reproducible scenario here please?

tomasMizera avatar Aug 28 '25 16:08 tomasMizera

Hi @tomasMizera

Environment: Production Device model/Software version: Motorola G62 / Android 13 Mobile application: 2025.05.0 - android(690711)

Environment: Staging Device model/Software version: Motorola G62 / Android 13 Mobile application: 2025.6.0 - android(700311)

When trying to select a point on the map and take a photo, it is necessary to take the photo twice in the photo mode. The Mergin Maps application crashes immediately after taking the second photo and cannot be used further.

For more details, refer to video below:

https://github.com/user-attachments/assets/dd2691a2-7e09-4aca-b261-fc2ff5667d78

IvaKuklica avatar Sep 23 '25 09:09 IvaKuklica

Thanks @IvaKuklica! We'll take it from here.

tomasMizera avatar Sep 29 '25 09:09 tomasMizera