Skip to content

Commit

Permalink
Merge pull request #47 from getyoti/YD-424
Browse files Browse the repository at this point in the history
[DEP-424] Release 3.2.0
  • Loading branch information
davidl-yoti authored Oct 20, 2023
2 parents 48b8553 + 94e5aaf commit 8b8337c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 14 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog
All notable changes to this project will be documented in this file.
## [3.2.0] - 2023-10-19
### Added
- Implemented font type customisation.
- Added search functionality to the issuing country search.
- Allow retention logic in the biometric consent.

### Changed
- Improved the supplementary document guidelines screen.
- Updated the biometric consent screen copy.
- Updated the copy on Italian national ID.
- Bug fixes and code improvements

## [3.1.1] - 2023-07-12
### Changed
- General bug fixes.
Expand Down
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,18 @@ Add modules you require to your build.gradle:
```groovy
dependencies {
//If you need document capture
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.2.0'
//If you need supplementary documents
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.0'
//If you need liveness
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.0'
//If you need selfie capture
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.0'
//Or if you want the version without an embedded AI model, which is ~20 MB smaller in size
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.0'
}
```

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

### Font type
In order to change the font type you need to:
1. Add your own font type .tff files to res/font, 3 files in total for bold, regular and medium
2. Declare three resource items of type font (which will override the ones declared in the SDK):
```
<item name="yoti_sdk_fontStyleBold" type="font">@font/your-font-bold</item>
<item name="yoti_sdk_fontStyleRegular" type="font">@font/your-font-regular</item>
<item name="yoti_sdk_fontStyleMedium" type="font">>@font/your-font-medium</item>
```

### Font Colour
In order to change the font colour you just need to override the following colour:
```xml
Expand Down
18 changes: 9 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 31
compileSdkVersion 32
defaultConfig {
applicationId "com.yoti.mobile.android.sdk.yotidocscan.sample"
minSdkVersion 21
targetSdkVersion 31
versionCode 311
versionName "3.1.1"
targetSdkVersion 32
versionCode 320
versionName "3.2.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Expand Down Expand Up @@ -46,11 +46,11 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.core:core-ktx:1.7.0'

implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.2.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.0'
// Version with an embedded AI model
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.1.1'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.0'
// Alternative version without an embedded AI model, ~20 MB smaller in size
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.1.1'
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.0'
}

0 comments on commit 8b8337c

Please sign in to comment.