File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,16 @@ allprojects {
4040Now add any of these optional dependencies to your app's [ ` build.gradle ` ] ( https://developer.android.com/build#build-files ) file:
4141``` groovy
4242dependencies {
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```
5055If you're using Proguard or another obfuscation tool, you should also add the following configuration rules to your ` proguard-rules.pro ` file:
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments