@regulaforensics/react-native-document-reader-api 7.5.738-nightly → 7.5.739-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.
@@ -11,6 +11,7 @@
11
11
  <activity
12
12
  android:name=".MainActivity"
13
13
  android:label="@string/app_name"
14
+ android:screenOrientation="portrait"
14
15
  android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
15
16
  android:launchMode="singleTask"
16
17
  android:windowSoftInputMode="adjustResize"
@@ -55,8 +55,6 @@
55
55
  </array>
56
56
  <key>UISupportedInterfaceOrientations~ipad</key>
57
57
  <array>
58
- <string>UIInterfaceOrientationLandscapeLeft</string>
59
- <string>UIInterfaceOrientationLandscapeRight</string>
60
58
  <string>UIInterfaceOrientationPortrait</string>
61
59
  </array>
62
60
  <key>UIViewControllerBasedStatusBarAppearance</key>
@@ -10,7 +10,7 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "7.5.738-nightly",
13
+ "@regulaforensics/react-native-document-reader-api": "7.5.739-nightly",
14
14
  "@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.5.767-nightly",
15
15
  "react-native-progress": "5.0.0",
16
16
  "react-native-radio-buttons-group": "3.0.5",
package/index.d.ts CHANGED
@@ -1474,7 +1474,7 @@ export class DocumentReaderValidity {
1474
1474
  export class OnlineProcessingConfig {
1475
1475
  mode?: number
1476
1476
  url?: string
1477
- processParams?: ProcessParams
1477
+ processParam?: ProcessParams
1478
1478
  imageFormat?: number
1479
1479
  imageCompressionQuality?: number
1480
1480
 
@@ -1484,7 +1484,7 @@ export class OnlineProcessingConfig {
1484
1484
 
1485
1485
  result.mode = jsonObject["mode"]
1486
1486
  result.url = jsonObject["url"]
1487
- result.processParams = ProcessParams.fromJson(jsonObject["processParams"])
1487
+ result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
1488
1488
  result.imageFormat = jsonObject["imageFormat"]
1489
1489
  result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
1490
1490
 
package/index.js CHANGED
@@ -995,7 +995,7 @@ export class OnlineProcessingConfig {
995
995
 
996
996
  result.mode = jsonObject["mode"]
997
997
  result.url = jsonObject["url"]
998
- result.processParams = ProcessParams.fromJson(jsonObject["processParams"])
998
+ result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
999
999
  result.imageFormat = jsonObject["imageFormat"]
1000
1000
  result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
1001
1001
 
package/ios/RGLWConfig.m CHANGED
@@ -68,6 +68,10 @@
68
68
  if([options valueForKey:@"zoomFactor"] != nil)
69
69
  functionality.zoomFactor = [[options valueForKey:@"zoomFactor"] floatValue];
70
70
 
71
+ // JSONObject
72
+ if([options valueForKey:@"onlineProcessingConfiguration"] != nil)
73
+ functionality.onlineProcessingConfig = [RGLWJSONConstructor onlineProcessingConfigFromJson:[options valueForKey:@"onlineProcessingConfiguration"]];
74
+
71
75
  // Custom
72
76
  // in android - cameraSize
73
77
  if([options valueForKey:@"videoSessionPreset"] != nil)
@@ -112,6 +116,9 @@
112
116
  // Float
113
117
  result[@"zoomFactor"] = [NSNumber numberWithFloat:functionality.zoomFactor];
114
118
 
119
+ // JSONObject
120
+ result[@"onlineProcessingConfiguration"] = [RGLWJSONConstructor generateOnlineProcessingConfig:functionality.onlineProcessingConfig];
121
+
115
122
  // Custom
116
123
  // in android - cameraSize
117
124
  result[@"videoSessionPreset"] = [self generateCaptureSessionPreset:functionality.videoSessionPreset];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "7.5.738-nightly",
3
+ "version": "7.5.739-nightly",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {