Skip to content

Commit f5ed9b2

Browse files
committed
CORE-1863 minor fixes
1 parent 3cc4f77 commit f5ed9b2

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

AdobeBranchExtension/src/main/java/io/branch/adobe/extension/AdobeBranchExtension.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,15 @@ public static void registerExtension(@NonNull Context context, boolean debugMode
101101
return "io.branch";
102102
}
103103

104+
@Override
105+
protected void onUnregistered() {
106+
super.onUnregistered();
107+
}
108+
104109
@Override public final String getVersion() {
105-
return BuildConfig.VERSION_NAME;
110+
//return BuildConfig.VERSION_NAME;
111+
// TODO: figure out why this isn't being picked up properly
112+
return "1.3.1";
106113
}
107114

108115
@Override public void error(ExtensionError extensionError) {

build.gradle

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ buildscript {
44

55
repositories {
66
google()
7-
jcenter()
8-
maven { url 'http://developer.huawei.com/repo/' }
7+
mavenCentral()
8+
maven {
9+
url = uri('https://developer.huawei.com/repo/')
10+
}
911
}
1012
dependencies {
1113
classpath 'com.android.tools.build:gradle:3.5.1'
12-
1314

1415
// NOTE: Do not place your application dependencies here; they belong
1516
// in the individual module build.gradle files
@@ -19,8 +20,10 @@ buildscript {
1920
allprojects {
2021
repositories {
2122
google()
22-
jcenter()
23-
maven { url 'http://developer.huawei.com/repo/' }
23+
mavenCentral()
24+
maven {
25+
url = uri('https://developer.huawei.com/repo/')
26+
}
2427
}
2528
}
2629

0 commit comments

Comments
 (0)