scandit-capacitor-datacapture-core 6.14.0 → 6.15.0-beta.1
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/ScanditCapacitorDatacaptureCore.podspec +2 -2
- package/android/build.gradle +5 -5
- package/android/src/main/java/com/scandit/capacitor/datacapture/core/ScanditCaptureCoreNative.kt +30 -64
- package/dist/esm/definitions.d.ts +3 -0
- package/dist/esm/ts/DataCaptureVersion.js +1 -1
- package/dist/esm/ts/DataCaptureVersion.js.map +1 -1
- package/dist/esm/web.d.ts +3 -5
- package/dist/esm/web.js +8 -12
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.js +79 -81
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/ScanditCaptureCore.swift +1 -1
- package/ios/ScanditCaptureCorePlugin.xcodeproj/project.pbxproj +4 -0
- package/package.json +8 -5
|
@@ -11,9 +11,9 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.author = package['author']
|
|
12
12
|
s.source = { :git => package['homepage'], :tag => s.version.to_s }
|
|
13
13
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
|
-
s.ios.deployment_target = '
|
|
14
|
+
s.ios.deployment_target = '13.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
16
|
s.swift_version = '5.1'
|
|
17
17
|
|
|
18
|
-
s.dependency 'ScanditCaptureCore', '= 6.
|
|
18
|
+
s.dependency 'ScanditCaptureCore', '= 6.15.0-beta.1'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
ext {
|
|
2
2
|
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.3.1'
|
|
3
|
-
androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.
|
|
3
|
+
androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.6.0'
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
buildscript {
|
|
7
7
|
ext {
|
|
8
|
-
sdk_version = "6.
|
|
8
|
+
sdk_version = "6.15.0-beta.1"
|
|
9
9
|
kotlin_version = "1.5.31"
|
|
10
|
-
agp_version = "7.
|
|
10
|
+
agp_version = "7.2.1"
|
|
11
11
|
}
|
|
12
12
|
repositories {
|
|
13
13
|
google()
|
|
@@ -23,10 +23,10 @@ apply plugin: 'com.android.library'
|
|
|
23
23
|
apply plugin: 'kotlin-android'
|
|
24
24
|
|
|
25
25
|
android {
|
|
26
|
-
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
26
|
+
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
|
|
27
27
|
defaultConfig {
|
|
28
28
|
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
|
|
29
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
29
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32
|
|
30
30
|
versionCode 1
|
|
31
31
|
versionName "1.0"
|
|
32
32
|
}
|
package/android/src/main/java/com/scandit/capacitor/datacapture/core/ScanditCaptureCoreNative.kt
CHANGED
|
@@ -1,36 +1,21 @@
|
|
|
1
1
|
package com.scandit.capacitor.datacapture.core
|
|
2
2
|
|
|
3
3
|
import android.Manifest
|
|
4
|
-
import android.content.pm.PackageManager
|
|
5
4
|
import android.util.Log
|
|
6
|
-
import com.getcapacitor
|
|
7
|
-
import com.getcapacitor.
|
|
8
|
-
import com.getcapacitor.
|
|
9
|
-
import com.getcapacitor.
|
|
10
|
-
import com.getcapacitor.PluginMethod
|
|
5
|
+
import com.getcapacitor.*
|
|
6
|
+
import com.getcapacitor.annotation.CapacitorPlugin
|
|
7
|
+
import com.getcapacitor.annotation.Permission
|
|
8
|
+
import com.getcapacitor.annotation.PermissionCallback
|
|
11
9
|
import com.scandit.capacitor.datacapture.core.communication.CameraPermissionGrantedListener
|
|
12
10
|
import com.scandit.capacitor.datacapture.core.communication.ComponentDeserializersProvider
|
|
13
11
|
import com.scandit.capacitor.datacapture.core.communication.ModeDeserializersProvider
|
|
14
12
|
import com.scandit.capacitor.datacapture.core.data.ResizeAndMoveInfo
|
|
15
13
|
import com.scandit.capacitor.datacapture.core.data.SerializablePoint
|
|
16
14
|
import com.scandit.capacitor.datacapture.core.data.SerializableViewState
|
|
17
|
-
import com.scandit.capacitor.datacapture.core.data.defaults
|
|
18
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableBrushDefaults
|
|
19
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableCameraDefaults
|
|
20
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableCameraSettingsDefault
|
|
21
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableCoreDefaults
|
|
22
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableDataCaptureViewDefaults
|
|
23
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableLaserlineViewfinderDefaults
|
|
24
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableRectangularViewfinderDefaults
|
|
15
|
+
import com.scandit.capacitor.datacapture.core.data.defaults.*
|
|
25
16
|
import com.scandit.capacitor.datacapture.core.deserializers.Deserializers
|
|
26
17
|
import com.scandit.capacitor.datacapture.core.deserializers.DeserializersProvider
|
|
27
|
-
import com.scandit.capacitor.datacapture.core.errors
|
|
28
|
-
import com.scandit.capacitor.datacapture.core.errors.ContextDeserializationError
|
|
29
|
-
import com.scandit.capacitor.datacapture.core.errors.JsonParseError
|
|
30
|
-
import com.scandit.capacitor.datacapture.core.errors.NoCameraAvailableError
|
|
31
|
-
import com.scandit.capacitor.datacapture.core.errors.NoCameraWithPositionError
|
|
32
|
-
import com.scandit.capacitor.datacapture.core.errors.NoViewToConvertPointError
|
|
33
|
-
import com.scandit.capacitor.datacapture.core.errors.NoViewToConvertQuadrilateralError
|
|
18
|
+
import com.scandit.capacitor.datacapture.core.errors.*
|
|
34
19
|
import com.scandit.capacitor.datacapture.core.handlers.DataCaptureComponentsHandler
|
|
35
20
|
import com.scandit.capacitor.datacapture.core.handlers.DataCaptureContextHandler
|
|
36
21
|
import com.scandit.capacitor.datacapture.core.handlers.DataCaptureViewHandler
|
|
@@ -46,17 +31,9 @@ import com.scandit.datacapture.core.common.geometry.QuadrilateralDeserializer
|
|
|
46
31
|
import com.scandit.datacapture.core.common.geometry.toJson
|
|
47
32
|
import com.scandit.datacapture.core.component.serialization.DataCaptureComponentDeserializer
|
|
48
33
|
import com.scandit.datacapture.core.json.JsonValue
|
|
49
|
-
import com.scandit.datacapture.core.source
|
|
50
|
-
import com.scandit.datacapture.core.source.CameraPosition
|
|
51
|
-
import com.scandit.datacapture.core.source.CameraPositionDeserializer
|
|
52
|
-
import com.scandit.datacapture.core.source.CameraSettings
|
|
53
|
-
import com.scandit.datacapture.core.source.FrameSource
|
|
54
|
-
import com.scandit.datacapture.core.source.FrameSourceState
|
|
55
|
-
import com.scandit.datacapture.core.source.FrameSourceStateDeserializer
|
|
56
|
-
import com.scandit.datacapture.core.source.TorchStateDeserializer
|
|
34
|
+
import com.scandit.datacapture.core.source.*
|
|
57
35
|
import com.scandit.datacapture.core.source.serialization.FrameSourceDeserializer
|
|
58
36
|
import com.scandit.datacapture.core.source.serialization.FrameSourceDeserializerListener
|
|
59
|
-
import com.scandit.datacapture.core.source.toJson
|
|
60
37
|
import com.scandit.datacapture.core.ui.DataCaptureView
|
|
61
38
|
import com.scandit.datacapture.core.ui.DataCaptureViewListener
|
|
62
39
|
import com.scandit.datacapture.core.ui.style.Brush
|
|
@@ -68,12 +45,10 @@ import org.json.JSONException
|
|
|
68
45
|
import org.json.JSONObject
|
|
69
46
|
import java.util.concurrent.atomic.AtomicBoolean
|
|
70
47
|
|
|
71
|
-
@
|
|
72
|
-
|
|
73
|
-
ScanditCaptureCoreNative.CODE_CAMERA_PERMISSIONS
|
|
74
|
-
],
|
|
48
|
+
@CapacitorPlugin(
|
|
49
|
+
name = "ScanditCaptureCoreNative",
|
|
75
50
|
permissions = [
|
|
76
|
-
Manifest.permission.CAMERA
|
|
51
|
+
Permission(strings = [Manifest.permission.CAMERA], alias = "camera")
|
|
77
52
|
]
|
|
78
53
|
)
|
|
79
54
|
class ScanditCaptureCoreNative :
|
|
@@ -85,8 +60,6 @@ class ScanditCaptureCoreNative :
|
|
|
85
60
|
FrameSourceDeserializerListener {
|
|
86
61
|
|
|
87
62
|
companion object {
|
|
88
|
-
const val CODE_CAMERA_PERMISSIONS = 200
|
|
89
|
-
|
|
90
63
|
private const val ACTION_STATUS_CHANGED = "didChangeStatus"
|
|
91
64
|
private const val ACTION_CONTEXT_OBSERVATION_STARTED = "didStartObservingContext"
|
|
92
65
|
private const val ACTION_VIEW_SIZE_CHANGED = "didChangeSizeOrientation"
|
|
@@ -94,6 +67,7 @@ class ScanditCaptureCoreNative :
|
|
|
94
67
|
private val SCANDIT_PLUGINS = listOf(
|
|
95
68
|
"ScanditBarcodeNative",
|
|
96
69
|
"ScanditParserNative",
|
|
70
|
+
"ScanditIdNative",
|
|
97
71
|
"ScanditTextNative"
|
|
98
72
|
)
|
|
99
73
|
}
|
|
@@ -160,7 +134,6 @@ class ScanditCaptureCoreNative :
|
|
|
160
134
|
}
|
|
161
135
|
|
|
162
136
|
captureViewHandler.attachWebView(bridge.webView, bridge.activity)
|
|
163
|
-
checkOrRequestCameraPermission()
|
|
164
137
|
}
|
|
165
138
|
|
|
166
139
|
private fun retrieveAllModeDeserializers(): List<DataCaptureModeDeserializer> =
|
|
@@ -176,43 +149,32 @@ class ScanditCaptureCoreNative :
|
|
|
176
149
|
.flatten()
|
|
177
150
|
|
|
178
151
|
private fun checkCameraPermission(): Boolean {
|
|
179
|
-
|
|
180
|
-
if (hasPermission) {
|
|
152
|
+
if (getPermissionState("camera") == PermissionState.GRANTED) {
|
|
181
153
|
cameraPermissionsGranted.set(true)
|
|
182
154
|
cameraPermissionsRequested.set(false)
|
|
155
|
+
return true
|
|
183
156
|
}
|
|
184
|
-
return
|
|
157
|
+
return false
|
|
185
158
|
}
|
|
186
159
|
|
|
187
|
-
private fun checkOrRequestCameraPermission() {
|
|
188
|
-
if (
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
),
|
|
193
|
-
CODE_CAMERA_PERMISSIONS
|
|
194
|
-
)
|
|
160
|
+
private fun checkOrRequestCameraPermission(call: PluginCall) {
|
|
161
|
+
if (getPermissionState("camera") != PermissionState.GRANTED) {
|
|
162
|
+
requestPermissionForAlias("camera", call, "cameraPermsCallback")
|
|
163
|
+
} else {
|
|
164
|
+
initializeContextFromJson(call)
|
|
195
165
|
}
|
|
196
166
|
}
|
|
197
167
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
) {
|
|
203
|
-
super.handleRequestPermissionsResult(requestCode, permissions, grantResults)
|
|
204
|
-
|
|
205
|
-
for (result in grantResults!!) {
|
|
206
|
-
if (result == PackageManager.PERMISSION_DENIED) {
|
|
207
|
-
cameraPermissionsRequested.set(false)
|
|
208
|
-
return
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
if (requestCode == CODE_CAMERA_PERMISSIONS) {
|
|
168
|
+
@Suppress("unused")
|
|
169
|
+
@PermissionCallback
|
|
170
|
+
private fun cameraPermsCallback(call: PluginCall) {
|
|
171
|
+
if (getPermissionState("camera") == PermissionState.GRANTED) {
|
|
213
172
|
cameraPermissionsGranted.set(true)
|
|
214
173
|
cameraPermissionsRequested.set(false)
|
|
215
174
|
notifyCameraPermissionGrantedToPlugins()
|
|
175
|
+
initializeContextFromJson(call)
|
|
176
|
+
} else {
|
|
177
|
+
call.reject("The Camera permission is required to open the scanner.")
|
|
216
178
|
}
|
|
217
179
|
}
|
|
218
180
|
|
|
@@ -326,6 +288,10 @@ class ScanditCaptureCoreNative :
|
|
|
326
288
|
//region DataCaptureContextProxy
|
|
327
289
|
@PluginMethod
|
|
328
290
|
override fun contextFromJSON(call: PluginCall) {
|
|
291
|
+
checkOrRequestCameraPermission(call)
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
fun initializeContextFromJson(call: PluginCall) {
|
|
329
295
|
try {
|
|
330
296
|
val jsonString = call.data.getString("context")
|
|
331
297
|
?: return call.reject("Empty strings are not allowed.")
|
|
@@ -2,6 +2,8 @@ export declare type Optional<T> = T | null;
|
|
|
2
2
|
export interface ScanditCaptureCorePluginInterface {
|
|
3
3
|
initializePlugins(): Promise<any>;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
export const ScanditCaptureCorePlugin: ScanditCaptureCorePluginInterface;
|
|
5
7
|
declare module Scandit {
|
|
6
8
|
|
|
7
9
|
export enum FrameSourceState {
|
|
@@ -1022,3 +1024,4 @@ export class VolumeButtonObserver {
|
|
|
1022
1024
|
}
|
|
1023
1025
|
|
|
1024
1026
|
}
|
|
1027
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataCaptureVersion.js","sourceRoot":"","sources":["../../../src/ts/DataCaptureVersion.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,kBAAkB;IACpB,MAAM,KAAK,aAAa;QAC3B,OAAO,
|
|
1
|
+
{"version":3,"file":"DataCaptureVersion.js","sourceRoot":"","sources":["../../../src/ts/DataCaptureVersion.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,kBAAkB;IACpB,MAAM,KAAK,aAAa;QAC3B,OAAO,eAAe,CAAC;IAC3B,CAAC;CACJ"}
|
package/dist/esm/web.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { WebPlugin } from '@capacitor/core';
|
|
2
1
|
import { ScanditCaptureCorePluginInterface } from './definitions';
|
|
3
|
-
export
|
|
4
|
-
|
|
2
|
+
export * from './definitions';
|
|
3
|
+
export declare class ScanditCaptureCorePluginImplementation implements ScanditCaptureCorePluginInterface {
|
|
5
4
|
initializePlugins(): Promise<any>;
|
|
6
5
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export { scanditCaptureCore };
|
|
6
|
+
export declare const ScanditCaptureCorePlugin: ScanditCaptureCorePluginImplementation;
|
package/dist/esm/web.js
CHANGED
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { registerPlugin } from '@capacitor/core';
|
|
11
11
|
import { getDefaults } from './ts/Capacitor/Capacitor';
|
|
12
12
|
import { Color, Direction, MarginsWithUnit, MeasureUnit, NumberWithUnit, Orientation, Point, PointWithUnit, Quadrilateral, Rect, RectWithUnit, Size, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizingMode, } from './ts/Common';
|
|
13
13
|
import { RadiusLocationSelection, RectangularLocationSelection, } from './ts/LocationSelection';
|
|
@@ -23,13 +23,7 @@ import { DataCaptureVersion, } from './ts/DataCaptureVersion';
|
|
|
23
23
|
import { NoneLocationSelection, } from './ts/LocationSelection';
|
|
24
24
|
import { VolumeButtonObserver, } from './ts/VolumeButtonObserver';
|
|
25
25
|
const corePluginName = 'ScanditCaptureCorePlugin';
|
|
26
|
-
export class
|
|
27
|
-
constructor() {
|
|
28
|
-
super({
|
|
29
|
-
name: corePluginName,
|
|
30
|
-
platforms: ['ios', 'android'],
|
|
31
|
-
});
|
|
32
|
-
}
|
|
26
|
+
export class ScanditCaptureCorePluginImplementation {
|
|
33
27
|
initializePlugins() {
|
|
34
28
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
29
|
let api = {
|
|
@@ -96,8 +90,10 @@ export class ScanditCaptureCorePlugin extends WebPlugin {
|
|
|
96
90
|
});
|
|
97
91
|
}
|
|
98
92
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
93
|
+
registerPlugin(corePluginName, {
|
|
94
|
+
android: () => new ScanditCaptureCorePluginImplementation(),
|
|
95
|
+
ios: () => new ScanditCaptureCorePluginImplementation(),
|
|
96
|
+
});
|
|
97
|
+
// tslint:disable-next-line:variable-name
|
|
98
|
+
export const ScanditCaptureCorePlugin = new ScanditCaptureCorePluginImplementation();
|
|
103
99
|
//# sourceMappingURL=web.js.map
|
package/dist/esm/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,OAAO,EACH,KAAK,EACL,SAAS,EACT,eAAe,EACf,WAAW,EACX,cAAc,EACd,WAAW,EACX,KAAK,EACL,aAAa,EACb,aAAa,EACb,IAAI,EACJ,YAAY,EACZ,IAAI,EACJ,cAAc,EACd,YAAY,EACZ,qBAAqB,EACrB,UAAU,GACb,MAAM,aAAa,CAAC;AAErB,OAAO,EACH,uBAAuB,EACvB,4BAA4B,GAC/B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACH,eAAe,EACf,KAAK,EACL,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,GACxB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,wBAAwB,EACxB,8BAA8B,EAC9B,8BAA8B,EAC9B,0BAA0B,GAC7B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACH,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,eAAe,GAClB,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