IMPORTANT iOS 11 update for Media Capture

When building an app for iOS 11, everything works fine with Camera and Capture Media plugins. Media Capture makes the problem because it doesn’t include all photo permissions and when I take a picture and want to crop it, it crashes.

What XCode 9 tells me:

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSPhotoLibraryAddUsageDescription

You need to add permission
See screenshot:

Might this do the job as well?

1 Like