Skip to content

Commit

Permalink
EddyVerbruggen#288 plugin installation issue Entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Sep 29, 2016
1 parent 23c63cf commit 9f9c534
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion hooks/ios/install_entitlements.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ module.exports = function (context) {
throw new Error("Could not find an .xcodeproj folder in: " + iosFolder);
}

var destFile = path.join(iosFolder, projName, 'Resources', projName + '.entitlements');
var destFolder = path.join(iosFolder, projName, 'Resources');
if (!fs.existsSync(destFolder)) {
fs.mkdirSync(destFolder);
}

var destFile = path.join(destFolder, projName + '.entitlements');
if (fs.existsSync(destFile)) {
console.error("File exists, not doing anything: " + destFile);
deferral.resolve();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.1.0",
"version": "5.1.1",
"name": "cordova-plugin-googleplus",
"cordova_name": "Google SignIn",
"description": "Use your Google account to authenticate with the app.",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-googleplus"
version="5.1.0">
version="5.1.1">

<name>Google SignIn</name>

Expand Down

0 comments on commit 9f9c534

Please sign in to comment.