File tree Expand file tree Collapse file tree 7 files changed +13
-8
lines changed Expand file tree Collapse file tree 7 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " branch-cordova-sdk" ,
3
3
"description" : " Branch Metrics Cordova SDK" ,
4
4
"main" : " www/branch.js" ,
5
- "version" : " 2.5.12 " ,
5
+ "version" : " 2.5.13 " ,
6
6
"homepage" : " https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking" ,
7
7
"repository" : {
8
8
"type" : " git" ,
39
39
"changelog" : " node ./src/scripts/npm/updateChangeLog -reset=true" ,
40
40
"commitmsg" : " validate-commit-msg" ,
41
41
"precommit" : " gulp prod" ,
42
- "prepush " : " semantic-release pre --verifyRelease='./src/scripts/npm/updateNpmVersion' || true" ,
42
+ "postcommit " : " semantic-release pre --verifyRelease='./src/scripts/npm/updateNpmVersion' || true" ,
43
43
"prerelease" : " gulp prod" ,
44
44
"semantic-release" : " semantic-release pre && npm publish && semantic-release post"
45
45
},
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ SOFTWARE.
24
24
<plugin xmlns =" http://apache.org/cordova/ns/plugins/1.0"
25
25
xmlns : android =" http://schemas.android.com/apk/res/android"
26
26
id =" branch-cordova-sdk"
27
- version =" 2.5.12 " >
27
+ version =" 2.5.13 " >
28
28
29
29
<!-- DO NOT EDIT THIS FILE. MAKE ALL CHANGES TO plugin.template.xml INSTEAD -->
30
30
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ SOFTWARE.
24
24
<plugin xmlns =" http://apache.org/cordova/ns/plugins/1.0"
25
25
xmlns : android =" http://schemas.android.com/apk/res/android"
26
26
id =" branch-cordova-sdk"
27
- version =" 2.5.12 " >
27
+ version =" 2.5.13 " >
28
28
29
29
<!-- DO NOT EDIT THIS FILE. MAKE ALL CHANGES TO plugin.template.xml INSTEAD -->
30
30
Original file line number Diff line number Diff line change 197
197
intentFilterData . push ( getAppLinkIntentFilterDictionary ( alternate ) )
198
198
} else if ( linkDomain . indexOf ( 'bnc.lt' ) !== - 1 ) {
199
199
// bnc.lt
200
- if ( preferences . androidPrefix == null ) {
201
- throw new Error ( 'BRANCH SDK: Missing "android-prefix" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP' )
200
+ if ( preferences . androidPrefix === null ) {
201
+ throw new Error ( 'BRANCH SDK: Invalid "android-prefix" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP' )
202
202
}
203
203
intentFilterData . push ( getAppLinkIntentFilterDictionary ( linkDomain , preferences . androidPrefix ) )
204
204
} else {
Original file line number Diff line number Diff line change 85
85
var release = preferences . iosTeamRelease
86
86
var debug = ( preferences . iosTeamDebug ) ? preferences . iosTeamDebug : preferences . iosTeamRelease
87
87
88
+ if ( release === null ) {
89
+ throw new Error ( 'BRANCH SDK: Invalid "ios-team-release" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP' )
90
+ }
91
+
88
92
content . ios . release . developmentTeam = release
89
93
content . ios . debug . developmentTeam = debug
90
94
}
Original file line number Diff line number Diff line change 54
54
'uriScheme' : getBranchValue ( branchXml , 'uri-scheme' ) ,
55
55
'iosBundleId' : getBundleId ( configXml , 'ios' ) ,
56
56
'iosProjectModule' : getProjectModule ( context ) ,
57
- 'iosTeamRelease' : getBranchValue ( branchXml , 'ios-team-release' ) ,
57
+ 'iosTeamRelease' : getBranchValue ( branchXml , 'ios-team-release' ) , // optional
58
58
'iosTeamDebug' : getBranchValue ( branchXml , 'ios-team-debug' ) , // optional
59
59
'androidBundleId' : getBundleId ( configXml , 'android' ) , // optional
60
60
'androidPrefix' : getBranchValue ( branchXml , 'android-prefix' ) , // optional
136
136
if ( preferences . iosBundleId === null || ! / ^ [ a - z A - Z 0 - 9 . ] * $ / . test ( preferences . iosBundleId ) ) {
137
137
throw new Error ( 'BRANCH SDK: Invalid "id" or "ios-CFBundleIdentifier" in <widget> in your config.xml. Docs https://goo.gl/GijGKP' )
138
138
}
139
- if ( preferences . iosTeamRelease === null || ! / ^ [ a - z A - Z 0 - 9 ] { 10 } $ / . test ( preferences . iosTeamRelease ) ) {
139
+ if ( preferences . iosTeamRelease !== null && ! / ^ [ a - z A - Z 0 - 9 ] { 10 } $ / . test ( preferences . iosTeamRelease ) ) {
140
140
throw new Error ( 'BRANCH SDK: Invalid "ios-team-release" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP' )
141
141
}
142
142
if ( preferences . iosTeamDebug !== null && ! / ^ [ a - z A - Z 0 - 9 ] { 10 } $ / . test ( preferences . iosTeamDebug ) ) {
Original file line number Diff line number Diff line change 10
10
button , input {
11
11
padding : 0.5em ;
12
12
border : 3px solid # F5F5F5 ;
13
+ width : 100% ;
13
14
}
14
15
button {
15
16
background-color : # F5F5F5 ;
You can’t perform that action at this time.
0 commit comments