Skip to content

Commit

Permalink
Merge pull request #50 from getyoti/DEP-490
Browse files Browse the repository at this point in the history
[DEP-490] Release 3.3.0
  • Loading branch information
davidl-yoti authored Apr 25, 2024
2 parents 832554e + b726231 commit 4cab35b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 18 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog
All notable changes to this project will be documented in this file.
## [3.3.0] - 2024-04-24
## Added
- New error dialog and session status (3003) for slow internet timeouts

### Changed
- Updated the document selection, capture, guidelines, and review screens
- Updated the biometric consent screen
- Updated the label for Israeli National ID
- Bug fixes and code improvements

## [3.2.2] - 2024-01-31
### Changed
- Updated licence keys.
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You have setup the Yoti Doc Scan SDK on your backend, you can find the documenta

Minimum Android version supported: 21

Currently targeting Android version: 32
Currently targeting Android version: 33

Note: we are using libraries from Android Jetpack. If you are still using the original Android Support Libraries you may encounter some issues when trying to use our SDK.
We strongly recommend you to migrate your app to the new Androidx libraries: https://developer.android.com/jetpack/androidx/migrate
Expand Down 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.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.3.0'
//If you need supplementary documents
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.3.0'
//If you need liveness
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.3.0'
//If you need selfie capture
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.3.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.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.3.0'
}
```

Expand Down Expand Up @@ -191,6 +191,7 @@ class MainActivity : AppCompatActivity() {
| 3000 | Yoti's services are down or unable to process the request | Yes |
| 3001 | An error occurred during a network request | Yes |
| 3002 | User has no network | Yes |
| 3003 | A timeout occurred during a network request | Yes |
| 4000 | The user did not grant permissions to the camera | Yes |
| 4001 | User Wrong submission | Yes |
| 5000 | No camera (when user's camera was not found and file upload is not allowed) | No |
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 32
compileSdk 33
defaultConfig {
applicationId "com.yoti.mobile.android.sdk.yotidocscan.sample"
minSdkVersion 21
targetSdkVersion 32
versionCode 322
versionName "3.2.2"
targetSdkVersion 33
versionCode 330
versionName "3.3.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.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.3.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.3.0'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.3.0'
// Version with an embedded AI model
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.2'
implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.3.0'
// Alternative version without an embedded AI model, ~20 MB smaller in size
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.2'
// implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.3.0'
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Aug 21 17:37:50 BST 2019
#Thu Apr 25 10:22:36 EEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip

0 comments on commit 4cab35b

Please sign in to comment.