scandit-capacitor-datacapture-parser 7.1.2 → 7.2.0-beta.2
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/README.md +3 -0
- package/ScanditCapacitorDatacaptureParser.podspec +1 -1
- package/android/build.gradle +35 -3
- package/package.json +11 -6
package/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
ScanditParser implements the parsing capabilities of the Scandit Data Capture SDK. It supports parsing a large number of different [data formats](https://docs.scandit.com/data-capture-sdk/cordova/parser/formats.html).
|
|
2
|
+
|
|
3
|
+
Learn more with the [official documentation](https://docs.scandit.com/) or get started with [our samples](https://github.com/Scandit/datacapture-capacitor-samples)
|
package/android/build.gradle
CHANGED
|
@@ -9,10 +9,42 @@ def safeExtGet(prop, fallback) {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
buildscript {
|
|
12
|
+
def retrieveCapacitorCompatibility = {
|
|
13
|
+
def appModule = rootProject.findProject(":app")
|
|
14
|
+
if (appModule == null) {
|
|
15
|
+
return
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
def file = appModule.file("capacitor.build.gradle")
|
|
19
|
+
if (file.exists()) {
|
|
20
|
+
def content = file.text
|
|
21
|
+
|
|
22
|
+
def sourceCompatibilityMatch = content =~ /sourceCompatibility\s+JavaVersion.VERSION_(\d+)/
|
|
23
|
+
def targetCompatibilityMatch = content =~ /targetCompatibility\s+JavaVersion.VERSION_(\d+)/
|
|
24
|
+
|
|
25
|
+
if (sourceCompatibilityMatch) {
|
|
26
|
+
ext.rootSourceCompatibility = JavaVersion.toVersion(sourceCompatibilityMatch[0][1])
|
|
27
|
+
} else {
|
|
28
|
+
ext.rootSourceCompatibility = JavaVersion.VERSION_17
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (targetCompatibilityMatch) {
|
|
32
|
+
ext.rootTargetCompatibility = JavaVersion.toVersion(targetCompatibilityMatch[0][1])
|
|
33
|
+
} else {
|
|
34
|
+
ext.rootTargetCompatibility = JavaVersion.VERSION_17
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
12
39
|
ext {
|
|
13
40
|
kotlin_version = "1.8.20"
|
|
14
41
|
agp_version = "8.5.1"
|
|
42
|
+
rootSourceCompatibility = JavaVersion.VERSION_17
|
|
43
|
+
rootTargetCompatibility = JavaVersion.VERSION_17
|
|
15
44
|
}
|
|
45
|
+
|
|
46
|
+
retrieveCapacitorCompatibility()
|
|
47
|
+
|
|
16
48
|
repositories {
|
|
17
49
|
google()
|
|
18
50
|
mavenCentral()
|
|
@@ -45,8 +77,8 @@ android {
|
|
|
45
77
|
abortOnError false
|
|
46
78
|
}
|
|
47
79
|
compileOptions {
|
|
48
|
-
sourceCompatibility =
|
|
49
|
-
targetCompatibility =
|
|
80
|
+
sourceCompatibility = rootSourceCompatibility
|
|
81
|
+
targetCompatibility = rootTargetCompatibility
|
|
50
82
|
}
|
|
51
83
|
}
|
|
52
84
|
|
|
@@ -56,7 +88,7 @@ repositories {
|
|
|
56
88
|
}
|
|
57
89
|
|
|
58
90
|
dependencies {
|
|
59
|
-
def sdk_version = "7.
|
|
91
|
+
def sdk_version = "7.2.0-beta.2"
|
|
60
92
|
|
|
61
93
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
62
94
|
implementation fileTree(dir: 'library', include: ['*.aar'])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scandit-capacitor-datacapture-parser",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0-beta.2",
|
|
4
4
|
"description": "Scandit Data Capture SDK for Capacitor",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"private": false,
|
|
@@ -33,22 +33,26 @@
|
|
|
33
33
|
"watch": "tsc --watch"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"scandit-capacitor-datacapture-core": "7.
|
|
37
|
-
"scandit-datacapture-frameworks-core": "7.
|
|
36
|
+
"scandit-capacitor-datacapture-core": "7.2.0-beta.2",
|
|
37
|
+
"scandit-datacapture-frameworks-core": "7.2.0-beta.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@capacitor/android": "^5.0.0",
|
|
41
41
|
"@capacitor/core": "^5.0.0",
|
|
42
42
|
"@capacitor/ios": "^5.0.0",
|
|
43
|
-
"@
|
|
43
|
+
"@capacitor/docgen": "^0.2.1",
|
|
44
|
+
"@ionic/prettier-config": "^1.0.1",
|
|
45
|
+
"@ionic/swiftlint-config": "^1.1.2",
|
|
44
46
|
"@types/node": "18.15.3",
|
|
45
|
-
"prettier": "^
|
|
47
|
+
"prettier": "^2.0.5",
|
|
48
|
+
"prettier-plugin-java": "^2.0.0",
|
|
46
49
|
"rimraf": "4.4.0",
|
|
47
50
|
"rollup": "3.26.2",
|
|
48
51
|
"@rollup/plugin-node-resolve": "15.0.2",
|
|
49
52
|
"@rollup/plugin-typescript": "11.1.2",
|
|
50
53
|
"@rollup/plugin-commonjs": "24.1.0",
|
|
51
54
|
"rollup-plugin-modify": "3.0.0",
|
|
55
|
+
"swiftlint": "^1.0.1",
|
|
52
56
|
"typescript": "4.9.5",
|
|
53
57
|
"eslint": "8.37.0",
|
|
54
58
|
"@typescript-eslint/parser": "5.57.1",
|
|
@@ -68,5 +72,6 @@
|
|
|
68
72
|
"src": "android"
|
|
69
73
|
}
|
|
70
74
|
},
|
|
71
|
-
"prettier": "@ionic/prettier-config"
|
|
75
|
+
"prettier": "@ionic/prettier-config",
|
|
76
|
+
"swiftlint": "@ionic/swiftlint-config"
|
|
72
77
|
}
|