I am using Xiaomi Redmi Note 7 Pro(Android 10 API-29) mobile for development. I am facing some wired issue while capturing the photo via camera. I am using all android guideline for capturing for the image in android 10 version device.
When i open the camera, pro-grammatically everything looks fine.
Everything looks fine in the Logcat section. But as soon as i click the capture image button in the camera. Application thread get stopped.
i.e. DEAD in the Logcat section.And Application restart again.
Here is the device info that i am using.
Help me out to solve the issue, Photo capture is working in almost all other devices.