Skip to content

Commit dbbdae2

Browse files
Merge pull request #566 from BranchMetrics/staging
Staging
2 parents 252f591 + b6d2c7f commit dbbdae2

16 files changed

+27
-6113
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ node_modules/
77
package-lock.json
88
npm-debug.log*
99
yarn-error.log*
10+
.vscode

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<a name="3.2.0"></a>
2+
# [3.2.0](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/compare/v3.1.6...v3.2.0) (2019-5-24)
3+
4+
* Fix Cordova 9 incompatibility.
5+
* Fix aar not found on Android builds.
6+
17
<a name="3.1.6"></a>
28
# [3.1.6](https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/compare/v3.1.5...v3.1.6) (2019-2-28)
39

CONTRIBUTING.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

package.json

Lines changed: 6 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "branch-cordova-sdk",
33
"description": "Branch Metrics Cordova SDK",
44
"main": "src/index.js",
5-
"version": "3.1.6",
5+
"version": "3.2.0",
66
"homepage": "https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking",
77
"repository": {
88
"type": "git",
@@ -16,91 +16,16 @@
1616
"ios"
1717
],
1818
"license": "MIT",
19-
"scripts": {
20-
"validate": " echo 'run validation scripts'; node ./src/scripts/npm/updatePluginXml",
21-
"travis-deploy-once": " echo 'prevent multiple deploys'; travis-deploy-once",
22-
"commitmsg": " echo 'validate commit messages'; commitlint -e $GIT_PARAMS",
23-
"precommit": " echo 'run prettier on commit'; lint-staged",
24-
"examples": " echo 'generate examples'; node ./src/scripts/examples",
25-
"prettier": " echo 'run prettier'; prettier --write './{src,testbed,tests}/**/*.js'",
26-
"lint": " echo 'run code linter'; eslint --ext=js --fix ./src",
27-
"semantic-release": " echo 'run continuous integration'; semantic-release"
28-
},
2919
"dependencies": {
20+
"fs": "0.0.1-security",
21+
"glob": "^7.1.4",
3022
"mkpath": "^1.0.0",
3123
"node-version-compare": "^1.0.1",
3224
"plist": "^3.0.1",
3325
"request": "^2.85.0",
26+
"shelljs": "^0.8.3",
27+
"xcode": "^2.0.0",
3428
"xml2js": "^0.4.19"
3529
},
36-
"eslintConfig": {
37-
"extends": [
38-
"airbnb-base/legacy",
39-
"prettier"
40-
],
41-
"rules": {
42-
"no-console": 0,
43-
"no-alert": 0,
44-
"no-use-before-define": 0
45-
},
46-
"globals": {
47-
"Promise": true,
48-
"Branch": true
49-
}
50-
},
51-
"release": {
52-
"verifyConditions": [
53-
"@semantic-release/changelog",
54-
"@semantic-release/github",
55-
"@semantic-release/git",
56-
"@semantic-release/npm"
57-
],
58-
"verifyRelease": [
59-
{
60-
"path": "@semantic-release/exec",
61-
"cmd": "node ./src/scripts/npm/updateNpmVersion"
62-
}
63-
],
64-
"prepare": [
65-
{
66-
"path": "@semantic-release/changelog",
67-
"changelogFile": "CHANGELOG.md"
68-
},
69-
"@semantic-release/git"
70-
],
71-
"publish": [
72-
"@semantic-release/github",
73-
"@semantic-release/npm"
74-
]
75-
},
76-
"commitlint": {
77-
"extends": [
78-
"@commitlint/config-conventional"
79-
]
80-
},
81-
"lint-staged": {
82-
"src/*.{js,json,css,md}": [
83-
"prettier --write",
84-
"git add"
85-
]
86-
},
87-
"devDependencies": {
88-
"@commitlint/cli": "^6.2.0",
89-
"@commitlint/config-conventional": "^6.1.3",
90-
"@semantic-release/changelog": "^2.0.2",
91-
"@semantic-release/exec": "^2.2.4",
92-
"@semantic-release/git": "^4.0.3",
93-
"@semantic-release/github": "^4.2.15",
94-
"@semantic-release/npm": "^3.2.5",
95-
"eslint": "^4.19.1",
96-
"eslint-config-airbnb-base": "^12.1.0",
97-
"eslint-config-prettier": "^2.9.0",
98-
"eslint-plugin-import": "^2.11.0",
99-
"eslint-plugin-jest": "^21.15.1",
100-
"husky": "^0.14.3",
101-
"lint-staged": "^7.0.5",
102-
"prettier": "^1.12.1",
103-
"semantic-release": "^15.2.0",
104-
"travis-deploy-once": "^5.0.0"
105-
}
30+
"devDependencies": {}
10631
}

plugin.template.xml

Lines changed: 0 additions & 90 deletions
This file was deleted.

plugin.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ SOFTWARE.
2424
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
2525
xmlns:android="http://schemas.android.com/apk/res/android"
2626
id="branch-cordova-sdk"
27-
version="3.1.6">
28-
29-
<!-- DO NOT EDIT THIS FILE. MAKE ALL CHANGES TO plugin.template.xml INSTEAD -->
27+
version="3.2.0">
3028

3129
<!-- Description -->
3230
<name>branch-cordova-sdk</name>
@@ -42,7 +40,6 @@ SOFTWARE.
4240
</engines>
4341

4442
<!-- Hooks -->
45-
<hook src="src/scripts/hooks/beforePluginInstall.js" type="before_plugin_install" />
4643
<hook src="src/scripts/hooks/beforePrepare.js" type="after_plugin_install" />
4744
<hook src="src/scripts/hooks/afterPrepare.js" type="after_plugin_add" />
4845
<hook src="src/scripts/hooks/beforePrepare.js" type="before_prepare" />

src/android/dependencies/rules.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
dependencies {
2-
implementation fileTree(dir: 'libs', include: '*.aar')
2+
compile (name:'Branch', ext:'aar')
33
}
4+
repositories {
5+
flatDir {
6+
dirs 'app/libs', 'libs'
7+
}
8+
}
9+
10+
411

src/scripts/hooks/beforePluginInstall.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)