@regulaforensics/react-native-document-reader-api 9.3.478-beta → 9.3.479-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/ios/RGLWConfig.m CHANGED
@@ -194,10 +194,7 @@
194
194
  if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
195
195
  if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
196
196
  if (options[@"checkCaptureProcessIntegrity"]) processParams.checkCaptureProcessIntegrity = options[@"checkCaptureProcessIntegrity"];
197
- if (options[@"strictExpiryDate"]) processParams.strictExpiryDate = options[@"strictExpiryDate"];
198
- if (options[@"debugSaveBinarySession"]) processParams.debugSaveBinarySession = options[@"debugSaveBinarySession"];
199
- if (options[@"checkVDS"]) processParams.checkVDS = options[@"checkVDS"];
200
-
197
+
201
198
  // Int
202
199
  if([options valueForKey:@"measureSystem"] != nil)
203
200
  processParams.measureSystem = [[options valueForKey:@"measureSystem"] integerValue];
@@ -228,7 +225,7 @@
228
225
  if(options[@"logLevel"]) processParams.logLevel = options[@"logLevel"];
229
226
  if(options[@"mrzDetectMode"]) processParams.mrzDetectMode = options[@"mrzDetectMode"];
230
227
  if(options[@"pdfPagesLimit"]) processParams.pdfPagesLimit = options[@"pdfPagesLimit"];
231
-
228
+
232
229
  // String
233
230
  if([options valueForKey:@"dateFormat"] != nil)
234
231
  processParams.dateFormat = [options valueForKey:@"dateFormat"];
@@ -236,7 +233,7 @@
236
233
  processParams.scenario = [options valueForKey:@"scenario"];
237
234
  if([options valueForKey:@"captureButtonScenario"] != nil)
238
235
  processParams.captureButtonScenario = [options valueForKey:@"captureButtonScenario"];
239
-
236
+
240
237
  // Double
241
238
  if([options valueForKey:@"timeout"] != nil)
242
239
  processParams.timeout = [options valueForKey:@"timeout"];
@@ -248,7 +245,7 @@
248
245
  processParams.documentAreaMin = [options valueForKey:@"documentAreaMin"];
249
246
  if([options valueForKey:@"timeoutLiveness"] != nil)
250
247
  processParams.timeoutLiveness = [options valueForKey:@"timeoutLiveness"];
251
-
248
+
252
249
  // JSONArray
253
250
  if([options valueForKey:@"documentIDList"] != nil)
254
251
  processParams.documentIDList = [options valueForKey:@"documentIDList"];
@@ -266,7 +263,7 @@
266
263
  processParams.lcidIgnoreFilter = [options mutableArrayValueForKey:@"lcidIgnoreFilter"];
267
264
  if (options[@"lcidFilter"]) processParams.lcidFilter = options[@"lcidFilter"];
268
265
  if (options[@"fieldTypesIgnoreFilter"]) processParams.fieldTypesIgnoreFilter = options[@"fieldTypesIgnoreFilter"];
269
-
266
+
270
267
  // JSONObject
271
268
  if (options[@"customParams"]) processParams.customParams = options[@"customParams"];
272
269
  if ([options valueForKey:@"imageQA"] != nil)
@@ -286,7 +283,7 @@
286
283
 
287
284
  +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams {
288
285
  NSMutableDictionary *result = [NSMutableDictionary new];
289
-
286
+
290
287
  // Boolean
291
288
  result[@"multipageProcessing"] = processParams.multipageProcessing;
292
289
  result[@"logs"] = processParams.logs;
@@ -329,9 +326,6 @@
329
326
  result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
330
327
  result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
331
328
  result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
332
- result[@"strictExpiryDate"] = processParams.strictExpiryDate;
333
- result[@"debugSaveBinarySession"] = processParams.debugSaveBinarySession;
334
- result[@"checkVDS"] = processParams.checkVDS;
335
329
 
336
330
  // Int
337
331
  result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
@@ -524,12 +518,13 @@
524
518
  customization.livenessAnimationImageContentMode = [self viewContentModeWithNumber:[options valueForKey:@"livenessAnimationImageContentMode"]];
525
519
  if([options valueForKey:@"borderBackgroundImageContentMode"] != nil)
526
520
  customization.borderBackgroundImageContentMode = [self viewContentModeWithNumber:[options valueForKey:@"borderBackgroundImageContentMode"]];
527
-
528
- if(options[@"colors"]) [self setColors:[customization.uiConfiguration valueForKey:@"colors"] input:options[@"colors"]];
529
- if(options[@"fonts"]) [self setFonts:[customization.uiConfiguration valueForKey:@"fonts"] input:options[@"fonts"]];
530
- if(options[@"images"]) [self setImages:[customization.uiConfiguration valueForKey:@"images"] input:options[@"images"]];
531
- if(options[@"timings"]) [self setTimings:[customization.uiConfiguration valueForKey:@"timings"] input:options[@"timings"]];
532
- if(options[@"contentModes"]) [self setContentModes:[customization.uiConfiguration valueForKey:@"contentModes"] input:options[@"contentModes"]];
521
+
522
+ if([options valueForKey:@"colors"] != nil)
523
+ [self setColors:[customization.uiConfiguration valueForKey:@"colors"] input:[options valueForKey:@"colors"]];
524
+ if([options valueForKey:@"fonts"] != nil)
525
+ [self setFonts:[customization.uiConfiguration valueForKey:@"fonts"] input:[options valueForKey:@"fonts"]];
526
+ if([options valueForKey:@"images"] != nil)
527
+ [self setImages:[customization.uiConfiguration valueForKey:@"images"] input:[options valueForKey:@"images"]];
533
528
  }
534
529
 
535
530
  +(NSDictionary*)getCustomization:(RGLCustomization*)customization {
@@ -620,8 +615,6 @@
620
615
  result[@"colors"] = [self getColors: [customization.uiConfiguration valueForKey:@"colors"]];
621
616
  result[@"fonts"] = [self getFonts: [customization.uiConfiguration valueForKey:@"fonts"]];
622
617
  result[@"images"] = [self getImages: [customization.uiConfiguration valueForKey:@"images"]];
623
- result[@"timings"] = [self getTimings: [customization.uiConfiguration valueForKey:@"timings"]];
624
- result[@"contentModes"] = [self getContentModes: [customization.uiConfiguration valueForKey:@"contentModes"]];
625
618
 
626
619
  return result;
627
620
  }
@@ -1104,35 +1097,25 @@
1104
1097
  if(input[@"mdlProcessingScreenProgressLabelText"]) result[@(MDLProcessingScreenProgressLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenProgressLabelText"]];
1105
1098
  if(input[@"mdlProcessingScreenResultLabelText"]) result[@(MDLProcessingScreenResultLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenResultLabelText"]];
1106
1099
  if(input[@"mdlProcessingScreenLoadingBar"]) result[@(MDLProcessingScreenLoadingBar)] = [self colorWithInt:input[@"mdlProcessingScreenLoadingBar"]];
1107
- if(input[@"nextPageIdCardFront"]) result[@(RGLCustomizationColorNextPageIdCardFront)] = [self colorWithInt:input[@"nextPageIdCardFront"]];
1108
- if(input[@"nextPageIdCardBack"]) result[@(RGLCustomizationColorNextPageIdCardBack)] = [self colorWithInt:input[@"nextPageIdCardBack"]];
1109
- if(input[@"nextPagePassportShift"]) result[@(RGLCustomizationColorNextPagePassportShift)] = [self colorWithInt:input[@"nextPagePassportShift"]];
1110
- if(input[@"nextPagePassportFlip"]) result[@(RGLCustomizationColorNextPagePassportFlip)] = [self colorWithInt:input[@"nextPagePassportFlip"]];
1111
1100
  }
1112
1101
 
1113
1102
  +(NSDictionary*)getColors:(NSDictionary*)input {
1114
- id result = @{}.mutableCopy;
1115
-
1116
- if(input[@(RFIDProcessingScreenBackground)]) result[@"rfidProcessingScreenBackground"] = [self intWithColor:input[@(RFIDProcessingScreenBackground)]];
1117
- if(input[@(RFIDProcessingScreenHintLabelText)]) result[@"rfidProcessingScreenHintLabelText"] = [self intWithColor:input[@(RFIDProcessingScreenHintLabelText)]];
1118
- if(input[@(RFIDProcessingScreenHintLabelBackground)]) result[@"rfidProcessingScreenHintLabelBackground"] = [self intWithColor:input[@(RFIDProcessingScreenHintLabelBackground)]];
1119
- if(input[@(RFIDProcessingScreenProgressLabelText)]) result[@"rfidProcessingScreenProgressLabelText"] = [self intWithColor:input[@(RFIDProcessingScreenProgressLabelText)]];
1120
- if(input[@(RFIDProcessingScreenProgressBar)]) result[@"rfidProcessingScreenProgressBar"] = [self intWithColor:input[@(RFIDProcessingScreenProgressBar)]];
1121
- if(input[@(RFIDProcessingScreenProgressBarBackground)]) result[@"rfidProcessingScreenProgressBarBackground"] = [self intWithColor:input[@(RFIDProcessingScreenProgressBarBackground)]];
1122
- if(input[@(RFIDProcessingScreenResultLabelText)]) result[@"rfidProcessingScreenResultLabelText"] = [self intWithColor:input[@(RFIDProcessingScreenResultLabelText)]];
1123
- if(input[@(RFIDProcessingScreenLoadingBar)]) result[@"rfidProcessingScreenLoadingBar"] = [self intWithColor:input[@(RFIDProcessingScreenLoadingBar)]];
1124
- if(input[@(MDLProcessingScreenBackground)]) result[@"mdlProcessingScreenBackground"] = [self intWithColor:input[@(MDLProcessingScreenBackground)]];
1125
- if(input[@(MDLProcessingScreenHintLabelText)]) result[@"mdlProcessingScreenHintLabelText"] = [self intWithColor:input[@(MDLProcessingScreenHintLabelText)]];
1126
- if(input[@(MDLProcessingScreenHintLabelBackground)]) result[@"mdlProcessingScreenHintLabelBackground"] = [self intWithColor:input[@(MDLProcessingScreenHintLabelBackground)]];
1127
- if(input[@(MDLProcessingScreenProgressLabelText)]) result[@"mdlProcessingScreenProgressLabelText"] = [self intWithColor:input[@(MDLProcessingScreenProgressLabelText)]];
1128
- if(input[@(MDLProcessingScreenResultLabelText)]) result[@"mdlProcessingScreenResultLabelText"] = [self intWithColor:input[@(MDLProcessingScreenResultLabelText)]];
1129
- if(input[@(MDLProcessingScreenLoadingBar)]) result[@"mdlProcessingScreenLoadingBar"] = [self intWithColor:input[@(MDLProcessingScreenLoadingBar)]];
1130
- if(input[@(RGLCustomizationColorNextPageIdCardFront)]) result[@"nextPageIdCardFront"] = [self intWithColor:input[@(RGLCustomizationColorNextPageIdCardFront)]];
1131
- if(input[@(RGLCustomizationColorNextPageIdCardBack)]) result[@"nextPageIdCardBack"] = [self intWithColor:input[@(RGLCustomizationColorNextPageIdCardBack)]];
1132
- if(input[@(RGLCustomizationColorNextPagePassportShift)]) result[@"nextPagePassportShift"] = [self intWithColor:input[@(RGLCustomizationColorNextPagePassportShift)]];
1133
- if(input[@(RGLCustomizationColorNextPagePassportFlip)]) result[@"nextPagePassportFlip"] = [self intWithColor:input[@(RGLCustomizationColorNextPagePassportFlip)]];
1134
-
1135
- return result;
1103
+ return @{
1104
+ @"rfidProcessingScreenBackground": [self intWithColor:input[@(RFIDProcessingScreenBackground)]],
1105
+ @"rfidProcessingScreenHintLabelText": [self intWithColor:input[@(RFIDProcessingScreenHintLabelText)]],
1106
+ @"rfidProcessingScreenHintLabelBackground": [self intWithColor:input[@(RFIDProcessingScreenHintLabelBackground)]],
1107
+ @"rfidProcessingScreenProgressLabelText": [self intWithColor:input[@(RFIDProcessingScreenProgressLabelText)]],
1108
+ @"rfidProcessingScreenProgressBar": [self intWithColor:input[@(RFIDProcessingScreenProgressBar)]],
1109
+ @"rfidProcessingScreenProgressBarBackground": [self intWithColor:input[@(RFIDProcessingScreenProgressBarBackground)]],
1110
+ @"rfidProcessingScreenResultLabelText": [self intWithColor:input[@(RFIDProcessingScreenResultLabelText)]],
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)]],
1118
+ };
1136
1119
  }
1137
1120
 
1138
1121
  +(void)setFonts:(NSMutableDictionary*)result input:(NSDictionary*)input {
@@ -1147,119 +1130,25 @@
1147
1130
  }
1148
1131
 
1149
1132
  +(NSDictionary*)getFonts:(NSDictionary*)input {
1150
- return @{
1151
- @"rfidProcessingScreenHintLabel": [self generateUIFont:input[@(RFIDProcessingScreenHintLabel)]],
1152
- @"rfidProcessingScreenProgressLabel": [self generateUIFont:input[@(RFIDProcessingScreenProgressLabel)]],
1153
- @"rfidProcessingScreenResultLabel": [self generateUIFont:input[@(RFIDProcessingScreenResultLabel)]],
1154
- @"mdlProcessingScreenHintLabel": [self generateUIFont:input[@(MDLProcessingScreenHintLabel)]],
1155
- @"mdlProcessingScreenProgressLabel": [self generateUIFont:input[@(MDLProcessingScreenProgressLabel)]],
1156
- @"mdlProcessingScreenResultLabel": [self generateUIFont:input[@(MDLProcessingScreenResultLabel)]],
1133
+ return @{
1134
+ @"rfidProcessingScreenHintLabel": [self generateUIFont:input[@(RFIDProcessingScreenHintLabel)]],
1135
+ @"rfidProcessingScreenProgressLabel": [self generateUIFont:input[@(RFIDProcessingScreenProgressLabel)]],
1136
+ @"rfidProcessingScreenResultLabel": [self generateUIFont:input[@(RFIDProcessingScreenResultLabel)]],
1137
+ @"mdlProcessingScreenHintLabel": [self generateUIFont:input[@(MDLProcessingScreenHintLabel)]],
1138
+ @"mdlProcessingScreenProgressLabel": [self generateUIFont:input[@(MDLProcessingScreenProgressLabel)]],
1139
+ @"mdlProcessingScreenResultLabel": [self generateUIFont:input[@(MDLProcessingScreenResultLabel)]],
1157
1140
  };
1158
1141
  }
1159
1142
 
1160
1143
  +(void)setImages:(NSMutableDictionary*)result input:(NSDictionary*)input {
1161
- if(input[@"helpAnimation"]) result[RGLCustomizationImageHelpAnimation] = [RGLWJSONConstructor imageWithBase64:input[@"helpAnimation"]];
1162
- if(input[@"livenessAnimation"]) result[RGLCustomizationImageLivenessAnimation] = [RGLWJSONConstructor imageWithBase64:input[@"livenessAnimation"]];
1163
- if(input[@"borderBackground"]) result[RGLCustomizationImageBorderBackground] = [RGLWJSONConstructor imageWithBase64:input[@"borderBackground"]];
1164
- if(input[@"torchButtonOn"]) result[RGLCustomizationImageTorchButtonOn] = [RGLWJSONConstructor imageWithBase64:input[@"torchButtonOn"]];
1165
- if(input[@"torchButtonOff"]) result[RGLCustomizationImageTorchButtonOff] = [RGLWJSONConstructor imageWithBase64:input[@"torchButtonOff"]];
1166
- if(input[@"captureButton"]) result[RGLCustomizationImageCaptureButton] = [RGLWJSONConstructor imageWithBase64:input[@"captureButton"]];
1167
- if(input[@"switchButton"]) result[RGLCustomizationImageSwitchButton] = [RGLWJSONConstructor imageWithBase64:input[@"switchButton"]];
1168
- if(input[@"closeButton"]) result[RGLCustomizationImageCloseButton] = [RGLWJSONConstructor imageWithBase64:input[@"closeButton"]];
1169
- if(input[@"multipageButton"]) result[RGLCustomizationImageMultipageButton] = [RGLWJSONConstructor imageWithBase64:input[@"multipageButton"]];
1170
- if(input[@"rfidProcessingScreenFailureImage"]) result[RGLCustomizationImageRFIDProcessingScreenFailure] = [RGLWJSONConstructor imageWithBase64:input[@"rfidProcessingScreenFailureImage"]];
1171
- if(input[@"mdlProcessingScreenFailureImage"]) result[RGLCustomizationImageMDLProcessingScreenFailure] = [RGLWJSONConstructor imageWithBase64:input[@"mdlProcessingScreenFailureImage"]];
1172
- if(input[@"nextPageIdCardFront"]) result[RGLCustomizationImageNextPageIdCardFront] = [RGLWJSONConstructor imageWithBase64:input[@"nextPageIdCardFront"]];
1173
- if(input[@"nextPageIdCardBack"]) result[RGLCustomizationImageNextPageIdCardBack] = [RGLWJSONConstructor imageWithBase64:input[@"nextPageIdCardBack"]];
1174
- if(input[@"nextPagePassportShift"]) result[RGLCustomizationImageNextPagePassportShift] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportShift"]];
1175
- if(input[@"nextPagePassportFlipStart"]) result[RGLCustomizationImageNextPagePassportFlipStart] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportFlipStart"]];
1176
- if(input[@"nextPagePassportFlipClean"]) result[RGLCustomizationImageNextPagePassportFlipClean] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportFlipClean"]];
1177
- if(input[@"nextPagePassportFlipTop"]) result[RGLCustomizationImageNextPagePassportFlipTop] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportFlipTop"]];
1178
- if(input[@"nextPagePassportFlipBottom"]) result[RGLCustomizationImageNextPagePassportFlipBottom] = [RGLWJSONConstructor imageWithBase64:input[@"nextPagePassportFlipBottom"]];
1144
+ if(input[@"rfidProcessingScreenFailureImage"]) result[@(RFIDProcessingScreenFailureImage)] = [RGLWJSONConstructor imageWithBase64:input[@"rfidProcessingScreenFailureImage"]];
1145
+ if(input[@"mdlProcessingScreenFailureImage"]) result[@(MDLProcessingScreenFailureImage)] = [RGLWJSONConstructor imageWithBase64:input[@"mdlProcessingScreenFailureImage"]];
1179
1146
  }
1180
1147
 
1181
1148
  +(NSDictionary*)getImages:(NSDictionary*)input {
1182
- id result = @{}.mutableCopy;
1183
- id i;
1184
-
1185
- i = RGLCustomizationImageHelpAnimation;
1186
- if(input[i]) result[@"helpAnimation"] = [RGLWJSONConstructor base64WithImage:input[i]];
1187
- i = RGLCustomizationImageLivenessAnimation;
1188
- if(input[i]) result[@"livenessAnimation"] = [RGLWJSONConstructor base64WithImage:input[i]];
1189
- i = RGLCustomizationImageBorderBackground;
1190
- if(input[i]) result[@"borderBackground"] = [RGLWJSONConstructor base64WithImage:input[i]];
1191
- i = RGLCustomizationImageTorchButtonOn;
1192
- if(input[i]) result[@"torchButtonOn"] = [RGLWJSONConstructor base64WithImage:input[i]];
1193
- i = RGLCustomizationImageTorchButtonOff;
1194
- if(input[i]) result[@"torchButtonOff"] = [RGLWJSONConstructor base64WithImage:input[i]];
1195
- i = RGLCustomizationImageCaptureButton;
1196
- if(input[i]) result[@"captureButton"] = [RGLWJSONConstructor base64WithImage:input[i]];
1197
- i = RGLCustomizationImageSwitchButton;
1198
- if(input[i]) result[@"switchButton"] = [RGLWJSONConstructor base64WithImage:input[i]];
1199
- i = RGLCustomizationImageCloseButton;
1200
- if(input[i]) result[@"closeButton"] = [RGLWJSONConstructor base64WithImage:input[i]];
1201
- i = RGLCustomizationImageMultipageButton;
1202
- if(input[i]) result[@"multipageButton"] = [RGLWJSONConstructor base64WithImage:input[i]];
1203
- i = RGLCustomizationImageRFIDProcessingScreenFailure;
1204
- if(input[i]) result[@"rfidProcessingScreenFailureImage"] = [RGLWJSONConstructor base64WithImage:input[i]];
1205
- i = RGLCustomizationImageMDLProcessingScreenFailure;
1206
- if(input[i]) result[@"mdlProcessingScreenFailureImage"] = [RGLWJSONConstructor base64WithImage:input[i]];
1207
- i = RGLCustomizationImageNextPageIdCardFront;
1208
- if(input[i]) result[@"nextPageIdCardFront"] = [RGLWJSONConstructor base64WithImage:input[i]];
1209
- i = RGLCustomizationImageNextPageIdCardBack;
1210
- if(input[i]) result[@"nextPageIdCardBack"] = [RGLWJSONConstructor base64WithImage:input[i]];
1211
- i = RGLCustomizationImageNextPagePassportShift;
1212
- if(input[i]) result[@"nextPagePassportShift"] = [RGLWJSONConstructor base64WithImage:input[i]];
1213
- i = RGLCustomizationImageNextPagePassportFlipStart;
1214
- if(input[i]) result[@"nextPagePassportFlipStart"] = [RGLWJSONConstructor base64WithImage:input[i]];
1215
- i = RGLCustomizationImageNextPagePassportFlipClean;
1216
- if(input[i]) result[@"nextPagePassportFlipClean"] = [RGLWJSONConstructor base64WithImage:input[i]];
1217
- i = RGLCustomizationImageNextPagePassportFlipTop;
1218
- if(input[i]) result[@"nextPagePassportFlipTop"] = [RGLWJSONConstructor base64WithImage:input[i]];
1219
- i = RGLCustomizationImageNextPagePassportFlipBottom;
1220
- if(input[i]) result[@"nextPagePassportFlipBottom"] = [RGLWJSONConstructor base64WithImage:input[i]];
1221
-
1222
- return result;
1223
- }
1224
-
1225
- +(void)setTimings:(NSMutableDictionary*)result input:(NSDictionary*)input {
1226
- if(input[@"nextPageIdCardStartDelay"]) result[@(RGLCustomizationTimingNextPageIdCardStartDelay)] = input[@"nextPageIdCardStartDelay"];
1227
- if(input[@"nextPageIdCardEndDelay"]) result[@(RGLCustomizationTimingNextPageIdCardEndDelay)] = input[@"nextPageIdCardEndDelay"];
1228
- if(input[@"nextPagePassportShiftStartDelay"]) result[@(RGLCustomizationTimingNextPagePassportShiftStartDelay)] = input[@"nextPagePassportShiftStartDelay"];
1229
- if(input[@"nextPagePassportShiftEndDelay"]) result[@(RGLCustomizationTimingNextPagePassportShiftEndDelay)] = input[@"nextPagePassportShiftEndDelay"];
1230
- if(input[@"nextPagePassportFlipStartDelay"]) result[@(RGLCustomizationTimingNextPagePassportFlipStartDelay)] = input[@"nextPagePassportFlipStartDelay"];
1231
- if(input[@"nextPagePassportFlipEndDelay"]) result[@(RGLCustomizationTimingNextPagePassportFlipEndDelay)] = input[@"nextPagePassportFlipEndDelay"];
1232
- }
1233
-
1234
- +(NSDictionary*)getTimings:(NSDictionary*)input {
1235
- id result = @{}.mutableCopy;
1236
- id i;
1237
-
1238
- i = @(RGLCustomizationTimingNextPageIdCardStartDelay);
1239
- if(input[i]) result[@"nextPageIdCardStartDelay"] = input[i];
1240
- i = @(RGLCustomizationTimingNextPageIdCardEndDelay);
1241
- if(input[i]) result[@"nextPageIdCardEndDelay"] = input[i];
1242
- i = @(RGLCustomizationTimingNextPagePassportShiftStartDelay);
1243
- if(input[i]) result[@"nextPagePassportShiftStartDelay"] = input[i];
1244
- i = @(RGLCustomizationTimingNextPagePassportShiftEndDelay);
1245
- if(input[i]) result[@"nextPagePassportShiftEndDelay"] = input[i];
1246
- i = @(RGLCustomizationTimingNextPagePassportFlipStartDelay);
1247
- if(input[i]) result[@"nextPagePassportFlipStartDelay"] = input[i];
1248
- i = @(RGLCustomizationTimingNextPagePassportFlipEndDelay);
1249
- if(input[i]) result[@"nextPagePassportFlipEndDelay"] = input[i];
1250
-
1251
- return result;
1252
- }
1253
-
1254
- +(void)setContentModes:(NSMutableDictionary*)result input:(NSDictionary*)input {
1255
- if(input[@"nextPageIdCardFront"]) result[@(RGLCustomizationContentModeNextPageIdCardFront)] = input[@"nextPageIdCardFront"];
1256
- if(input[@"nextPageIdCardBack"]) result[@(RGLCustomizationContentModeNextPageIdCardBack)] = input[@"nextPageIdCardBack"];
1257
- }
1258
-
1259
- +(NSDictionary*)getContentModes:(NSDictionary*)input {
1260
- return @{
1261
- @"nextPageIdCardFront": input[@(RGLCustomizationContentModeNextPageIdCardFront)],
1262
- @"nextPageIdCardBack": input[@(RGLCustomizationContentModeNextPageIdCardBack)],
1149
+ return @{
1150
+ @"rfidProcessingScreenFailureImage": [RGLWJSONConstructor base64WithImage:input[@(RFIDProcessingScreenFailureImage)]],
1151
+ @"mdlProcessingScreenFailureImage": [RGLWJSONConstructor base64WithImage:input[@(MDLProcessingScreenFailureImage)]],
1263
1152
  };
1264
1153
  }
1265
1154
 
@@ -286,8 +286,6 @@ static NSMutableArray* weakReferencesHolder;
286
286
  result.httpHeaders = [input valueForKey:@"httpHeaders"];
287
287
  if([input valueForKey:@"rfidServerSideChipVerification"] != nil)
288
288
  result.rfidServerSideChipVerification = [input valueForKey:@"rfidServerSideChipVerification"];
289
- if([input valueForKey:@"mdlVerification"] != nil)
290
- result.mDLVerification = [input valueForKey:@"mdlVerification"];
291
289
  if (input[@"timeoutConnection"]) result.timeoutConnection = input[@"timeoutConnection"];
292
290
 
293
291
  return result;
@@ -300,7 +298,6 @@ static NSMutableArray* weakReferencesHolder;
300
298
  result[@"url"] = input.url;
301
299
  result[@"httpHeaders"] = input.httpHeaders;
302
300
  result[@"rfidServerSideChipVerification"] = input.rfidServerSideChipVerification;
303
- result[@"mdlVerification"] = input.mDLVerification;
304
301
  result[@"timeoutConnection"] = input.timeoutConnection;
305
302
 
306
303
  return result;
@@ -2631,7 +2628,6 @@ static NSMutableArray* weakReferencesHolder;
2631
2628
  if (input[@"rawImages"]) result.rawImages = [input[@"rawImages"] boolValue];
2632
2629
  if (input[@"video"]) result.video = [input[@"video"] boolValue];
2633
2630
  if (input[@"rfidSession"]) result.rfidSession = [input[@"rfidSession"] boolValue];
2634
- if (input[@"mdlSession"]) result.mdlSession = [input[@"mdlSession"] boolValue];
2635
2631
 
2636
2632
  return result;
2637
2633
  }
@@ -2643,7 +2639,6 @@ static NSMutableArray* weakReferencesHolder;
2643
2639
  result[@"rawImages"] = @(input.rawImages);
2644
2640
  result[@"video"] = @(input.video);
2645
2641
  result[@"rfidSession"] = @(input.rfidSession);
2646
- result[@"mdlSession"] = @(input.mdlSession);
2647
2642
 
2648
2643
  return result;
2649
2644
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "9.3.478-beta",
3
+ "version": "9.3.479-nightly",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {