Hello, I'm having an issue with some Android devices when I want to take a picture with the media plugin and the behavior is different depending on whether I'm debugging or in release mode.
In release mode I press the camera button, the camera appears and I take and accept the photo, and then the app shows the splash screen like starting and I could never take a photo.
To try to figure out what happens inside the media component I imported it into my project and debug it.
I press the camera button and then the code creates the intent inside the OnCreate in the class MediaPickerActivity, arrives at the end and after execute the function StartActivityForResult(intent, id) the app crashes without any exception or log in the output, nothing.
I'm reproducing this crashes with a Xiaomi A2 lite, but I know also happens with Huawei and Samsung S10/20.
I know the behavior is different but I think it must be related in someway, couldn't be coincidence.
Any ideas what could be happening?