Skip to content

Commit 8b8337c

Browse files
authored
Merge pull request #47 from getyoti/YD-424
[DEP-424] Release 3.2.0
2 parents 48b8553 + 94e5aaf commit 8b8337c

File tree

3 files changed

+36
-14
lines changed

3 files changed

+36
-14
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
3+
## [3.2.0] - 2023-10-19
4+
### Added
5+
- Implemented font type customisation.
6+
- Added search functionality to the issuing country search.
7+
- Allow retention logic in the biometric consent.
8+
9+
### Changed
10+
- Improved the supplementary document guidelines screen.
11+
- Updated the biometric consent screen copy.
12+
- Updated the copy on Italian national ID.
13+
- Bug fixes and code improvements
14+
315
## [3.1.1] - 2023-07-12
416
### Changed
517
- General bug fixes.

README.md

Lines changed: 15 additions & 5 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.1.1'
58+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.2.0'
5959
6060
//If you need supplementary documents
61-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.1.1'
61+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.0'
6262
6363
//If you need liveness
64-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.1.1'
64+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.0'
6565
6666
//If you need selfie capture
67-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.1.1'
67+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.0'
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.1.1'
69+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.0'
7070
}
7171
```
7272

@@ -240,6 +240,16 @@ Apart from helping you avoid issues such as the one outlined above, this will st
240240
## Customisation
241241
You can customise the appearance of the screens of the SDK by overriding some of the colours.
242242

243+
### Font type
244+
In order to change the font type you need to:
245+
1. Add your own font type .tff files to res/font, 3 files in total for bold, regular and medium
246+
2. Declare three resource items of type font (which will override the ones declared in the SDK):
247+
```
248+
<item name="yoti_sdk_fontStyleBold" type="font">@font/your-font-bold</item>
249+
<item name="yoti_sdk_fontStyleRegular" type="font">@font/your-font-regular</item>
250+
<item name="yoti_sdk_fontStyleMedium" type="font">>@font/your-font-medium</item>
251+
```
252+
243253
### Font Colour
244254
In order to change the font colour you just need to override the following colour:
245255
```xml

app/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33

44
android {
5-
compileSdkVersion 31
5+
compileSdkVersion 32
66
defaultConfig {
77
applicationId "com.yoti.mobile.android.sdk.yotidocscan.sample"
88
minSdkVersion 21
9-
targetSdkVersion 31
10-
versionCode 311
11-
versionName "3.1.1"
9+
targetSdkVersion 32
10+
versionCode 320
11+
versionName "3.2.0"
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.1.1'
50-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.1.1'
51-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.1.1'
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'
5252
// Version with an embedded AI model
53-
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.1.1'
53+
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.0'
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.1.1'
55+
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.0'
5656
}

0 commit comments

Comments
 (0)