@thathoff/cordova-plugin-universal-links 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -144,8 +144,8 @@ function domainsListEntryForHost(host) {
144
144
  * @param {String} buildType "Debug" or "Release"
145
145
  * @return {String} absolute path to entitlements file
146
146
  */
147
- function pathToEntitlementsFile(buildType) {
148
- return path.join(getProjectRoot(), 'platforms', 'ios', getProjectName(), 'Entitlements-' + buildType + '.plist');
147
+ function pathToEntitlementsFile() {
148
+ return path.join(getProjectRoot(), 'platforms', 'ios', getProjectName(), 'Resources', getProjectName() + '.entitlements');
149
149
  }
150
150
 
151
151
  /**
@@ -12,7 +12,6 @@ var ConfigXmlHelper = require('../configXmlHelper.js');
12
12
  const xcode = require('xcode');
13
13
  const fileSystem = require('fs');
14
14
  const glob = require('glob');
15
- const shelljs = require('shelljs');
16
15
  var IOS_DEPLOYMENT_TARGET = '8.0';
17
16
  var COMMENT_KEY = /_comment$/;
18
17
  var context;
@@ -186,7 +185,7 @@ function loadProjectFile() {
186
185
  fs.writeFileSync(pbxPath, xcodeproj.writeSync());
187
186
  if (Object.keys(frameworks).length === 0) {
188
187
  // If there is no framework references remain in the project, just remove this file
189
- shelljs.rm('-rf', frameworks_file);
188
+ fs.rmSync(frameworks_file, { recursive: true, force: true });
190
189
  return;
191
190
  }
192
191
  fs.writeFileSync(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thathoff/cordova-plugin-universal-links",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Cordova plugin to add in your application support for Universal Links (iOS 9) and Deep Links (Android). Basically, open application through the link in the browser.",
5
5
  "cordova": {
6
6
  "id": "cordova-plugin-universal-links",
package/plugin.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
 
3
- <plugin id="cordova-plugin-universal-links" version="0.3.2" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
+ <plugin id="cordova-plugin-universal-links" version="0.3.4" xmlns="http://apache.org/cordova/ns/plugins/1.0">
4
4
 
5
5
  <name>Universal Links Plugin</name>
6
6
  <description>