0

I am using image_picker 0.8.6+1 in my app for capturing camera image. When I capture image app suddenly crash without any exception. It's working fine on Android 13 Samsung. But it's causing a crash on Android 10 OPPO phone. I am unable to catch exception. I tried with try catch block but no luck.

Here is my code.

 profileImagesList.add(await _picker.pickImage(
                      source: ImageSource.camera,
                      maxHeight: 600,
                      maxWidth: 400,
                      preferredCameraDevice: CameraDevice.front,
                      imageQuality: 10));
Mohammad Aamir
  • 471
  • 2
  • 5
  • 14

0 Answers0