Skip to content

Commit

Permalink
Final commit for 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JumioMobileTeam committed Dec 15, 2021
1 parent ca8bfb8 commit 0031bb0
Show file tree
Hide file tree
Showing 152 changed files with 5,308 additions and 12,040 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.0.0
* Updated Jumio SDK Android and iOS to 4.0.0
* Update dependencies to Flutter 2.5.3 and Dart 2.14.4

## 3.9.2
* Updated Jumio SDK Android to 3.9.2 and iOS to 3.9.1
* Update dependencies to Flutter 2.2.1 and Dart 2.13.1
Expand Down
350 changes: 36 additions & 314 deletions README.md

Large diffs are not rendered by default.

66 changes: 23 additions & 43 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,85 +2,65 @@ group 'com.jumio.jumiomobilesdk'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.4.30'
ext.kotlin_version = '1.5.30'
repositories {
google()
jcenter()
mavenCentral()
gradlePluginPortal()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.android.tools.build:gradle:7.0.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

rootProject.allprojects {
repositories {
google()
jcenter()
maven { url 'https://mobile-sdk.jumio.com' }
}
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'

android {
compileSdkVersion 29
compileSdkVersion 31

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
minSdkVersion 19
minSdkVersion 21
}
lintOptions {
disable 'InvalidPackage'
}
}

ext {
SDK_VERSION = "3.9.2"
SDK_VERSION = "4.0.0"
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "com.jumio.android:core:${SDK_VERSION}@aar"
implementation "com.jumio.android:bam:${SDK_VERSION}@aar"
implementation "com.jumio.android:nv:${SDK_VERSION}@aar"
implementation "com.jumio.android:nv-mrz:${SDK_VERSION}@aar"
implementation "com.jumio.android:nv-nfc:${SDK_VERSION}@aar"
implementation "com.jumio.android:nv-ocr:${SDK_VERSION}@aar"
implementation "com.jumio.android:nv-barcode:${SDK_VERSION}@aar"
implementation "com.jumio.android:iproov:${SDK_VERSION}@aar"
implementation "com.jumio.android:dv:${SDK_VERSION}@aar"

//for core:
implementation "androidx.appcompat:appcompat:1.2.0"
implementation "androidx.room:room-runtime:2.2.6"
// Jumio dependencies
implementation "com.jumio.android:core:${SDK_VERSION}"
implementation "com.jumio.android:linefinder:${SDK_VERSION}"
implementation "com.jumio.android:mrz:${SDK_VERSION}"
implementation "com.jumio.android:nfc:${SDK_VERSION}"
implementation "com.jumio.android:barcode:${SDK_VERSION}"
implementation "com.jumio.android:barcode-mlkit:${SDK_VERSION}"
implementation "com.jumio.android:iproov:${SDK_VERSION}"
implementation "com.jumio.android:defaultui:${SDK_VERSION}"

//for nv:
implementation "com.google.android.material:material:1.2.1"
implementation "androidx.cardview:cardview:1.0.0"
implementation "androidx.constraintlayout:constraintlayout:2.0.4"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.0"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0"
//only for the sample code
implementation "androidx.activity:activity-ktx:1.4.0"

//only for nv-barcode-vision
implementation ("com.google.android.gms:play-services-vision:20.1.3"){
exclude group: 'com.android.support', module:'support-v4'
}
//Kotlin
implementation "androidx.multidex:multidex:2.0.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

//only for nv-nfc
implementation "org.jmrtd:jmrtd:0.7.24"
implementation "org.ejbca.cvc:cert-cvc:1.4.6"
implementation "org.bouncycastle:bcprov-jdk15on:1.67"
implementation "net.sf.scuba:scuba-sc-android:0.0.18"

//only for face liveness
implementation ("com.iproov.sdk:iproov:6.4.2"){
exclude group: 'org.json', module:'json'
}
implementation "androidx.core:core-ktx:1.3.2"
implementation fileTree(dir: 'libs', include: '*.jar')
}
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
17 changes: 0 additions & 17 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jumio.jumiomobilesdk">

<application>
<activity
android:theme="@style/CustomNetverifyTheme"
android:hardwareAccelerated="true"
android:name="com.jumio.nv.NetverifyActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden" />
<activity
android:name="com.jumio.bam.BamActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
android:hardwareAccelerated="true"
android:theme="@style/CustomBamTheme"/>
<activity
android:name="com.jumio.dv.DocumentVerificationActivity"
android:windowSoftInputMode="adjustResize"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
android:hardwareAccelerated="true"
android:theme="@style/CustomDocumentVerificationTheme"/>
</application>
</manifest>
180 changes: 0 additions & 180 deletions android/src/main/kotlin/com/jumio/jumiomobilesdk/BamCheckoutModule.kt

This file was deleted.

Loading

0 comments on commit 0031bb0

Please sign in to comment.