File tree Expand file tree Collapse file tree 4 files changed +6
-18
lines changed Expand file tree Collapse file tree 4 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ SOFTWARE.
63
63
</config-file >
64
64
65
65
<source-file src =" src/android/io/branch/BranchSDK.java" target-dir =" src/io/branch" />
66
- <lib-file src =" src/android/dependencies/Branch.jar " />
66
+ <lib-file src =" src/android/dependencies/Branch.aar " />
67
67
</platform >
68
68
69
69
<!-- iOS -->
Original file line number Diff line number Diff line change @@ -62,23 +62,11 @@ update_ios() {
62
62
}
63
63
64
64
update_and () {
65
- # properties
66
- path=" ../../android/dependencies"
67
- tag_url=" https://github.com/BranchMetrics/android-branch-deep-linking/archive/$and_tag .zip"
68
- zip_tmp=android-branch-deep-linking-$and_tag
69
-
70
- # validate and download
71
- check_tag " $tag_url "
72
- download_sdk " $path " " $tag_url " " $zip_tmp "
73
-
74
- # copy in new dependencies
75
- mv " $zip_tmp /Branch-$and_tag .jar" " $path "
76
-
77
- # rename
78
- mv " $path /Branch-$and_tag .jar" " $path /Branch.jar"
79
-
80
- # clean up
81
- remove_tmp " $zip_tmp "
65
+ # download aar file from bintray
66
+ url=" https://bintray.com/bintray/jcenter/download_file?file_path=io%2Fbranch%2Fsdk%2Fandroid%2Flibrary%2F$and_tag %2Flibrary-$and_tag .aar"
67
+
68
+ echo " downloading $url "
69
+ curl -L -o " ../../android/dependencies/Branch.aar" " $url "
82
70
}
83
71
84
72
check_tag () {
You can’t perform that action at this time.
0 commit comments