File tree Expand file tree Collapse file tree 4 files changed +18
-8438
lines changed Expand file tree Collapse file tree 4 files changed +18
-8438
lines changed Original file line number Diff line number Diff line change 2
2
3
3
* Questions? [ Contact us] ( https://support.branch.io/support/tickets/new ) *
4
4
5
+ 1 . [ Todo] ( #todo )
5
6
1 . [ Data Flow] ( #data-flow )
6
7
1 . [ Dependencies] ( #dependencies )
7
8
1 . [ Setup] ( #setup )
10
11
1 . [ Submit] ( #submit )
11
12
1 . [ Publish] ( #publish )
12
13
14
+ ## TODO
15
+
16
+ - ` <plugin name="branch-cordova-sdk" spec="../" /> ` or ` cordova plugin add ../ ` causes an infinite loop when importing Branch on Cordova 7.0.1. Works on Cordova 6.5.0.
17
+ - need to remove ` TODO ` from ` init.sh ` for ` ios-sim ` error
18
+ - ` cordova platform update [email protected] ` added for Cordova 6.5.0 error on Android
19
+
13
20
## Data Flow
14
21
15
22
- [ Users sets values] ( https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/blob/master/testbed/config.template.xml#L6-L13 )
Original file line number Diff line number Diff line change 2
2
<widget id =" com.eneff.branch.cordovatestbed" version =" 1.0.0" xmlns =" http://www.w3.org/ns/widgets" xmlns : cdv =" http://cordova.apache.org/ns/1.0" >
3
3
<!-- Branch -->
4
4
5
- <!-- uncomment the following line if building locally and not contributing -->
6
- <!-- < plugin name="branch-cordova-sdk" /> -- >
5
+ <!-- remove spec to switch from local to npm -->
6
+ <plugin name =" branch-cordova-sdk" spec = " ../ " / >
7
7
<branch-config >
8
8
<branch-key value =" key_live_ndqptlgXNE4LHqIahH1WIpbiyFlb62J3" />
9
9
<uri-scheme value =" branchcordova" />
Original file line number Diff line number Diff line change @@ -71,25 +71,27 @@ main() {
71
71
gulp prod
72
72
73
73
# config
74
- yes | \c p -f config.template.xml config.xml
74
+ cp config.template.xml config.xml
75
75
76
76
# build (platforms added before plugin because before_plugin_install does not work on file reference)
77
77
if [[ " $run_ios " == " true" ]]; then
78
78
cordova platform add ios
79
79
fi
80
80
if [[ " $run_and " == " true" ]]; then
81
81
cordova platform add android
82
+ # TODO: remove for cordova 6.5.0
83
+ cordova platform update
[email protected]
82
84
fi
83
85
84
86
# TODO: remove this cordova error fix (https://stackoverflow.com/questions/42350505/error-cannot-read-property-replace-of-undefined-when-building-ios-cordova)
85
- if [[ " $run_ios " == " true" ]]; then
86
- cd ./platforms/ios/cordova/node_modules/
87
- npm install ios-sim@latest
88
- cd ../../../../
89
- fi
87
+ # if [[ "$run_ios" == "true" ]]; then
88
+ # cd ./platforms/ios/cordova/node_modules/
89
+ # npm install ios-sim@latest
90
+ # cd ../../../../
91
+ # fi
90
92
91
93
# plugin
92
- cordova plugin add ../
94
+ # cordova plugin add ../
93
95
94
96
# run
95
97
if [[ " $run_ios " == " true" ]]; then
You can’t perform that action at this time.
0 commit comments