Q:

Flutter ImageCrop library camera permission error in iOS version

I'm trying to use ImageCrop library to crop image in a Flutter app. In this library we can ask user to grant permission to access camera by 

final permissionsGranted = await ImageCrop.requestPermissions();

This works well in android and present permission dialog in android but it is not working in iOS. Anyone know a solution for this?

A:

Can you try by adding below permissions in .plist file in XCode.
<key>NSCameraUsageDescription</key>
<string>camera description.</string>

<key>NSPhotoLibraryUsageDescription</key>
<string> photos description.</string>

Hope this work for you.

