@regulaforensics/document-reader 8.3.310-beta → 8.4.2-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/README.md +1 -1
- package/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/BluetoothUtil.kt +9 -5
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +20 -0
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +3 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +8 -5
- package/examples/capacitor/index.tsx +5 -5
- package/examples/capacitor/package-lock.json +372 -335
- package/examples/capacitor/package.json +3 -3
- package/examples/ionic/index.tsx +6 -2
- package/examples/ionic/package-lock.json +519 -814
- package/examples/ionic/package.json +3 -3
- package/examples/react_native/index.html +5 -4
- package/examples/react_native/package-lock.json +984 -818
- package/examples/react_native/package.json +3 -3
- package/ios/RGLWConfig.m +10 -9
- package/ios/RGLWJSONConstructor.m +3 -0
- package/ios/RGLWMain.h +2 -2
- package/ios/RGLWMain.m +2 -2
- package/ios/RNDocumentReader.m +2 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +44 -31
- package/test/package-lock.json +1 -1
- package/test/test.tsx +1 -1
- package/www/capacitor/config/InitConfig.js +3 -0
- package/www/capacitor/index.js +0 -1
- package/www/capacitor/info/DocReaderException.js +2 -0
- package/www/capacitor/params/Functionality.js +8 -0
- package/www/capacitor/params/customization/CustomizationColors.js +32 -0
- package/www/capacitor/params/customization/CustomizationFonts.js +24 -0
- package/www/capacitor/params/customization/CustomizationImages.js +8 -0
- package/www/capacitor/params/process_params/AuthenticityParams.js +1 -0
- package/www/capacitor/params/process_params/LivenessParams.js +2 -2
- package/www/capacitor/params/process_params/ProcessParams.js +10 -0
- package/www/capacitor/results/authenticity/CheckDiagnose.js +2 -0
- package/www/capacitor/results/authenticity/SecurityFeatureType.js +3 -1
- package/www/cordova.js +95 -4
- package/www/react-native/config/InitConfig.js +3 -0
- package/www/react-native/index.js +0 -1
- package/www/react-native/info/DocReaderException.js +2 -0
- package/www/react-native/params/Functionality.js +8 -0
- package/www/react-native/params/customization/CustomizationColors.js +32 -0
- package/www/react-native/params/customization/CustomizationFonts.js +24 -0
- package/www/react-native/params/customization/CustomizationImages.js +8 -0
- package/www/react-native/params/process_params/AuthenticityParams.js +1 -0
- package/www/react-native/params/process_params/LivenessParams.js +2 -2
- package/www/react-native/params/process_params/ProcessParams.js +10 -0
- package/www/react-native/results/authenticity/CheckDiagnose.js +2 -0
- package/www/react-native/results/authenticity/SecurityFeatureType.js +3 -1
- package/www/types/config/InitConfig.d.ts +5 -0
- package/www/types/index.d.ts +2 -2
- package/www/types/info/DocReaderException.d.ts +4 -0
- package/www/types/params/Functionality.d.ts +6 -0
- package/www/types/params/customization/CustomizationColors.d.ts +16 -8
- package/www/types/params/customization/CustomizationFonts.d.ts +6 -0
- package/www/types/params/customization/CustomizationImages.d.ts +6 -1
- package/www/types/params/process_params/ProcessParams.d.ts +5 -0
- package/www/types/results/authenticity/CheckDiagnose.d.ts +4 -0
- package/www/types/results/authenticity/SecurityFeatureType.d.ts +4 -0
|
@@ -70,6 +70,10 @@ export declare enum ErrorCodes {
|
|
|
70
70
|
CANNOT_USE_CAMERA_IN_SCENario = 40,
|
|
71
71
|
BACKEND_ONLINE_PROCESSING = 303,
|
|
72
72
|
WRONG_INPUT = 400,
|
|
73
|
+
/** Missing output result. */
|
|
74
|
+
RESULT_UNAVAILABLE = 410,
|
|
75
|
+
/** Incorrect result output. */
|
|
76
|
+
RESULT_WRONG_OUTPUT = 411,
|
|
73
77
|
STATE_EXCEPTION = 500,
|
|
74
78
|
BLE_EXCEPTION = 600,
|
|
75
79
|
FEATURE_BLUETOOTH_LE_NOT_SUPPORTED = 601,
|
|
@@ -129,6 +129,12 @@ export declare class Functionality {
|
|
|
129
129
|
* @default false
|
|
130
130
|
*/
|
|
131
131
|
torchTurnedOn?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* When enabled, the SDK prevents both screen recording and screenshots.
|
|
134
|
+
*
|
|
135
|
+
* @default false
|
|
136
|
+
*/
|
|
137
|
+
preventScreenRecording?: boolean;
|
|
132
138
|
/**
|
|
133
139
|
* Allows you to specify a time interval when the Capture button
|
|
134
140
|
* has to be displayed after the document is detected.
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
export declare class CustomizationColors {
|
|
2
|
-
rfidProcessingScreenBackground
|
|
3
|
-
rfidProcessingScreenHintLabelText
|
|
4
|
-
rfidProcessingScreenHintLabelBackground
|
|
5
|
-
rfidProcessingScreenProgressLabelText
|
|
6
|
-
rfidProcessingScreenProgressBar
|
|
7
|
-
rfidProcessingScreenProgressBarBackground
|
|
8
|
-
rfidProcessingScreenResultLabelText
|
|
9
|
-
rfidProcessingScreenLoadingBar
|
|
2
|
+
rfidProcessingScreenBackground?: number;
|
|
3
|
+
rfidProcessingScreenHintLabelText?: number;
|
|
4
|
+
rfidProcessingScreenHintLabelBackground?: number;
|
|
5
|
+
rfidProcessingScreenProgressLabelText?: number;
|
|
6
|
+
rfidProcessingScreenProgressBar?: number;
|
|
7
|
+
rfidProcessingScreenProgressBarBackground?: number;
|
|
8
|
+
rfidProcessingScreenResultLabelText?: number;
|
|
9
|
+
rfidProcessingScreenLoadingBar?: number;
|
|
10
|
+
/** Android only. */
|
|
11
|
+
rfidEnableNfcTitleText?: number;
|
|
12
|
+
/** Android only. */
|
|
13
|
+
rfidEnableNfcDescriptionText?: number;
|
|
14
|
+
/** Android only. */
|
|
15
|
+
rfidEnableNfcButtonText?: number;
|
|
16
|
+
/** Android only. */
|
|
17
|
+
rfidEnableNfcButtonBackground?: number;
|
|
10
18
|
|
|
11
19
|
/**
|
|
12
20
|
* Allows you to deserialize object.
|
|
@@ -4,6 +4,12 @@ export declare class CustomizationFonts {
|
|
|
4
4
|
rfidProcessingScreenHintLabel?: Font;
|
|
5
5
|
rfidProcessingScreenProgressLabel?: Font;
|
|
6
6
|
rfidProcessingScreenResultLabel?: Font;
|
|
7
|
+
/** Android only. */
|
|
8
|
+
rfidEnableNfcTitleText?: number;
|
|
9
|
+
/** Android only. */
|
|
10
|
+
rfidEnableNfcDescriptionText?: number;
|
|
11
|
+
/** Android only. */
|
|
12
|
+
rfidEnableNfcButtonText?: number;
|
|
7
13
|
|
|
8
14
|
/**
|
|
9
15
|
* Allows you to deserialize object.
|
|
@@ -2,7 +2,12 @@ export declare class CustomizationImages {
|
|
|
2
2
|
/**
|
|
3
3
|
* Base64 string.
|
|
4
4
|
*/
|
|
5
|
-
rfidProcessingScreenFailureImage
|
|
5
|
+
rfidProcessingScreenFailureImage?: string;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Android only.
|
|
9
|
+
*/
|
|
10
|
+
rfidEnableNfcImage?: string;
|
|
6
11
|
|
|
7
12
|
/**
|
|
8
13
|
* Allows you to deserialize object.
|
|
@@ -201,6 +201,11 @@ export declare class ProcessParams {
|
|
|
201
201
|
* When enabled, this parameter marks security checks that don’t meet minimum requirements as 'Failed' (instead of 'WasNotDone'), which causes the overall security status to be 'Failed'.
|
|
202
202
|
*/
|
|
203
203
|
strictSecurityChecks?: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* Allows transliteration to be turned on or off.
|
|
206
|
+
* Default: `true`.
|
|
207
|
+
*/
|
|
208
|
+
returnTransliteratedFields?: boolean;
|
|
204
209
|
/**
|
|
205
210
|
* There are documents that contain barcodes which data can be parsed only
|
|
206
211
|
* if document type verification is performed. The following property allows
|
|
@@ -97,6 +97,10 @@ export declare enum CheckDiagnose {
|
|
|
97
97
|
/** Facial image is found. */
|
|
98
98
|
FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = 85,
|
|
99
99
|
CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION = 86,
|
|
100
|
+
/** Age check error. */
|
|
101
|
+
CHD_FIELD_POS_CORRECTOR_AGE_CHECK_ERROR = 87,
|
|
102
|
+
/** Sex check error. */
|
|
103
|
+
CHD_FIELD_POS_CORRECTOR_SEX_CHECK_ERROR = 88,
|
|
100
104
|
/** OVI object is not visible in IR. */
|
|
101
105
|
OVI_IR_INVISIBLE = 90,
|
|
102
106
|
/** Insufficient area of the object OVI. */
|