Skip to content

Commit

Permalink
Merge pull request #21 from idpass/fix/mrz-build
Browse files Browse the repository at this point in the history
Embed MRZ Parser in core library
  • Loading branch information
rjmangubat23 authored Jul 8, 2021
2 parents c695542 + b2dcc4b commit 591a57a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
Binary file removed aar/smartscanner-mrz-parser-debug.aar
Binary file not shown.
Binary file removed aar/smartscanner-mrz-parser-release.aar
Binary file not shown.
Binary file modified aar/smartscannerlib-debug.aar
Binary file not shown.
Binary file modified aar/smartscannerlib-release.aar
Binary file not shown.
4 changes: 1 addition & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="smartscanner-cordova" version="0.3.8">
id="smartscanner-cordova" version="0.3.9">
<name>SmartScannerPlugin</name>

<description>Cordova plugin for the SmartScanner Core library to scan MRZ and barcodes.</description>
Expand Down Expand Up @@ -39,8 +39,6 @@

<lib-file src="aar/smartscannerlib-debug.aar" />
<lib-file src="aar/smartscannerlib-release.aar" />
<lib-file src="aar/smartscanner-mrz-parser-debug.aar" />
<lib-file src="aar/smartscanner-mrz-parser-release.aar" />

<config-file mode="merge" parent="/manifest/application" target="AndroidManifest.xml">
<activity android:name="org.idpass.smartscanner.lib.SmartScannerActivity"
Expand Down
3 changes: 0 additions & 3 deletions src/android/smartscannerplugin.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,11 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation fileTree(include: ['*.aar'], dir: 'libs')
implementation 'androidx.multidex:multidex:2.0.1'

// SmartScanner
debugImplementation files('libs/smartscannerlib-debug.aar')
releaseImplementation files('libs/smartscannerlib-release.aar')
debugImplementation files('aar/smartscanner-mrz-parser-debug.aar')
releaseImplementation files('aar/smartscanner-mrz-parser-release.aar')

// AndroidX
implementation 'androidx.appcompat:appcompat:1.1.0'
Expand Down

0 comments on commit 591a57a

Please sign in to comment.