React-native-image-picker: iOS10 Crash - Requires Permissions..

Created on 17 Sep 2016  路  3Comments  路  Source: react-native-image-picker/react-native-image-picker

Not a bug - a note for other users. You may find this component crashes due to iOS10 needing addition descriptions in info.plist.

NSPhotoLibraryUsageDescription
NSCameraUsageDescription

Might be only related to using XCode - 8 beta.

Most helpful comment

@yn5 you just need to add the NSPhotoLibraryUsageDescription and NSCameraUsageDescription keys to your Info.plist. The values should be strings describing why your app needs each permission.

I will add this to the README, thanks @Gnative.

All 3 comments

Might like to add that to the iOS installation instructions.

Same issue here. @Gnative could you describe a little more explicitly what needs to be done to prevent the crash?

@yn5 you just need to add the NSPhotoLibraryUsageDescription and NSCameraUsageDescription keys to your Info.plist. The values should be strings describing why your app needs each permission.

I will add this to the README, thanks @Gnative.

Was this page helpful?
0 / 5 - 0 ratings