diff --git a/AdobeBranchExtension/src/main/java/io/branch/adobe/extension/AdobeBranchExtension.java b/AdobeBranchExtension/src/main/java/io/branch/adobe/extension/AdobeBranchExtension.java index 5100795..a73c265 100644 --- a/AdobeBranchExtension/src/main/java/io/branch/adobe/extension/AdobeBranchExtension.java +++ b/AdobeBranchExtension/src/main/java/io/branch/adobe/extension/AdobeBranchExtension.java @@ -101,8 +101,15 @@ public static void registerExtension(@NonNull Context context, boolean debugMode return "io.branch"; } + @Override + protected void onUnregistered() { + super.onUnregistered(); + } + @Override public final String getVersion() { - return BuildConfig.VERSION_NAME; + //return BuildConfig.VERSION_NAME; + // TODO: figure out why this isn't being picked up properly + return "1.3.1"; } @Override public void error(ExtensionError extensionError) { diff --git a/build.gradle b/build.gradle index 132fd7f..faa4c75 100644 --- a/build.gradle +++ b/build.gradle @@ -4,12 +4,13 @@ buildscript { repositories { google() - jcenter() - maven { url 'http://developer.huawei.com/repo/' } + mavenCentral() + maven { + url = uri('https://developer.huawei.com/repo/') + } } dependencies { classpath 'com.android.tools.build:gradle:3.5.1' - // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -19,8 +20,10 @@ buildscript { allprojects { repositories { google() - jcenter() - maven { url 'http://developer.huawei.com/repo/' } + mavenCentral() + maven { + url = uri('https://developer.huawei.com/repo/') + } } }