@regulaforensics/ionic-native-document-reader 7.5.420-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.
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "private": true,
15
15
  "dependencies": {
16
- "@regulaforensics/cordova-plugin-document-reader-api": "7.5.625-nightly",
17
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.753-nightly",
18
- "@regulaforensics/ionic-native-document-reader": "7.5.420-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.420-nightly",
3
+ "version": "7.5.423-nightly",
4
4
  "description": "Ionic Native wrapper for cordova documentreader",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -12,9 +12,9 @@
12
12
  "lint": "eslint"
13
13
  },
14
14
  "dependencies": {
15
- "@regulaforensics/cordova-plugin-document-reader-api": "7.5.625-nightly",
16
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.753-nightly",
17
- "@regulaforensics/ionic-native-document-reader": "7.5.420-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() {