OS 10 Device Permissions (camera, album, etc.), OS Permissions
For iOS 10 devices, the following fields must be added:
- <! -- Album -->
- <Key> NSPhotoLibraryUsageDescription </key>
- <String> the App requires your consent to access the album </string>
- <! -- Camera -->
- <Key> NSCameraUsageDescription </key>
- <String> the App requires your consent to access the camera </string>
- <! -- Microphone -->
- <Key> NSMicrophoneUsageDescription </key>
- <String> the App requires your consent to access the microphone </string>
- <! -- Location -->
- <Key> NSLocationUsageDescription </key>
- <String> the App can be accessed only with your consent </string>
- <! -- Access location during use -->
- <Key> NSLocationWhenInUseUsageDescription </key>
- <String> the App can be accessed during use only with your consent </string>
- <! -- Always access location -->
- <Key> NSLocationAlwaysUsageDescription </key>
- <String> the App must have your consent before it can always be accessed </string>
- <! -- Calendar -->
- <Key> NSCalendarsUsageDescription </key>
- <String> the App requires your consent to access the calendar </string>
- <! -- Reminder -->
- <Key> NSRemindersUsageDescription </key>
- <String> the App requires your consent to access the reminder </string>
- <! -- Sports and fitness -->
- <Key> NSMotionUsageDescription </key> <string> the App requires your consent to access sports and fitness </string>
- <! -- Health update -->
- <Key> NSHealthUpdateUsageDescription </key>
- <String> the App must have your consent to access health update </string>
- <! -- Health sharing -->
- <Key> nshealthpolicusagedescription </key>
- <String> your consent is required for the App to access health sharing </string>
- <! -- Bluetooth -->
- <Key> nsbluw.thperipheralusagedescription </key>
- <String> the App requires your consent to access Bluetooth </string>
- <! -- Media database -->
- <Key> NSAppleMusicUsageDescription </key>
- <String> the App requires your consent to access the media database </string>
Problem description:
- This app has crashed because it attempted to access privacy-sensitive data without a usage description. the app's Info. plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
- You need to add a "NSContactsUsageDescription" Key and Value to the info. plist file to add a description.