Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MYID Public Code
MyID Sample Android
Commits
9896bda5
Commit
9896bda5
authored
Oct 24, 2025
by
Javohir Savriy
Browse files
Update README.md
parent
1beb217e
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
9896bda5
...
...
@@ -24,7 +24,7 @@ The SDK supports API level 21 and above
Make sure that your app meets the following requirements:
-
`minSdkVersion = 21`
-
`targetSdkVersion = 3
5
`
-
`targetSdkVersion = 3
6
`
-
`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
)
{
}
}
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment