Skip to content

Commit

Permalink
Merge pull request #52 from getyoti/DEP-535
Browse files Browse the repository at this point in the history
[DEP-535] Release 3.5.0
  • Loading branch information
mircea-yoti authored Sep 17, 2024
2 parents 61fe453 + 8391401 commit 3a85934
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 17 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog
All notable changes to this project will be documented in this file.
## [3.5.0] - 2024-09-17
## Changed
- Updated illustrations
- Updated privacy link
- Updated NFC screens
- Improvements to the in-session feedback screens
- Updated copies
- Bug fixes and code improvements

## [3.4.0] - 2024-06-06
## Added
- Added a new slim variant of the ID document capture module, which includes a reduced feature set:
Expand Down
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,20 @@ 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.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.5.0'
//Or if you want the version without OCR and NFC capture, which is ~15Mb smaller in size
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:3.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:3.5.0'
//If you need supplementary documents
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.5.0'
//If you need liveness
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.5.0'
//If you need selfie capture
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.5.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.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.5.0'
}
```

Expand Down Expand Up @@ -121,8 +121,6 @@ And if you're using [Firebase performance gradle Plugin](https://firebase.google

To further decrease the size footprint of the SDK, you can also opt to manually exclude some of the educational videos shown in the verification flows:
- `yds_aadhaar_educational` (~750Kb) - only exclude if you do not support the Indian Aadhaar as a valid ID document type.
- `yds_nfc_educational` (~440Kb) - only exclude if you do not support NFC-chipped document types such as certain passports. This is already excluded if you are using the
slim variant of the ID document module (`yoti-sdk-doc-scan-slim`) so no extra action is needed then.
- `yds_liveness_educational` (~560Kb) - only exclude if you're using the `yoti-sdk-liveness-zoom` dependency.

**Note:** It's important to mention that excluding these resources is not recommended and should be only done in case the conditions described above apply to
Expand All @@ -133,7 +131,7 @@ To exclude these video resources during build time you have to:
2. Create a `keep.xml` file in your app module's `res/raw` resource directory, where you specify which resources you want to exclude:
```
<resources xmlns:tools="http://schemas.android.com/tools"
tools:discard="@raw/yds_aadhaar_educational,@raw/yds_nfc_educational,@raw/yds_liveness_educational" />
tools:discard="@raw/yds_aadhaar_educational,@raw/yds_liveness_educational" />
```

For more information on resource shrinking and excluding resources, check out the [official documentation](https://developer.android.com/build/shrink-code#keep-resources).
Expand Down
16 changes: 8 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.yoti.mobile.android.sdk.yotidocscan.sample"
minSdkVersion 21
targetSdkVersion 33
versionCode 340
versionName "3.4.0"
versionCode 350
versionName "3.5.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Expand Down Expand Up @@ -46,13 +46,13 @@ 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.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.5.0'
// Alternative version without OCR and NFC capture, ~15Mb smaller in size
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:3.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.4.0'
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-slim:3.5.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.5.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.5.0'
// Version with an embedded AI model
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.4.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.5.0'
// Alternative version without an embedded AI model, ~20 MB smaller in size
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.4.0'
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.5.0'
}

0 comments on commit 3a85934

Please sign in to comment.