@idpass/smartscanner-capacitor 0.7.3-beta.2 → 0.7.3-beta.3
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.
- package/android/build.gradle +3 -3
- package/android/src/main/AndroidManifest.xml +17 -2
- package/package.json +1 -1
- package/android/.npmignore +0 -1
- package/ios/.npmignore +0 -4
package/android/build.gradle
CHANGED
|
@@ -7,7 +7,7 @@ buildscript {
|
|
|
7
7
|
}
|
|
8
8
|
dependencies {
|
|
9
9
|
classpath 'com.google.gms:google-services:4.3.15'
|
|
10
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
10
|
+
classpath 'com.android.tools.build:gradle:8.7.2'
|
|
11
11
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -109,14 +109,14 @@ dependencies {
|
|
|
109
109
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
|
110
110
|
|
|
111
111
|
// CameraX
|
|
112
|
-
def camerax_version = "1.
|
|
112
|
+
def camerax_version = "1.0.0-beta07"
|
|
113
113
|
implementation "androidx.camera:camera-core:$camerax_version"
|
|
114
114
|
// CameraX core library using camera2 implementation
|
|
115
115
|
implementation "androidx.camera:camera-camera2:$camerax_version"
|
|
116
116
|
// CameraX Lifecycle Library
|
|
117
117
|
implementation "androidx.camera:camera-lifecycle:$camerax_version"
|
|
118
118
|
// CameraX View class
|
|
119
|
-
implementation "androidx.camera:camera-view:1.
|
|
119
|
+
implementation "androidx.camera:camera-view:1.0.0-alpha14"
|
|
120
120
|
|
|
121
121
|
// MRZ
|
|
122
122
|
implementation 'org.slf4j:slf4j-android:1.7.30'
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
<manifest
|
|
2
|
-
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+
xmlns:tools="http://schemas.android.com/tools"
|
|
3
|
+
package="org.idpass.smartscanner.capacitor.smartscannercapacitorplugin">
|
|
4
|
+
|
|
5
|
+
<uses-permission android:name="android.permission.CAMERA" />
|
|
6
|
+
<uses-permission android:name="android.permission.FLASHLIGHT" />
|
|
7
|
+
<uses-feature android:name="android.hardware.camera" android:required="true" />
|
|
8
|
+
|
|
9
|
+
<application>
|
|
10
|
+
<activity
|
|
11
|
+
android:name="org.idpass.smartscanner.lib.SmartScannerActivity"
|
|
12
|
+
android:theme="@style/Theme.AppCompat.NoActionBar"
|
|
13
|
+
android:screenOrientation="portrait"
|
|
14
|
+
android:exported="false"
|
|
15
|
+
tools:replace="android:exported,android:screenOrientation" />
|
|
16
|
+
</application>
|
|
17
|
+
</manifest>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idpass/smartscanner-capacitor",
|
|
3
|
-
"version": "0.7.3-beta.
|
|
3
|
+
"version": "0.7.3-beta.3",
|
|
4
4
|
"description": "Capacitor plugin for the SmartScanner Core library to scan MRZ, NFC and barcodes",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
package/android/.npmignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/build
|
package/ios/.npmignore
DELETED