`withBuildMode(value: MyIdBuildMode)` | Build mode: DEBUG, PRODUCTION | MyIdBuildMode.PRODUCTION
`withLocale(value: MyIdLocale)` | To set a specific language | MyIdLocale.UZ
`withPhoto(value: Boolean)` | Return SDK face bitmap | false
`withPhoto(value: Boolean)` | Return SDK face bitmap | false
**Note 1.1.**`MyIdEntryType` contains **AUTH** and **FACE** types.
**Note 1.1.**`MyIdEntryType` contains **AUTH** and **FACE** types.
-**AUTH** is used to identify the user through the MyId services.
-**AUTH** is used to identify the user through the MyID services.
-**FACE** is used to detect a face and returns a picture (bitmap).
-**FACE** is used to detect a face and returns a picture (bitmap).
**Note 1.2.** You can customize the screen for entering passport data and date of birth in your
**Note 1.2.** You can customize the screen for entering passport data and date of birth in your
...
@@ -152,12 +164,17 @@ the SDK requires the input of passport data and date of birth for user identific
...
@@ -152,12 +164,17 @@ the SDK requires the input of passport data and date of birth for user identific
-**DEBUG** is used to sandbox.
-**DEBUG** is used to sandbox.
-**PRODUCTION** is used to production.
-**PRODUCTION** is used to production.
**Note 1.4.** If the externalId is not empty, has a length of 36 characters and corresponds to the regular expression UUID4, we will display a [recommendation](images/screen01.jpg) screen in case the sdk detects a blurry photo.
**Note 1.4.** If the externalId is not empty, has a length of 36 characters and corresponds to the
regular expression UUID4, we will display a [recommendation](images/screen01.jpg) screen in case the
The MyId Android SDK supports translations for the following languages:
The MyID Android SDK supports translations for the following languages:
- Uzbek (uz) 🇺🇿
- Uzbek (uz) 🇺🇿
- English (en) 🇬🇧
- English (en) 🇬🇧
- Russian (ru) 🇷🇺
- Russian (ru) 🇷🇺
By default, the Uzbek language is used. However, you can also call the `withLocale(MyIdLocale)`
By default, the Uzbek language is used. However, you can also call the `withLocale(Locale)`
method of the `MyIdConfig.Builder` configuration to set the language.
method of the `MyIdConfig.Builder` configuration to set the language.
## Custom Organization Details
## Custom Organization Details
You can customize the SDK, for it to match your organization's brand book, by providing `OrganizationDetails` object to `withOrganizationDetails` method.
You can customize the SDK, for it to match your organization's brand book, by
The object allows you to customize following fields:
providing `OrganizationDetails` object to `withOrganizationDetails` method. The object allows you to
-*phoneNumber* - by default 712022202, which is MyID's call center. If you would like the customer to call your own call center, you can display your own phone number on the error screen, by providing it in this field ([sample](images/screen01.jpg)).
customize following fields:
-*logo* - the drawable asset, that will be displayed on the input screen. If you would like to display your own logo on the top of the screen, this is the place to provide it. Make sure it fits the imageView element, which has the *240x60* size.
\ No newline at end of file
-*phoneNumber* - by default 712022202, which is MyID's call center. If you would like the customer
to call your own call center, you can display your own phone number on the error screen, by
providing it in this field ([sample](images/screen01.jpg)).
-*logo* - the drawable asset, that will be displayed on the input screen. If you would like to
display your own logo on the top of the screen, this is the place to provide it. Make sure it fits
the imageView element, which has the *240x60* size.