Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ public void onCreate() {
super.onCreate();

IdentityVideoSDK.initialize(this);
IdentityVideoSDK.setMode(IdentityVideoSDK.Mode.TEST);
IdentityVideoSDK.setMode(IdentityVideoSDK.Mode.STAGING);
}
}
6 changes: 1 addition & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 {
Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down