forked from shiyating/cordova-plugin-ios-camera-permissions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
22 lines (22 loc) · 1.55 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version='1.0' encoding='UTF-8'?>
<plugin id="cordova-plugin-ios-camera-permissions" version="1.0.3" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>iOS Permissions</name>
<author>Jamie Hsu</author>
<description>Cordova / PhoneGap Plugin Permission Settings for NSCameraUsageDescription, NSMicrophoneUsageDescription and NSPhotoLibraryUsageDescription in iOS 10 by adding a declaration to the Info.plist file</description>
<keywords>cordova, ios, app, security, permissions, nscamerausagedescription, nsmicrophoneusagedescription, nsphotolibraryusagedescription</keywords>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<platform name="ios">
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>To send photos for your colleague in the chatroom, this app requires access to the camera for taking photos.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>To send voice messages for your colleague in the chatroom, app would like to access your microphone for voice record. Your records wont be shared without your permission.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>To send photos for your colleague in the chatroom, app would like to access your photo gallery for photo upload. Your photos wont be shared without your permission.</string>
</config-file>
</platform>
</plugin>