Flutter image_picker – pickImage(source: ImageSource.camera) crashes on ios 17+


When using ImagePicker().pickImage(source: ImageSource.camera) the app crashes. Tried the example provided on pub.dev for image_picker.
On a Android device it works. On a iOS 16 or below, it works.
Version image_picker 1.0.7.
I tried in different flutter versions, like 3.10.0, 3.13.9, 3.16.7.
I tried in differente iPhones, like XR, 13 mini and 15 Pro Max.

Expected results
Able to take a picture.

Actual results
App crash before camera opens.

My info.plist file is correct including keys NSPhotoLibraryUsageDescription, NSCameraUsageDescription, NSMicrophoneUsageDescription.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img