Skip to content

Commit 723dd92

Browse files
committed
Release 4.0.0 - Bump up SDK version to 4.0.0
Addressed breaking change: replacing the microblink maven url with the regulaforensics one in build.gradle. Related to DEP-571
1 parent dc53fff commit 723dd92

File tree

5 files changed

+26
-20
lines changed

5 files changed

+26
-20
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
3+
## [4.0.0] - 2025-03-11
4+
### Changed
5+
- Document processing improvements. This introduces a small breaking change requiring replacing the
6+
"microblink" maven url with the "regulaforensics" one in your allProjects entry in your root build.gradle
7+
file (see README - Setup the SDK). You can also remove any "microblink"-related proguard rules you have.
8+
- Addressed compatibility issues when building with Android Gradle Plugin 8+
9+
- Various bug fixes and improvements
10+
311
## [3.5.2] - 2024-09-12
412
- Updated internal dependency version
513

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,20 @@ We strongly recommend you to migrate your app to the new Androidx libraries: htt
3333

3434
## Setup the SDK
3535

36-
Make sure you have mavenCentral and microblink repository added in your allProjects entry in your root build.gradle:
36+
Make sure you have mavenCentral and regulaforensics repository added in your allProjects entry in your root build.gradle:
3737

3838
```groovy
3939
allprojects {
4040
repositories {
4141
mavenCentral()
42-
maven { url 'https://maven.microblink.com' }
42+
maven { url "https://maven.regulaforensics.com/RegulaDocumentReader" }
4343
maven { url "https://jitpack.io" }
4444
...
4545
}
4646
...
4747
}
4848
```
49+
If you are still using Yoti SDK version `3.5.2` or below, please refer to [these instructions](https://github.com/getyoti/yoti-doc-scan-android/blob/v3.5.2/README.md#setup-the-sdk) instead, but keep in mind that support for older versions is not guaranteed and we highly recommend updating to the latest one as soon as possible.
4950

5051
The Yoti SDK is composed of multiple feature modules. Each feature is optional, but you must include at least one to use the SDK.
5152

@@ -55,20 +56,20 @@ Add modules you require to your build.gradle:
5556
```groovy
5657
dependencies {
5758
//If you need document capture
58-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.5.2'
59+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:4.0.0'
5960
//Or if you want the version without OCR and NFC capture, which is ~15Mb smaller in size
60-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:3.5.2'
61+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:4.0.0'
6162
6263
//If you need supplementary documents
63-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.5.2'
64+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:4.0.0'
6465
6566
//If you need liveness
66-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.5.2'
67+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:4.0.0'
6768
6869
//If you need selfie capture
69-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.5.2'
70+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:4.0.0'
7071
//Or if you want the version without an embedded AI model, which is ~20 MB smaller in size
71-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.5.2'
72+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:4.0.0'
7273
}
7374
```
7475

app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.yoti.mobile.android.sdk.yotidocscan.sample"
88
minSdkVersion 21
99
targetSdkVersion 33
10-
versionCode 352
11-
versionName "3.5.2"
10+
versionCode 400
11+
versionName "4.0.0"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
}
1414

@@ -46,13 +46,13 @@ dependencies {
4646
implementation 'androidx.appcompat:appcompat:1.4.1'
4747
implementation 'androidx.core:core-ktx:1.7.0'
4848

49-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.5.2'
49+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:4.0.0'
5050
// Alternative version without OCR and NFC capture, ~15Mb smaller in size
51-
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:3.5.2'
52-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.5.2'
53-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.5.2'
51+
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:4.0.0'
52+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:4.0.0'
53+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:4.0.0'
5454
// Version with an embedded AI model
55-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.5.2'
55+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:4.0.0'
5656
// Alternative version without an embedded AI model, ~20 MB smaller in size
57-
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.5.2'
57+
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:4.0.0'
5858
}

app/proguard-rules.pro

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
volatile <fields>;
33
}
44
-keep class com.yoti.** { *; }
5-
-keep class com.microblink.** { *; }
6-
-keep class com.microblink.**$* { *; }
7-
-dontwarn com.microblink.**
85
-dontwarn com.facetec.sdk.**
96
-keep class com.facetec.sdk.** { *; }
107
-dontwarn javax.annotation.Nullable

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ allprojects {
1818
repositories {
1919
google()
2020
mavenCentral()
21-
maven { url 'https://maven.microblink.com' }
21+
maven { url "https://maven.regulaforensics.com/RegulaDocumentReader" }
2222
maven { url "https://jitpack.io" }
2323
}
2424
}

0 commit comments

Comments
 (0)