Skip to content

Commit 5e5b3f0

Browse files
authored
Merge pull request #183 from PSPDFKit/rad/permissions-catalog-ios
Add permissions in the info.plist of the iOS Catalog
2 parents 90f2d1a + d0c62f5 commit 5e5b3f0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

samples/Catalog/ios/Catalog/Info.plist

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
25+
<key>NSAllowsArbitraryLoadsInWebContent</key>
26+
<true/>
2527
<key>NSAppTransportSecurity</key>
2628
<dict>
2729
<key>NSExceptionDomains</key>
@@ -35,6 +37,18 @@
3537
</dict>
3638
<key>NSLocationWhenInUseUsageDescription</key>
3739
<string></string>
40+
<key>NSCameraUsageDescription</key>
41+
<string>Pictures captured with the camera can be added to the document as image annotations.</string>
42+
<key>NSMicrophoneUsageDescription</key>
43+
<string>Recording sound annotations requires the microphone.</string>
44+
<key>NSPhotoLibraryAddUsageDescription</key>
45+
<string>Images from documents and annotations can be saved to the photo library.</string>
46+
<key>NSPhotoLibraryUsageDescription</key>
47+
<string>Pictures from the photo library can be added to the document as image annotations.</string>
48+
<key>UIBackgroundModes</key>
49+
<array>
50+
<string>audio</string>
51+
</array>
3852
<key>UILaunchStoryboardName</key>
3953
<string>LaunchScreen</string>
4054
<key>UIRequiredDeviceCapabilities</key>

0 commit comments

Comments
 (0)