@regulaforensics/ionic-native-document-reader 7.5.419-nightly → 7.5.423-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.
@@ -19,6 +19,7 @@
19
19
  <preference name="SplashScreen" value="screen" />
20
20
  <preference name="SplashScreenDelay" value="3000" />
21
21
  <platform name="android">
22
+ <preference name="orientation" value="portrait" />
22
23
  <resource-file src="src/assets/db.dat" target="app/src/main/assets/Regula/db.dat"/>
23
24
  <framework src="com.android.support:appcompat-v7:+" />
24
25
  <config-file parent="/*" target="AndroidManifest.xml">
@@ -53,6 +54,7 @@
53
54
  <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
54
55
  </platform>
55
56
  <platform name="ios">
57
+ <preference name="orientation" value="portrait" />
56
58
  <resource-file src="src/assets/db.dat" />
57
59
  <allow-intent href="itms:*" />
58
60
  <allow-intent href="itms-apps:*" />
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "private": true,
15
15
  "dependencies": {
16
- "@regulaforensics/cordova-plugin-document-reader-api": "7.5.624-nightly",
17
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.751-nightly",
18
- "@regulaforensics/ionic-native-document-reader": "7.5.419-nightly",
16
+ "@regulaforensics/cordova-plugin-document-reader-api": "7.5.631-nightly",
17
+ "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.754-nightly",
18
+ "@regulaforensics/ionic-native-document-reader": "7.5.423-nightly",
19
19
  "cordova-plugin-camera": "7.0.0",
20
20
  "@awesome-cordova-plugins/camera": "6.6.0",
21
21
  "@awesome-cordova-plugins/core": "6.6.0",
@@ -239,6 +239,11 @@ export class HomePage {
239
239
  if (value != undefined)
240
240
  app.portraitImage.nativeElement.src = "data:image/png;base64," + value
241
241
  })
242
+
243
+ DocumentReader.graphicFieldImageByTypeSource(results, Enum.eGraphicFieldType.GF_PORTRAIT, Enum.eRPRM_ResultType.RFID_RESULT_TYPE_RFID_IMAGE_DATA).then(value => {
244
+ if (value != undefined)
245
+ app.portraitImage.nativeElement.src = "data:image/png;base64," + value
246
+ })
242
247
  }
243
248
 
244
249
  function clearResults() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/ionic-native-document-reader",
3
- "version": "7.5.419-nightly",
3
+ "version": "7.5.423-nightly",
4
4
  "description": "Ionic Native wrapper for cordova documentreader",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -10,6 +10,7 @@
10
10
  android:theme="@style/AppTheme">
11
11
 
12
12
  <activity
13
+ android:screenOrientation="portrait"
13
14
  android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
14
15
  android:name=".MainActivity"
15
16
  android:label="@string/title_activity_main"
@@ -44,15 +44,10 @@
44
44
  <key>UISupportedInterfaceOrientations</key>
45
45
  <array>
46
46
  <string>UIInterfaceOrientationPortrait</string>
47
- <string>UIInterfaceOrientationLandscapeLeft</string>
48
- <string>UIInterfaceOrientationLandscapeRight</string>
49
47
  </array>
50
48
  <key>UISupportedInterfaceOrientations~ipad</key>
51
49
  <array>
52
50
  <string>UIInterfaceOrientationPortrait</string>
53
- <string>UIInterfaceOrientationPortraitUpsideDown</string>
54
- <string>UIInterfaceOrientationLandscapeLeft</string>
55
- <string>UIInterfaceOrientationLandscapeRight</string>
56
51
  </array>
57
52
  <key>UIViewControllerBasedStatusBarAppearance</key>
58
53
  <true/>
@@ -12,9 +12,9 @@
12
12
  "lint": "eslint"
13
13
  },
14
14
  "dependencies": {
15
- "@regulaforensics/cordova-plugin-document-reader-api": "7.5.624-nightly",
16
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.751-nightly",
17
- "@regulaforensics/ionic-native-document-reader": "7.5.419-nightly",
15
+ "@regulaforensics/cordova-plugin-document-reader-api": "7.5.631-nightly",
16
+ "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.754-nightly",
17
+ "@regulaforensics/ionic-native-document-reader": "7.5.423-nightly",
18
18
  "@awesome-cordova-plugins/camera": "6.6.0",
19
19
  "@awesome-cordova-plugins/file": "6.6.0",
20
20
  "@capacitor/android": "5.6.0",
@@ -228,6 +228,11 @@ function displayResults(results: DocumentReaderResults) {
228
228
  if (value != null)
229
229
  portraitImage.src = "data:image/png;base64," + value
230
230
  })
231
+
232
+ DocumentReader.graphicFieldImageByTypeSource(results, Enum.eGraphicFieldType.GF_PORTRAIT, Enum.eRPRM_ResultType.RFID_RESULT_TYPE_RFID_IMAGE_DATA).then((value: string | undefined) => {
233
+ if (value != null)
234
+ portraitImage.src = "data:image/png;base64," + value
235
+ })
231
236
  }
232
237
 
233
238
  function clearResults() {