Skip to content

Commit 8e8c946

Browse files
Merge pull request #33 from getyoti/DEP-239
[DEP-239] Release 2.7.0
2 parents 3a8083c + 86c52a0 commit 8e8c946

File tree

6 files changed

+30
-46
lines changed

6 files changed

+30
-46
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
3+
## [2.7.0] - 2021-09-21
4+
### Added
5+
- New verification step: Face capture. With it users can provide a selfie of themselves for face match check (ID document photo vs face capture)
6+
- In Session Feedback: users will receive immediate feedback about the ID document capture quality and validation.
7+
38
## [2.6.1] - 2021-03-24
49
### Fixed
510
- Solved issue happened in some sessions.

README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Further information can be found [here](https://developers.yoti.com/yoti-doc-sca
1111
## Table of Contents
1212
- [Requirements](#requirements)
1313
- [Set up the SDK](#setup-the-sdk)
14-
- [Proguard](#proguard)
14+
- [R8 / Proguard](#r8-and-proguard)
1515
- [Start the SDK](#start-the-sdk)
1616
- [Retrieve status of the session](#retrieve-status-of-the-session)
1717
- [Possible status for the session](#possible-status-for-the-session)
@@ -26,7 +26,7 @@ You have setup the Yoti Doc Scan SDK on your backend, you can find the documenta
2626

2727
Minimum Android version supported: 21
2828

29-
Currently targeting Android version: 29
29+
Currently targeting Android version: 30
3030

3131
Note: we are using libraries from Android Jetpack. If you are still using the original Android Support Libraries you may encounter some issues when trying to use our SDK.
3232
We strongly recommend you to migrate your app to the new Androidx libraries: https://developer.android.com/jetpack/androidx/migrate
@@ -55,13 +55,16 @@ Add modules you require to your build.gradle:
5555
```groovy
5656
dependencies {
5757
//If you need document capture
58-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.6.1'
58+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.7.0'
5959
6060
//If you need supplementary documents
61-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:2.6.1'
61+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:2.7.0'
6262
6363
//If you need liveness
64-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.6.1'
64+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.7.0'
65+
66+
//If you need selfie capture
67+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:2.7.0'
6568
}
6669
```
6770

@@ -109,17 +112,12 @@ And if you're using [Firebase performance gradle Plugin](https://firebase.google
109112
}
110113
```
111114

112-
### Proguard
113-
If you are using Proguard, you will need to add the following lines in its configuration file:
115+
### R8 and Proguard
114116

115-
```
116-
-keep class com.yoti.** { *; }
117-
-keep class com.microblink.** { *; }
118-
-keep class com.microblink.**$* { *; }
119-
-dontwarn com.microblink.**
120-
-keep class com.facetec.zoom.** { *; }
121-
-dontwarn javax.annotation.Nullable
122-
```
117+
If you are using R8 the shrinking and obfuscation rules are included automatically.
118+
119+
ProGuard users must manually add the options from [proguard-rules.pro](https://github.com/getyoti/yoti-doc-scan-android/blob/master/app/proguard-rules.pro).
120+
You might also need rules for [retrofit](https://github.com/square/retrofit/blob/5c6620/retrofit/src/main/resources/META-INF/proguard/retrofit2.pro), [OkHttp](https://github.com/square/okhttp/blob/a16ec15/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro), [Okio](https://github.com/square/okio/blob/f906821e6/okio/src/jvmMain/resources/META-INF/proguard/okio.pro) and [Gson](https://github.com/google/gson/blob/master/examples/android-proguard-example/proguard.cfg) which are dependencies of this library.
123121

124122
## Start the SDK
125123

@@ -203,6 +201,7 @@ class MainActivity : AppCompatActivity() {
203201
| 6000 | Document Capture dependency not found error | No |
204202
| 6001 | Liveness Zoom dependency not found error | No |
205203
| 6002 | Supplementary document dependency not found error | No |
204+
| 6003 | Face Capture dependency not found error | No |
206205

207206

208207
## Customisation

app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId "com.yoti.mobile.android.sdk.yotidocscan.sample"
99
minSdkVersion 21
1010
targetSdkVersion 30
11-
versionCode 261
12-
versionName "2.6.1"
11+
versionCode 270
12+
versionName "2.7.0"
1313
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1414
}
1515

@@ -40,11 +40,11 @@ android {
4040
dependencies {
4141
implementation fileTree(dir: 'libs', include: ['*.jar'])
4242
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
43-
implementation 'androidx.appcompat:appcompat:1.2.0'
44-
implementation 'androidx.core:core-ktx:1.3.2'
45-
46-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.6.1'
47-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:2.6.1'
48-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.6.1'
43+
implementation 'androidx.appcompat:appcompat:1.3.1'
44+
implementation 'androidx.core:core-ktx:1.6.0'
4945

46+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.7.0'
47+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:2.7.0'
48+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.7.0'
49+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:2.7.0'
5050
}

app/release/output.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.3.72'
4+
ext.kotlin_version = '1.5.10'
55
repositories {
66
google()
77
jcenter()
88

99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:4.0.0'
11+
classpath 'com.android.tools.build:gradle:4.2.2'
1212
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

0 commit comments

Comments
 (0)