Commit 9896bda5 authored by Javohir Savriy's avatar Javohir Savriy
Browse files

Update README.md

parent 1beb217e
......@@ -24,7 +24,7 @@ The SDK supports API level 21 and above
Make sure that your app meets the following requirements:
- `minSdkVersion = 21`
- `targetSdkVersion = 35`
- `targetSdkVersion = 36`
- `Kotlin = 1.8.22+`
- `android.useAndroidX = true`
......@@ -57,7 +57,7 @@ Add the required SDK dependency to your `build.gradle`:
```gradle
dependencies {
implementation("uz.myid.sdk.capture:myid-capture-sdk:2.4.8")
implementation("uz.myid.sdk.capture:myid-capture-sdk:2.4.9")
}
```
......@@ -77,7 +77,7 @@ If you are using **VideoIdentification** entry mode, also include:
```gradle
dependencies {
implementation("uz.myid.sdk.capture:myid-video-capture-sdk:2.4.8")
implementation("uz.myid.sdk.capture:myid-video-capture-sdk:2.4.9")
}
```
......@@ -210,8 +210,12 @@ Method | Notes | Default
`withLocale(locale: MyIdLocale)` | To set a specific locale | MyIdLocale.Uzbek
`withCameraShape(shape: MyIdCameraShape)` | To set a specific camera shape (Note 1.6) | MyIdCameraShape.Circle
`withCameraResolution(resolution: MyIdCameraResolution)` | To set a specific camera resolution | MyIdCameraResolution.Low
`withScreenOrientation(orientation: MyIdScreenOrientation)` | To set a specific sdk orientation | MyIdScreenOrientation.Portrait
`withImageFormat(format: MyIdImageFormat)` | To set a specific image format | MyIdImageFormat.PNG
`withOrganizationDetails(details: MyIdOrganizationDetails)` | Custom Organization Details | Optional
`withSoundGuides(enable: Boolean)` | To set sound guides | true
`withErrorScreen(showErrorScreen: Boolean)` | Customizing the SDK error screens | true
`withHuaweiAppId(appId: String)` | To set a huawei app id | Required for HMS
**Note 1.1.** You can customize the screen for entering passport data and date of birth in your
application, in which case you can pass these parameters during initialization to the SDK, otherwise
......@@ -261,6 +265,9 @@ val resultListener: MyIdResultListener = object : MyIdResultListener {
val message = e.message
val code = e.code
}
override fun onEvent(event: MyIdEvent) {
}
}
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment