@regulaforensics/react-native-document-reader-api 9.3.432-nightly → 9.3.434-nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +36 -0
- package/example/package-lock.json +10 -10
- package/example/package.json +2 -2
- package/index.d.ts +18 -0
- package/index.js +18 -0
- package/ios/RGLWConfig.m +23 -6
- package/package.json +1 -1
|
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.source = { :http => 'file:' + __dir__ }
|
|
15
15
|
s.ios.deployment_target = '13.0'
|
|
16
16
|
s.source_files = "ios/*.{h,m}"
|
|
17
|
-
s.dependency 'DocumentReaderNightly', '9.3.
|
|
17
|
+
s.dependency 'DocumentReaderNightly', '9.3.5949'
|
|
18
18
|
s.dependency 'React'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -29,7 +29,7 @@ dependencies {
|
|
|
29
29
|
//noinspection GradleDynamicVersion
|
|
30
30
|
implementation 'com.facebook.react:react-native:+'
|
|
31
31
|
//noinspection GradleDependency
|
|
32
|
-
implementation('com.regula.documentreader:api:9.3.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.3.12476') {
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -770,6 +770,16 @@ fun setColors(input: ParamsCustomization.CustomizationEditor, opts: JSONObject)
|
|
|
770
770
|
"rfidEnableNfcDescriptionText" -> input.setColor(CustomizationColor.RFID_ENABLE_NFC_DESCRIPTION_TEXT, value)
|
|
771
771
|
"rfidEnableNfcButtonText" -> input.setColor(CustomizationColor.RFID_ENABLE_NFC_BUTTON_TEXT, value)
|
|
772
772
|
"rfidEnableNfcButtonBackground" -> input.setColor(CustomizationColor.RFID_ENABLE_NFC_BUTTON_BACKGROUND, value)
|
|
773
|
+
"mdlProcessingScreenBackground" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_BACKGROUND, value)
|
|
774
|
+
"mdlProcessingScreenHintLabelText" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_HINT_LABEL_TEXT, value)
|
|
775
|
+
"mdlProcessingScreenHintLabelBackground" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND, value)
|
|
776
|
+
"mdlProcessingScreenProgressLabelText" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT, value)
|
|
777
|
+
"mdlProcessingScreenResultLabelText" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_RESULT_LABEL_TEXT, value)
|
|
778
|
+
"mdlProcessingScreenLoadingBar" -> input.setColor(CustomizationColor.MDL_PROCESSING_SCREEN_LOADING_BAR, value)
|
|
779
|
+
"mdlEnableNfcTitleText" -> input.setColor(CustomizationColor.MDL_ENABLE_NFC_TITLE_TEXT, value)
|
|
780
|
+
"mdlEnableNfcDescriptionText" -> input.setColor(CustomizationColor.MDL_ENABLE_NFC_DESCRIPTION_TEXT, value)
|
|
781
|
+
"mdlEnableNfcButtonText" -> input.setColor(CustomizationColor.MDL_ENABLE_NFC_BUTTON_TEXT, value)
|
|
782
|
+
"mdlEnableNfcButtonBackground" -> input.setColor(CustomizationColor.MDL_ENABLE_NFC_BUTTON_BACKGROUND, value)
|
|
773
783
|
}
|
|
774
784
|
}
|
|
775
785
|
|
|
@@ -786,6 +796,16 @@ fun getColors(input: Map<CustomizationColor, Long>) = mapOf(
|
|
|
786
796
|
"rfidEnableNfcDescriptionText" to input[CustomizationColor.RFID_ENABLE_NFC_DESCRIPTION_TEXT],
|
|
787
797
|
"rfidEnableNfcButtonText" to input[CustomizationColor.RFID_ENABLE_NFC_BUTTON_TEXT],
|
|
788
798
|
"rfidEnableNfcButtonBackground" to input[CustomizationColor.RFID_ENABLE_NFC_BUTTON_BACKGROUND],
|
|
799
|
+
"mdlProcessingScreenBackground" to input[CustomizationColor.MDL_PROCESSING_SCREEN_BACKGROUND],
|
|
800
|
+
"mdlProcessingScreenHintLabelText" to input[CustomizationColor.MDL_PROCESSING_SCREEN_HINT_LABEL_TEXT],
|
|
801
|
+
"mdlProcessingScreenHintLabelBackground" to input[CustomizationColor.MDL_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND],
|
|
802
|
+
"mdlProcessingScreenProgressLabelText" to input[CustomizationColor.MDL_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT],
|
|
803
|
+
"mdlProcessingScreenResultLabelText" to input[CustomizationColor.MDL_PROCESSING_SCREEN_RESULT_LABEL_TEXT],
|
|
804
|
+
"mdlProcessingScreenLoadingBar" to input[CustomizationColor.MDL_PROCESSING_SCREEN_LOADING_BAR],
|
|
805
|
+
"mdlEnableNfcTitleText" to input[CustomizationColor.MDL_ENABLE_NFC_TITLE_TEXT],
|
|
806
|
+
"mdlEnableNfcDescriptionText" to input[CustomizationColor.MDL_ENABLE_NFC_DESCRIPTION_TEXT],
|
|
807
|
+
"mdlEnableNfcButtonText" to input[CustomizationColor.MDL_ENABLE_NFC_BUTTON_TEXT],
|
|
808
|
+
"mdlEnableNfcButtonBackground" to input[CustomizationColor.MDL_ENABLE_NFC_BUTTON_BACKGROUND],
|
|
789
809
|
).toJson()
|
|
790
810
|
|
|
791
811
|
fun setFonts(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { key, value ->
|
|
@@ -796,6 +816,12 @@ fun setFonts(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) =
|
|
|
796
816
|
"rfidEnableNfcTitleText" -> CustomizationFont.RFID_ENABLE_NFC_TITLE_TEXT.setFont(input, value)
|
|
797
817
|
"rfidEnableNfcDescriptionText" -> CustomizationFont.RFID_ENABLE_NFC_DESCRIPTION_TEXT.setFont(input, value)
|
|
798
818
|
"rfidEnableNfcButtonText" -> CustomizationFont.RFID_ENABLE_NFC_BUTTON_TEXT.setFont(input, value)
|
|
819
|
+
"mdlProcessingScreenHintLabel" -> CustomizationFont.MDL_PROCESSING_SCREEN_HINT_LABEL.setFont(input, value)
|
|
820
|
+
"mdlProcessingScreenProgressLabel" -> CustomizationFont.MDL_PROCESSING_SCREEN_PROGRESS_LABEL.setFont(input, value)
|
|
821
|
+
"mdlProcessingScreenResultLabel" -> CustomizationFont.MDL_PROCESSING_SCREEN_RESULT_LABEL.setFont(input, value)
|
|
822
|
+
"mdlEnableNfcTitleText" -> CustomizationFont.MDL_ENABLE_NFC_TITLE_TEXT.setFont(input, value)
|
|
823
|
+
"mdlEnableNfcDescriptionText" -> CustomizationFont.MDL_ENABLE_NFC_DESCRIPTION_TEXT.setFont(input, value)
|
|
824
|
+
"mdlEnableNfcButtonText" -> CustomizationFont.MDL_ENABLE_NFC_BUTTON_TEXT.setFont(input, value)
|
|
799
825
|
}
|
|
800
826
|
}
|
|
801
827
|
|
|
@@ -806,18 +832,28 @@ fun getFonts(fonts: Map<CustomizationFont, Typeface>, sizes: Map<CustomizationFo
|
|
|
806
832
|
"rfidEnableNfcTitleText" to CustomizationFont.RFID_ENABLE_NFC_TITLE_TEXT.getFont(fonts, sizes),
|
|
807
833
|
"rfidEnableNfcDescriptionText" to CustomizationFont.RFID_ENABLE_NFC_DESCRIPTION_TEXT.getFont(fonts, sizes),
|
|
808
834
|
"rfidEnableNfcButtonText" to CustomizationFont.RFID_ENABLE_NFC_BUTTON_TEXT.getFont(fonts, sizes),
|
|
835
|
+
"mdlProcessingScreenHintLabel" to CustomizationFont.MDL_PROCESSING_SCREEN_HINT_LABEL.getFont(fonts, sizes),
|
|
836
|
+
"mdlProcessingScreenProgressLabel" to CustomizationFont.MDL_PROCESSING_SCREEN_PROGRESS_LABEL.getFont(fonts, sizes),
|
|
837
|
+
"mdlProcessingScreenResultLabel" to CustomizationFont.MDL_PROCESSING_SCREEN_RESULT_LABEL.getFont(fonts, sizes),
|
|
838
|
+
"mdlEnableNfcTitleText" to CustomizationFont.MDL_ENABLE_NFC_TITLE_TEXT.getFont(fonts, sizes),
|
|
839
|
+
"mdlEnableNfcDescriptionText" to CustomizationFont.MDL_ENABLE_NFC_DESCRIPTION_TEXT.getFont(fonts, sizes),
|
|
840
|
+
"mdlEnableNfcButtonText" to CustomizationFont.MDL_ENABLE_NFC_BUTTON_TEXT.getFont(fonts, sizes),
|
|
809
841
|
).toJson()
|
|
810
842
|
|
|
811
843
|
fun setImages(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { key, v ->
|
|
812
844
|
when (key) {
|
|
813
845
|
"rfidProcessingScreenFailureImage" -> input.setImage(CustomizationImage.RFID_PROCESSING_SCREEN_FAILURE_IMAGE, v.toDrawable())
|
|
814
846
|
"rfidEnableNfcImage" -> input.setImage(CustomizationImage.RFID_ENABLE_NFC_IMAGE, v.toDrawable())
|
|
847
|
+
"mdlProcessingScreenFailureImage" -> input.setImage(CustomizationImage.MDL_PROCESSING_SCREEN_FAILURE_IMAGE, v.toDrawable())
|
|
848
|
+
"mdlEnableNfcImage" -> input.setImage(CustomizationImage.MDL_ENABLE_NFC_IMAGE, v.toDrawable())
|
|
815
849
|
}
|
|
816
850
|
}
|
|
817
851
|
|
|
818
852
|
fun getImages(input: Map<CustomizationImage, Drawable>) = mapOf(
|
|
819
853
|
"rfidProcessingScreenFailureImage" to (input[CustomizationImage.RFID_PROCESSING_SCREEN_FAILURE_IMAGE] ?: ContextCompat.getDrawable(context, com.regula.documentreader.api.R.drawable.reg_ic_error)).toBase64(),
|
|
820
854
|
"rfidEnableNfcImage" to (input[CustomizationImage.RFID_ENABLE_NFC_IMAGE] ?: ContextCompat.getDrawable(context, com.regula.documentreader.api.R.drawable.reg_enable_nfc)).toBase64(),
|
|
855
|
+
"mdlProcessingScreenFailureImage" to (input[CustomizationImage.MDL_PROCESSING_SCREEN_FAILURE_IMAGE] ?: ContextCompat.getDrawable(context, com.regula.documentreader.api.R.drawable.reg_enable_nfc)).toBase64(),
|
|
856
|
+
"mdlEnableNfcImage" to (input[CustomizationImage.MDL_ENABLE_NFC_IMAGE] ?: ContextCompat.getDrawable(context, com.regula.documentreader.api.R.drawable.reg_enable_nfc)).toBase64(),
|
|
821
857
|
).toJson()
|
|
822
858
|
|
|
823
859
|
fun CustomizationFont.getFont(fonts: Map<CustomizationFont, Typeface>, sizes: Map<CustomizationFont, Int>) =
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"node_modules/@babel/eslint-parser": {
|
|
101
|
-
"version": "7.28.
|
|
102
|
-
"resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.28.
|
|
103
|
-
"integrity": "sha512-
|
|
101
|
+
"version": "7.28.6",
|
|
102
|
+
"resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.28.6.tgz",
|
|
103
|
+
"integrity": "sha512-QGmsKi2PBO/MHSQk+AAgA9R6OHQr+VqnniFE0eMWZcVcfBZoA2dKn2hUsl3Csg/Plt9opRUWdY7//VXsrIlEiA==",
|
|
104
104
|
"dev": true,
|
|
105
105
|
"license": "MIT",
|
|
106
106
|
"dependencies": {
|
|
@@ -1991,9 +1991,9 @@
|
|
|
1991
1991
|
"license": "MIT"
|
|
1992
1992
|
},
|
|
1993
1993
|
"node_modules/@eslint-community/eslint-utils": {
|
|
1994
|
-
"version": "4.9.
|
|
1995
|
-
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.
|
|
1996
|
-
"integrity": "sha512-
|
|
1994
|
+
"version": "4.9.1",
|
|
1995
|
+
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
|
|
1996
|
+
"integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
|
|
1997
1997
|
"dev": true,
|
|
1998
1998
|
"license": "MIT",
|
|
1999
1999
|
"dependencies": {
|
|
@@ -10592,9 +10592,9 @@
|
|
|
10592
10592
|
"license": "MIT"
|
|
10593
10593
|
},
|
|
10594
10594
|
"node_modules/qs": {
|
|
10595
|
-
"version": "6.14.
|
|
10596
|
-
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.
|
|
10597
|
-
"integrity": "sha512-
|
|
10595
|
+
"version": "6.14.2",
|
|
10596
|
+
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz",
|
|
10597
|
+
"integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==",
|
|
10598
10598
|
"devOptional": true,
|
|
10599
10599
|
"license": "BSD-3-Clause",
|
|
10600
10600
|
"dependencies": {
|
|
@@ -12367,7 +12367,7 @@
|
|
|
12367
12367
|
"version": "5.7.3",
|
|
12368
12368
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
|
|
12369
12369
|
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
|
|
12370
|
-
"
|
|
12370
|
+
"devOptional": true,
|
|
12371
12371
|
"license": "Apache-2.0",
|
|
12372
12372
|
"bin": {
|
|
12373
12373
|
"tsc": "bin/tsc",
|
package/example/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@regulaforensics/react-native-document-reader-api": "9.3.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.3.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "9.3.434-nightly",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.3.1930-nightly",
|
|
15
15
|
"@rneui/base": "4.0.0-rc.7",
|
|
16
16
|
"@rneui/themed": "4.0.0-rc.7",
|
|
17
17
|
"react": "19.0.0",
|
package/index.d.ts
CHANGED
|
@@ -3315,6 +3315,16 @@ export const CustomizationColor = {
|
|
|
3315
3315
|
RFID_ENABLE_NFC_DESCRIPTION_TEXT: "rfidEnableNfcDescriptionText",
|
|
3316
3316
|
RFID_ENABLE_NFC_BUTTON_TEXT: "rfidEnableNfcButtonText",
|
|
3317
3317
|
RFID_ENABLE_NFC_BUTTON_BACKGROUND: "rfidEnableNfcButtonBackground",
|
|
3318
|
+
MDL_PROCESSING_SCREEN_BACKGROUND: "mdlProcessingScreenBackground",
|
|
3319
|
+
MDL_PROCESSING_SCREEN_HINT_LABEL_TEXT: "mdlProcessingScreenHintLabelText",
|
|
3320
|
+
MDL_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND: "mdlProcessingScreenHintLabelBackground",
|
|
3321
|
+
MDL_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT: "mdlProcessingScreenProgressLabelText",
|
|
3322
|
+
MDL_PROCESSING_SCREEN_RESULT_LABEL_TEXT: "mdlProcessingScreenResultLabelText",
|
|
3323
|
+
MDL_PROCESSING_SCREEN_LOADING_BAR: "mdlProcessingScreenLoadingBar",
|
|
3324
|
+
MDL_ENABLE_NFC_TITLE_TEXT: "mdlEnableNfcTitleText",
|
|
3325
|
+
MDL_ENABLE_NFC_DESCRIPTION_TEXT: "mdlEnableNfcDescriptionText",
|
|
3326
|
+
MDL_ENABLE_NFC_BUTTON_TEXT: "mdlEnableNfcButtonText",
|
|
3327
|
+
MDL_ENABLE_NFC_BUTTON_BACKGROUND: "mdlEnableNfcButtonBackground",
|
|
3318
3328
|
}
|
|
3319
3329
|
|
|
3320
3330
|
export const eRFID_ErrorCodes = {
|
|
@@ -4771,6 +4781,12 @@ export const CustomizationFont = {
|
|
|
4771
4781
|
RFID_ENABLE_NFC_TITLE_TEXT: "rfidEnableNfcTitleText",
|
|
4772
4782
|
RFID_ENABLE_NFC_DESCRIPTION_TEXT: "rfidEnableNfcDescriptionText",
|
|
4773
4783
|
RFID_ENABLE_NFC_BUTTON_TEXT: "rfidEnableNfcButtonText",
|
|
4784
|
+
MDL_PROCESSING_SCREEN_HINT_LABEL: "mdlProcessingScreenHintLabel",
|
|
4785
|
+
MDL_PROCESSING_SCREEN_PROGRESS_LABEL: "mdlProcessingScreenProgressLabel",
|
|
4786
|
+
MDL_PROCESSING_SCREEN_RESULT_LABEL: "mdlProcessingScreenResultLabel",
|
|
4787
|
+
MDL_ENABLE_NFC_TITLE_TEXT: "mdlEnableNfcTitleText",
|
|
4788
|
+
MDL_ENABLE_NFC_DESCRIPTION_TEXT: "mdlEnableNfcDescriptionText",
|
|
4789
|
+
MDL_ENABLE_NFC_BUTTON_TEXT: "mdlEnableNfcButtonText",
|
|
4774
4790
|
}
|
|
4775
4791
|
|
|
4776
4792
|
export const ImageFormat = {
|
|
@@ -5781,6 +5797,8 @@ export const LCID = {
|
|
|
5781
5797
|
export const CustomizationImage = {
|
|
5782
5798
|
RFID_PROCESSING_SCREEN_FAILURE_IMAGE: "rfidProcessingScreenFailureImage",
|
|
5783
5799
|
RFID_ENABLE_NFC_IMAGE: "rfidEnableNfcImage",
|
|
5800
|
+
MDL_PROCESSING_SCREEN_FAILURE_IMAGE: "mdlProcessingScreenFailureImage",
|
|
5801
|
+
MDL_ENABLE_NFC_IMAGE: "mdlEnableNfcImage",
|
|
5784
5802
|
}
|
|
5785
5803
|
|
|
5786
5804
|
export const DocReaderFrame = {
|
package/index.js
CHANGED
|
@@ -2173,6 +2173,16 @@ export const CustomizationColor = {
|
|
|
2173
2173
|
RFID_ENABLE_NFC_DESCRIPTION_TEXT: "rfidEnableNfcDescriptionText",
|
|
2174
2174
|
RFID_ENABLE_NFC_BUTTON_TEXT: "rfidEnableNfcButtonText",
|
|
2175
2175
|
RFID_ENABLE_NFC_BUTTON_BACKGROUND: "rfidEnableNfcButtonBackground",
|
|
2176
|
+
MDL_PROCESSING_SCREEN_BACKGROUND: "mdlProcessingScreenBackground",
|
|
2177
|
+
MDL_PROCESSING_SCREEN_HINT_LABEL_TEXT: "mdlProcessingScreenHintLabelText",
|
|
2178
|
+
MDL_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND: "mdlProcessingScreenHintLabelBackground",
|
|
2179
|
+
MDL_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT: "mdlProcessingScreenProgressLabelText",
|
|
2180
|
+
MDL_PROCESSING_SCREEN_RESULT_LABEL_TEXT: "mdlProcessingScreenResultLabelText",
|
|
2181
|
+
MDL_PROCESSING_SCREEN_LOADING_BAR: "mdlProcessingScreenLoadingBar",
|
|
2182
|
+
MDL_ENABLE_NFC_TITLE_TEXT: "mdlEnableNfcTitleText",
|
|
2183
|
+
MDL_ENABLE_NFC_DESCRIPTION_TEXT: "mdlEnableNfcDescriptionText",
|
|
2184
|
+
MDL_ENABLE_NFC_BUTTON_TEXT: "mdlEnableNfcButtonText",
|
|
2185
|
+
MDL_ENABLE_NFC_BUTTON_BACKGROUND: "mdlEnableNfcButtonBackground",
|
|
2176
2186
|
}
|
|
2177
2187
|
|
|
2178
2188
|
export const eRFID_ErrorCodes = {
|
|
@@ -3629,6 +3639,12 @@ export const CustomizationFont = {
|
|
|
3629
3639
|
RFID_ENABLE_NFC_TITLE_TEXT: "rfidEnableNfcTitleText",
|
|
3630
3640
|
RFID_ENABLE_NFC_DESCRIPTION_TEXT: "rfidEnableNfcDescriptionText",
|
|
3631
3641
|
RFID_ENABLE_NFC_BUTTON_TEXT: "rfidEnableNfcButtonText",
|
|
3642
|
+
MDL_PROCESSING_SCREEN_HINT_LABEL: "mdlProcessingScreenHintLabel",
|
|
3643
|
+
MDL_PROCESSING_SCREEN_PROGRESS_LABEL: "mdlProcessingScreenProgressLabel",
|
|
3644
|
+
MDL_PROCESSING_SCREEN_RESULT_LABEL: "mdlProcessingScreenResultLabel",
|
|
3645
|
+
MDL_ENABLE_NFC_TITLE_TEXT: "mdlEnableNfcTitleText",
|
|
3646
|
+
MDL_ENABLE_NFC_DESCRIPTION_TEXT: "mdlEnableNfcDescriptionText",
|
|
3647
|
+
MDL_ENABLE_NFC_BUTTON_TEXT: "mdlEnableNfcButtonText",
|
|
3632
3648
|
}
|
|
3633
3649
|
|
|
3634
3650
|
export const ImageFormat = {
|
|
@@ -4639,6 +4655,8 @@ export const LCID = {
|
|
|
4639
4655
|
export const CustomizationImage = {
|
|
4640
4656
|
RFID_PROCESSING_SCREEN_FAILURE_IMAGE: "rfidProcessingScreenFailureImage",
|
|
4641
4657
|
RFID_ENABLE_NFC_IMAGE: "rfidEnableNfcImage",
|
|
4658
|
+
MDL_PROCESSING_SCREEN_FAILURE_IMAGE: "mdlProcessingScreenFailureImage",
|
|
4659
|
+
MDL_ENABLE_NFC_IMAGE: "mdlEnableNfcImage",
|
|
4642
4660
|
}
|
|
4643
4661
|
|
|
4644
4662
|
export const DocReaderFrame = {
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -1090,8 +1090,13 @@
|
|
|
1090
1090
|
result[@(RFIDProcessingScreenProgressBarBackground)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenProgressBarBackground"]];
|
|
1091
1091
|
if([input valueForKey:@"rfidProcessingScreenResultLabelText"] != nil)
|
|
1092
1092
|
result[@(RFIDProcessingScreenResultLabelText)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenResultLabelText"]];
|
|
1093
|
-
if([
|
|
1094
|
-
|
|
1093
|
+
if(input[@"rfidProcessingScreenLoadingBar"]) result[@(RFIDProcessingScreenLoadingBar)] = [self colorWithInt:input[@"rfidProcessingScreenLoadingBar"]];
|
|
1094
|
+
if(input[@"mdlProcessingScreenBackground"]) result[@(MDLProcessingScreenBackground)] = [self colorWithInt:input[@"mdlProcessingScreenBackground"]];
|
|
1095
|
+
if(input[@"mdlProcessingScreenHintLabelText"]) result[@(MDLProcessingScreenHintLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenHintLabelText"]];
|
|
1096
|
+
if(input[@"mdlProcessingScreenHintLabelBackground"]) result[@(MDLProcessingScreenHintLabelBackground)] = [self colorWithInt:input[@"mdlProcessingScreenHintLabelBackground"]];
|
|
1097
|
+
if(input[@"mdlProcessingScreenProgressLabelText"]) result[@(MDLProcessingScreenProgressLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenProgressLabelText"]];
|
|
1098
|
+
if(input[@"mdlProcessingScreenResultLabelText"]) result[@(MDLProcessingScreenResultLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenResultLabelText"]];
|
|
1099
|
+
if(input[@"mdlProcessingScreenLoadingBar"]) result[@(MDLProcessingScreenLoadingBar)] = [self colorWithInt:input[@"mdlProcessingScreenLoadingBar"]];
|
|
1095
1100
|
}
|
|
1096
1101
|
|
|
1097
1102
|
+(NSDictionary*)getColors:(NSDictionary*)input {
|
|
@@ -1104,6 +1109,12 @@
|
|
|
1104
1109
|
@"rfidProcessingScreenProgressBarBackground": [self intWithColor:input[@(RFIDProcessingScreenProgressBarBackground)]],
|
|
1105
1110
|
@"rfidProcessingScreenResultLabelText": [self intWithColor:input[@(RFIDProcessingScreenResultLabelText)]],
|
|
1106
1111
|
@"rfidProcessingScreenLoadingBar": [self intWithColor:input[@(RFIDProcessingScreenLoadingBar)]],
|
|
1112
|
+
@"mdlProcessingScreenBackground": [self intWithColor:input[@(MDLProcessingScreenBackground)]],
|
|
1113
|
+
@"mdlProcessingScreenHintLabelText": [self intWithColor:input[@(MDLProcessingScreenHintLabelText)]],
|
|
1114
|
+
@"mdlProcessingScreenHintLabelBackground": [self intWithColor:input[@(MDLProcessingScreenHintLabelBackground)]],
|
|
1115
|
+
@"mdlProcessingScreenProgressLabelText": [self intWithColor:input[@(MDLProcessingScreenProgressLabelText)]],
|
|
1116
|
+
@"mdlProcessingScreenResultLabelText": [self intWithColor:input[@(MDLProcessingScreenResultLabelText)]],
|
|
1117
|
+
@"mdlProcessingScreenLoadingBar": [self intWithColor:input[@(MDLProcessingScreenLoadingBar)]],
|
|
1107
1118
|
};
|
|
1108
1119
|
}
|
|
1109
1120
|
|
|
@@ -1112,8 +1123,10 @@
|
|
|
1112
1123
|
result[@(RFIDProcessingScreenHintLabel)] = [self UIFontFromJSON:[input valueForKey:@"rfidProcessingScreenHintLabel"]];
|
|
1113
1124
|
if([input valueForKey:@"rfidProcessingScreenProgressLabel"] != nil)
|
|
1114
1125
|
result[@(RFIDProcessingScreenProgressLabel)] = [self UIFontFromJSON:[input valueForKey:@"rfidProcessingScreenProgressLabel"]];
|
|
1115
|
-
if([
|
|
1116
|
-
|
|
1126
|
+
if(input[@"rfidProcessingScreenResultLabel"]) result[@(RFIDProcessingScreenResultLabel)] = [self UIFontFromJSON:input[@"rfidProcessingScreenResultLabel"]];
|
|
1127
|
+
if(input[@"mdlProcessingScreenHintLabel"]) result[@(MDLProcessingScreenHintLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenHintLabel"]];
|
|
1128
|
+
if(input[@"mdlProcessingScreenProgressLabel"]) result[@(MDLProcessingScreenProgressLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenProgressLabel"]];
|
|
1129
|
+
if(input[@"mdlProcessingScreenResultLabel"]) result[@(MDLProcessingScreenResultLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenResultLabel"]];
|
|
1117
1130
|
}
|
|
1118
1131
|
|
|
1119
1132
|
+(NSDictionary*)getFonts:(NSDictionary*)input {
|
|
@@ -1121,17 +1134,21 @@
|
|
|
1121
1134
|
@"rfidProcessingScreenHintLabel": [self generateUIFont:input[@(RFIDProcessingScreenHintLabel)]],
|
|
1122
1135
|
@"rfidProcessingScreenProgressLabel": [self generateUIFont:input[@(RFIDProcessingScreenProgressLabel)]],
|
|
1123
1136
|
@"rfidProcessingScreenResultLabel": [self generateUIFont:input[@(RFIDProcessingScreenResultLabel)]],
|
|
1137
|
+
@"mdlProcessingScreenHintLabel": [self generateUIFont:input[@(MDLProcessingScreenHintLabel)]],
|
|
1138
|
+
@"mdlProcessingScreenProgressLabel": [self generateUIFont:input[@(MDLProcessingScreenProgressLabel)]],
|
|
1139
|
+
@"mdlProcessingScreenResultLabel": [self generateUIFont:input[@(MDLProcessingScreenResultLabel)]],
|
|
1124
1140
|
};
|
|
1125
1141
|
}
|
|
1126
1142
|
|
|
1127
1143
|
+(void)setImages:(NSMutableDictionary*)result input:(NSDictionary*)input {
|
|
1128
|
-
if([
|
|
1129
|
-
|
|
1144
|
+
if(input[@"rfidProcessingScreenFailureImage"]) result[@(RFIDProcessingScreenFailureImage)] = [RGLWJSONConstructor imageWithBase64:input[@"rfidProcessingScreenFailureImage"]];
|
|
1145
|
+
if(input[@"mdlProcessingScreenFailureImage"]) result[@(MDLProcessingScreenFailureImage)] = [RGLWJSONConstructor imageWithBase64:input[@"mdlProcessingScreenFailureImage"]];
|
|
1130
1146
|
}
|
|
1131
1147
|
|
|
1132
1148
|
+(NSDictionary*)getImages:(NSDictionary*)input {
|
|
1133
1149
|
return @{
|
|
1134
1150
|
@"rfidProcessingScreenFailureImage": [RGLWJSONConstructor base64WithImage:input[@(RFIDProcessingScreenFailureImage)]],
|
|
1151
|
+
@"mdlProcessingScreenFailureImage": [RGLWJSONConstructor base64WithImage:input[@(MDLProcessingScreenFailureImage)]],
|
|
1135
1152
|
};
|
|
1136
1153
|
}
|
|
1137
1154
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/react-native-document-reader-api",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.434-nightly",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|