Skip to content

Commit 44e5df9

Browse files
committed
Release 3.2.1 - Bump up SDK version to 3.2.1
Related to DEP-435
1 parent 8b8337c commit 44e5df9

File tree

3 files changed

+27
-13
lines changed

3 files changed

+27
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
3+
## [3.2.1] - 2023-11-14
4+
### Changed
5+
- Updated internal dependency version.
6+
37
## [3.2.0] - 2023-10-19
48
### Added
59
- Implemented font type customisation.

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ 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:3.2.0'
58+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.2.1'
5959
6060
//If you need supplementary documents
61-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.0'
61+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.1'
6262
6363
//If you need liveness
64-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.0'
64+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.1'
6565
6666
//If you need selfie capture
67-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.0'
67+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.1'
6868
//Or if you want the version without an embedded AI model, which is ~20 MB smaller in size
69-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.0'
69+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.1'
7070
}
7171
```
7272

@@ -276,11 +276,21 @@ In order to change the colours of the different elements of the screens you just
276276
<color name="yoti_sdk_colorAccentDisabled">#F8B3CB</color>
277277
```
278278
## Reducing the size of your APK
279-
We recommend that you distribute your app using [App Bundle](https://developer.android.com/platform/technology/app-bundle). This new Google Play feature allows you to use [Play Feature delivery](https://developer.android.com/guide/app-bundle/play-feature-delivery#customize_delivery) which uses advanced capabilities of app bundles, allowing certain features of your app to be delivered conditionally or downloaded on demand.
279+
We recommend that you distribute your app using [App Bundle](https://developer.android.com/guide/app-bundle). This new Google Play feature allows you to use [Play Feature delivery](https://developer.android.com/guide/app-bundle/play-feature-delivery#customize_delivery) which uses advanced capabilities of app bundles, allowing certain features of your app to be delivered conditionally or downloaded on demand.
280280
App Bundle also defer apk generation to Google Play, allowing it to generate minimal APK for each specific device that downloads your app, including only required processor architecture support.
281281

282282
Also, don't forget to [shrink, obfuscate and optimize](https://developer.android.com/studio/build/shrink-code) your app.
283283

284+
## Troubleshooting
285+
If you are using the `yoti-sdk-liveness-zoom` module together with the [App Bundle](https://developer.android.com/guide/app-bundle) publishing format, you might encounter the following runtime exception when attempting to open the scan screen:
286+
```
287+
Native library failed to load: null
288+
```
289+
This is caused by a third party library we use. Disabling uncompressed native libraries inside your project's `gradle.properties` file solves the issue:
290+
```
291+
android.bundle.enableUncompressedNativeLibs = false
292+
```
293+
284294
## Support
285295
If you have any other questions please do not hesitate to contact [email protected].
286296
Once we have answered your question we may contact you again to discuss Yoti products and services. If you'd prefer us not to do this, please let us know when you e-mail.

app/build.gradle

Lines changed: 7 additions & 7 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 32
10-
versionCode 320
11-
versionName "3.2.0"
10+
versionCode 321
11+
versionName "3.2.1"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
}
1414

@@ -46,11 +46,11 @@ 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.2.0'
50-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.0'
51-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.0'
49+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.2.1'
50+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.1'
51+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.1'
5252
// Version with an embedded AI model
53-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.0'
53+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.1'
5454
// Alternative version without an embedded AI model, ~20 MB smaller in size
55-
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.0'
55+
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.1'
5656
}

0 commit comments

Comments
 (0)