Skip to content

Commit

Permalink
7.5.449
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Dec 17, 2024
1 parent 56c5371 commit 903ad58
Show file tree
Hide file tree
Showing 13 changed files with 428 additions and 60 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This repository contains the source code of the Document Reader API, and the sam

## Documentation

You can find documentation [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile/ionic).
You can find documentation [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile).

## License

Expand Down
2 changes: 2 additions & 0 deletions example/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<platform name="android">
<preference name="orientation" value="portrait" />
<resource-file src="src/assets/db.dat" target="app/src/main/assets/Regula/db.dat"/>
<framework src="com.android.support:appcompat-v7:+" />
<config-file parent="/*" target="AndroidManifest.xml">
Expand Down Expand Up @@ -53,6 +54,7 @@
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
</platform>
<platform name="ios">
<preference name="orientation" value="portrait" />
<resource-file src="src/assets/db.dat" />
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
Expand Down
10 changes: 5 additions & 5 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
},
"private": true,
"dependencies": {
"@regulaforensics/cordova-plugin-document-reader-api": "7.4.620",
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.4.623",
"@regulaforensics/ionic-native-document-reader": "7.4.417",
"@regulaforensics/cordova-plugin-document-reader-api": "7.5.661",
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.821",
"@regulaforensics/ionic-native-document-reader": "7.5.449",
"cordova-plugin-camera": "7.0.0",
"@awesome-cordova-plugins/camera": "6.6.0",
"@awesome-cordova-plugins/core": "6.6.0",
Expand All @@ -30,8 +30,8 @@
"@angular/router": "~13.3.2",
"@ionic/angular": "^6.0.15",
"@ionic/cordova-builders": "^6.1.0",
"cordova-android": "12.0.1",
"cordova-ios": "6.3.0",
"cordova-android": "13.0.0",
"cordova-ios": "7.1.1",
"cordova-plugin-add-swift-support": "^2.0.2",
"cordova-plugin-file": "8.0.1",
"core-js": "^3.6.5",
Expand Down
5 changes: 5 additions & 0 deletions example/src/app/home/home.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ export class HomePage {
if (value != undefined)
app.portraitImage.nativeElement.src = "data:image/png;base64," + value
})

DocumentReader.graphicFieldImageByTypeSource(results, Enum.eGraphicFieldType.GF_PORTRAIT, Enum.eRPRM_ResultType.RFID_RESULT_TYPE_RFID_IMAGE_DATA).then(value => {
if (value != undefined)
app.portraitImage.nativeElement.src = "data:image/png;base64," + value
})
}

function clearResults() {
Expand Down
Loading

0 comments on commit 903ad58

Please sign in to comment.