diff --git a/app/build.gradle b/app/build.gradle index d87f028..4ec8b3a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -30,15 +30,15 @@ dependencies { implementation 'com.android.support:design:27.1.1' - implementation('de.identity:identity:3.0.7') { + implementation('de.identity:networktest:3.0.8') { transitive = true } - - implementation('de.identity:networktest:3.0.7') { + implementation('de.identity:identity:3.0.8') { transitive = true } - - implementation('de.identity:ocr:3.0.7') { + implementation('de.identity:ocr:3.0.8') { transitive = true + exclude module: "support-v13" } + } diff --git a/app/src/main/java/io/supercharge/identitytest/MainActivity.java b/app/src/main/java/io/supercharge/identitytest/MainActivity.java index 99f3d8f..355f26f 100644 --- a/app/src/main/java/io/supercharge/identitytest/MainActivity.java +++ b/app/src/main/java/io/supercharge/identitytest/MainActivity.java @@ -2,10 +2,8 @@ import android.os.Bundle; import android.support.design.widget.FloatingActionButton; -import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; -import android.view.View; import android.view.Menu; import android.view.MenuItem; @@ -21,7 +19,8 @@ protected void onCreate(Bundle savedInstanceState) { setSupportActionBar(toolbar); FloatingActionButton fab = findViewById(R.id.fab); - fab.setOnClickListener(view -> IdentityVideoSDK.getInstance().startIdentification(this, 1234, "")); + fab.setOnClickListener(view -> IdentityVideoSDK.getInstance().startIdentification(this, 1234, "zq_sGxyYcg4XvJSjak4x")); + } @Override diff --git a/app/src/main/java/io/supercharge/identitytest/TestApplication.java b/app/src/main/java/io/supercharge/identitytest/TestApplication.java index b687785..473af7f 100644 --- a/app/src/main/java/io/supercharge/identitytest/TestApplication.java +++ b/app/src/main/java/io/supercharge/identitytest/TestApplication.java @@ -11,6 +11,6 @@ public void onCreate() { super.onCreate(); IdentityVideoSDK.initialize(this); - IdentityVideoSDK.setMode(IdentityVideoSDK.Mode.TEST); + IdentityVideoSDK.setMode(IdentityVideoSDK.Mode.STAGING); } } diff --git a/build.gradle b/build.gradle index fe4b8ed..61f1bf0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,13 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - + repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.3' - // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -19,9 +18,6 @@ allprojects { repositories { google() jcenter() - maven { url "http://tokbox.bintray.com/maven" } - maven { url 'https://jitpack.io' } - maven { url 'http://maven.microblink.com' } maven { url "https://identity.jfrog.io/identity/identity-sdk-release-local" credentials { diff --git a/gradle.properties b/gradle.properties index d91ce29..b897cee 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,8 +6,7 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx1536m -android.enableD8=false +org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects