flutter-package / images_picker

Flutter plugin for selecting images/videos from the Android and iOS gallery, and taking pictures/videos with the camera
MIT License
65 stars 87 forks source link

Camera is not opening in android target sdk 31 #64

Closed ravitejaavv closed 2 years ago

ravitejaavv commented 2 years ago

Using images_picker 1.2.9 version

Able to open camera till target sdk 30. But camera is not opening in android target sdk 31. We are not seeing any crash or exception in log viewer. Tested in One Plus Nord 7

final images = await ImagesPicker.openCamera( pickType: PickType.image, );

chavesgu commented 2 years ago

what's your android version. I run target sdk 31 successfully

chavesgu commented 2 years ago

please update 1.2.10 for android 12 fix

ravitejaavv commented 2 years ago

@chavesgu thanks for the update. I will test and confirm

ravitejaavv commented 2 years ago

@chavesgu It is working fine. I am closing this issue