Crash with CameraX and Compose Navigation on Android 11
I have a problem very similar to this.
I’m encountering a crash in my app when using CameraX with Compose Navigation. The issue occurs inconsistently: sometimes it crashes when opening the bottom navigation camera tab, and other times it crashes when navigating away. Other times it takes 2 or 3 times to navigate until it crashes. The problem occurs on Android 11, but it’s working fine on Android 12.
Jetpack Compsoe Camerax imageCapture and crop 3 rectangles
I am trying to implement an app to take a picture, I don’t want the full pic, I need to crop three rectangles of that picture, and save them for later processing. I am using an A4 paper aspect ratio (1:1.414)