@capacitor/barcode-scanner 1.0.3 → 2.0.0
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/CapacitorBarcodeScanner.podspec +1 -1
- package/android/build.gradle +24 -20
- package/package.json +6 -7
|
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.author = package['author']
|
|
12
12
|
s.source = { :git => package['repository']['url'], :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 = '14.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
16
|
s.dependency 'OSBarcodeLib', '~> 1.1.0'
|
|
17
17
|
s.swift_version = '5.1'
|
package/android/build.gradle
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
ext {
|
|
2
2
|
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
|
|
3
|
-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.
|
|
4
|
-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1
|
|
5
|
-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.
|
|
3
|
+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0'
|
|
4
|
+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
|
|
5
|
+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
buildscript {
|
|
9
|
-
ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '1.9.
|
|
9
|
+
ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '1.9.24'
|
|
10
10
|
repositories {
|
|
11
11
|
maven {
|
|
12
12
|
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
|
|
@@ -26,7 +26,7 @@ buildscript {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
dependencies {
|
|
29
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
29
|
+
classpath 'com.android.tools.build:gradle:8.7.2'
|
|
30
30
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -36,10 +36,10 @@ apply plugin: 'kotlin-android'
|
|
|
36
36
|
|
|
37
37
|
android {
|
|
38
38
|
namespace "com.capacitorjs.barcodescanner"
|
|
39
|
-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
39
|
+
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
|
|
40
40
|
defaultConfig {
|
|
41
41
|
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 26
|
|
42
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
42
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
|
|
43
43
|
versionCode 1
|
|
44
44
|
versionName "1.0"
|
|
45
45
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
@@ -54,11 +54,15 @@ android {
|
|
|
54
54
|
abortOnError false
|
|
55
55
|
}
|
|
56
56
|
compileOptions {
|
|
57
|
-
sourceCompatibility JavaVersion.
|
|
58
|
-
targetCompatibility JavaVersion.
|
|
57
|
+
sourceCompatibility JavaVersion.VERSION_21
|
|
58
|
+
targetCompatibility JavaVersion.VERSION_21
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
kotlin {
|
|
63
|
+
jvmToolchain(21)
|
|
64
|
+
}
|
|
65
|
+
|
|
62
66
|
repositories {
|
|
63
67
|
maven {
|
|
64
68
|
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
|
|
@@ -78,20 +82,20 @@ repositories {
|
|
|
78
82
|
dependencies {
|
|
79
83
|
// implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'])
|
|
80
84
|
//noinspection GradleDynamicVersion
|
|
81
|
-
implementation "com.github.outsystems:osbarcode-android:1
|
|
85
|
+
implementation "com.github.outsystems:osbarcode-android:1.2.0@aar"
|
|
82
86
|
implementation project(':capacitor-android')
|
|
83
87
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
84
|
-
implementation 'androidx.activity:activity-ktx:1.
|
|
85
|
-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.
|
|
86
|
-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.
|
|
88
|
+
implementation 'androidx.activity:activity-ktx:1.9.3'
|
|
89
|
+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3'
|
|
90
|
+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
|
|
87
91
|
implementation 'com.google.zxing:core:3.4.1'
|
|
88
|
-
implementation 'com.google.mlkit:barcode-scanning:17.
|
|
89
|
-
implementation 'androidx.camera:camera-camera2:1.
|
|
90
|
-
implementation 'androidx.camera:camera-lifecycle:1.
|
|
91
|
-
implementation 'androidx.camera:camera-view:1.
|
|
92
|
-
implementation 'androidx.activity:activity-compose:1.
|
|
93
|
-
implementation 'androidx.compose.material3:material3:1.1
|
|
94
|
-
implementation 'androidx.compose.material3:material3-window-size-class:1.1
|
|
92
|
+
implementation 'com.google.mlkit:barcode-scanning:17.3.0'
|
|
93
|
+
implementation 'androidx.camera:camera-camera2:1.4.0'
|
|
94
|
+
implementation 'androidx.camera:camera-lifecycle:1.4.0'
|
|
95
|
+
implementation 'androidx.camera:camera-view:1.4.0'
|
|
96
|
+
implementation 'androidx.activity:activity-compose:1.9.3'
|
|
97
|
+
implementation 'androidx.compose.material3:material3:1.3.1'
|
|
98
|
+
implementation 'androidx.compose.material3:material3-window-size-class:1.3.1'
|
|
95
99
|
testImplementation "junit:junit:$junitVersion"
|
|
96
100
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
97
101
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/barcode-scanner",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Capacitor plugin using Outsystems Barcode libs",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"html5-qrcode": "2.3.8"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@capacitor/android": "
|
|
55
|
-
"@capacitor/core": "
|
|
54
|
+
"@capacitor/android": "next",
|
|
55
|
+
"@capacitor/core": "next",
|
|
56
56
|
"@capacitor/docgen": "^0.2.2",
|
|
57
|
-
"@capacitor/ios": "
|
|
57
|
+
"@capacitor/ios": "next",
|
|
58
58
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
59
59
|
"@types/node": "~20.12.4",
|
|
60
60
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"typescript": "^5.4.2"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
|
-
"@capacitor/core": "
|
|
72
|
+
"@capacitor/core": ">=7.0.0"
|
|
73
73
|
},
|
|
74
74
|
"swiftlint": "@ionic/swiftlint-config",
|
|
75
75
|
"capacitor": {
|
|
@@ -79,6 +79,5 @@
|
|
|
79
79
|
"android": {
|
|
80
80
|
"src": "android"
|
|
81
81
|
}
|
|
82
|
-
}
|
|
83
|
-
"gitHead": "5f1c696a09c80ad890adfb778a6ee2abcc71aa1a"
|
|
82
|
+
}
|
|
84
83
|
}
|