Skip to content

Commit a47f688

Browse files
authored
Merge pull request #40 from getyoti/DEP-519
[TASK][DEP-519] Bump Android SDK version to 3.4.0
2 parents d2361d2 + 4633759 commit a47f688

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Continuing with your integration for Android, add the following property and rep
2626
```groovy
2727
buildscript {
2828
ext {
29-
yotiSdkVersion = "3.3.0"
29+
yotiSdkVersion = "3.4.0"
3030
}
3131
}
3232
allprojects {
@@ -40,11 +40,16 @@ allprojects {
4040
Now add any of these optional dependencies to your app's [`build.gradle`](https://developer.android.com/build#build-files) file:
4141
```groovy
4242
dependencies {
43+
// With automatic capture via OCR and NFC capture
4344
implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:${rootProject.ext.yotiSdkVersion}"
45+
// With manual capture only, no OCR, no NFC - around 14Mb smaller in size
46+
implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:${rootProject.ext.yotiSdkVersion}"
4447
implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:${rootProject.ext.yotiSdkVersion}"
4548
implementation "com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:${rootProject.ext.yotiSdkVersion}"
46-
implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture:${rootProject.ext.yotiSdkVersion}" // With embedded AI model
47-
implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:${rootProject.ext.yotiSdkVersion}" // Without embedded AI model - around 20 MB smaller in size
49+
// With embedded AI model
50+
implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture:${rootProject.ext.yotiSdkVersion}"
51+
// Without embedded AI model - around 20 MB smaller in size
52+
implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:${rootProject.ext.yotiSdkVersion}"
4853
}
4954
```
5055
If you're using Proguard or another obfuscation tool, you should also add the following configuration rules to your `proguard-rules.pro` file:

example/android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ dependencies {
7878
implementation fileTree(dir: "libs", include: ["*.jar"])
7979
implementation "com.facebook.react:react-native:0.68.5"
8080
implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:${rootProject.ext.yotiSdkVersion}"
81+
// implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:${rootProject.ext.yotiSdkVersion}"
8182
//implementation "com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:${rootProject.ext.yotiSdkVersion}"
8283
implementation "com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:${rootProject.ext.yotiSdkVersion}"
8384
//implementation "com.yoti.mobile.android.sdk:yoti-sdk-facecapture:${rootProject.ext.yotiSdkVersion}" // With embedded AI model

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
minSdkVersion = 21
44
compileSdkVersion = 33
55
targetSdkVersion = 33
6-
yotiSdkVersion = "3.3.0"
6+
yotiSdkVersion = "3.4.0"
77
}
88
repositories {
99
google()

0 commit comments

Comments
 (0)