@@ -55,18 +55,18 @@ Add modules you require to your build.gradle:
55
55
``` groovy
56
56
dependencies {
57
57
//If you need document capture
58
- implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.1.1 '
58
+ implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:3.2.0 '
59
59
60
60
//If you need supplementary documents
61
- implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.1.1 '
61
+ implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:3.2.0 '
62
62
63
63
//If you need liveness
64
- implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.1.1 '
64
+ implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:3.2.0 '
65
65
66
66
//If you need selfie capture
67
- implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.1.1 '
67
+ implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture:3.2.0 '
68
68
//Or if you want the version without an embedded AI model, which is ~20 MB smaller in size
69
- implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.1.1 '
69
+ implementation 'com.yoti.mobile.android.sdk:yoti-sdk-facecapture-unbundled:3.2.0 '
70
70
}
71
71
```
72
72
@@ -240,6 +240,16 @@ Apart from helping you avoid issues such as the one outlined above, this will st
240
240
## Customisation
241
241
You can customise the appearance of the screens of the SDK by overriding some of the colours.
242
242
243
+ ### Font type
244
+ In order to change the font type you need to:
245
+ 1 . Add your own font type .tff files to res/font, 3 files in total for bold, regular and medium
246
+ 2 . Declare three resource items of type font (which will override the ones declared in the SDK):
247
+ ```
248
+ <item name="yoti_sdk_fontStyleBold" type="font">@font/your-font-bold</item>
249
+ <item name="yoti_sdk_fontStyleRegular" type="font">@font/your-font-regular</item>
250
+ <item name="yoti_sdk_fontStyleMedium" type="font">>@font/your-font-medium</item>
251
+ ```
252
+
243
253
### Font Colour
244
254
In order to change the font colour you just need to override the following colour:
245
255
``` xml
0 commit comments