Skip to content

Commit 7cb01a3

Browse files
author
Jenkins
committed
7.2.1
1 parent dad52f0 commit 7cb01a3

4 files changed

Lines changed: 3 additions & 12 deletions

File tree

android/src/main/java/com/regula/documentreader/Config.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ fun setCustomization(customization: ParamsCustomization, opts: JSONObject, conte
298298
"borderBackgroundImageMatrix" -> editor.setBorderBackgroundImageMatrix(v.toMatrix()).setBorderBackgroundImageScaleType(ImageView.ScaleType.MATRIX)
299299
"customLabelStatus" -> editor.setCustomLabelStatus(SpannableString(v as String))
300300
"cameraFrameLineCap" -> editor.setCameraFrameLineCap(Paint.Cap.values()[v.toInt()])
301-
"uiCustomizationLayer" -> editor.setUiCustomizationLayer(v as JSONObject)
301+
"uiCustomizationLayer" -> editor.setUiCustomizationLayer(JSONObject(v.toString()))
302302
"colors" -> setColors(editor, v as JSONObject)
303303
"fonts" -> setFonts(editor, v as JSONObject)
304304
"images" -> setImages(editor, v as JSONObject, context)

example/package-lock.json

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "jest"
1111
},
1212
"dependencies": {
13-
"@regulaforensics/react-native-document-reader-api": "7.2.0",
13+
"@regulaforensics/react-native-document-reader-api": "7.2.1",
1414
"@regulaforensics/react-native-document-reader-core-fullrfid": "7.2.0",
1515
"react-native-progress": "5.0.0",
1616
"react-native-radio-buttons-group": "3.0.5",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@regulaforensics/react-native-document-reader-api",
3-
"version": "7.2.0",
3+
"version": "7.2.1",
44
"description": "React Native module for reading and validation of identification documents (API framework)",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)