Skip to content

Commit

Permalink
add more configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymehtasa committed Aug 22, 2017
1 parent 96f0497 commit 0054a8a
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ This plugin sets different properties and values in *-Info.plist file

`UIBackgroundModes`

* `remote-notification`
* `audio`
* `remote-notification`
* `audio`

## Installation

Expand Down
26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "cordova-plugin-ios-plist",
"version": "0.0.2",
"description": "This plugin sets different properties and values in *-Info.plist file",
"main": "plugin.xml",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaymehtasa/cordova-plugin-ios-plist.git"
},
"keywords": [
"plist",
"ionic",
"ios",
"ios",
"plist"
],
"author": "Jay Mehta <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/jaymehtasa/cordova-plugin-ios-plist/issues"
},
"homepage": "https://github.com/jaymehtasa/cordova-plugin-ios-plist#readme"
}
17 changes: 13 additions & 4 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-ios-no-export-compliance" version="0.0.2">
<name>iOS No Export Compliance</name>
<description>This plugin sets ITSAppUsesNonExemptEncryption to false in *-Info.plist file</description>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-ios-plist" version="0.0.2">
<name>iOS Plist Configurations</name>
<description>This plugin sets various plist configurations to false in *-Info.plist file</description>
<license>BSD-3</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
Expand All @@ -12,11 +12,20 @@
<array>
<string>remote-notification</string>
<string>audio</string>
<string>fetch</string>
</array>
</config-file>

<config-file target="*-Info.plist" parent="ITSAppUsesNonExemptEncryption">
<false/>
</config-file>

<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>Photo library is being used for profile picture</string>
</config-file>

<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>Camera is being used to capture profile picture</string>
</config-file>
</platform>
</plugin>
</plugin>

0 comments on commit 0054a8a

Please sign in to comment.