@capacitor/barcode-scanner 2.2.1-dev-20251126T092122.0 → 2.2.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.
@@ -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/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
- s.ios.deployment_target = '14.0'
14
+ s.ios.deployment_target = '15.0'
15
15
  s.dependency 'Capacitor'
16
16
  s.dependency 'OSBarcodeLib', '2.0.1'
17
17
  s.swift_version = '5.1'
package/Package.swift CHANGED
@@ -3,7 +3,7 @@ import PackageDescription
3
3
 
4
4
  let package = Package(
5
5
  name: "CapacitorBarcodeScanner",
6
- platforms: [.iOS(.v14)],
6
+ platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
9
  name: "CapacitorBarcodeScanner",
@@ -1,8 +1,9 @@
1
1
  ext {
2
2
  junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
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'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
6
+ kotlinxCoroutinesVersion = project.hasProperty('kotlinxCoroutinesVersion') ? rootProject.ext.kotlinxCoroutinesVersion : '1.10.2'
6
7
  }
7
8
 
8
9
  buildscript {
@@ -25,10 +26,10 @@ apply plugin: 'kotlin-android'
25
26
 
26
27
  android {
27
28
  namespace = "com.capacitorjs.barcodescanner"
28
- compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
29
+ compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
29
30
  defaultConfig {
30
31
  minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 26
31
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
32
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
32
33
  versionCode 1
33
34
  versionName "1.0"
34
35
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -61,17 +62,17 @@ dependencies {
61
62
  implementation "io.ionic.libs:ionbarcode-android:2.0.1@aar"
62
63
  implementation project(':capacitor-android')
63
64
  implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
64
- implementation 'androidx.activity:activity-ktx:1.9.3'
65
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3'
66
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
67
- implementation 'com.google.zxing:core:3.4.1'
65
+ implementation 'androidx.activity:activity-ktx:1.11.0'
66
+ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:$kotlinxCoroutinesVersion"
67
+ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinxCoroutinesVersion"
68
+ implementation 'com.google.zxing:core:3.5.3'
68
69
  implementation 'com.google.mlkit:barcode-scanning:17.3.0'
69
- implementation 'androidx.camera:camera-camera2:1.4.0'
70
- implementation 'androidx.camera:camera-lifecycle:1.4.0'
71
- implementation 'androidx.camera:camera-view:1.4.0'
72
- implementation 'androidx.activity:activity-compose:1.9.3'
73
- implementation 'androidx.compose.material3:material3:1.3.1'
74
- implementation 'androidx.compose.material3:material3-window-size-class:1.3.1'
70
+ implementation 'androidx.camera:camera-camera2:1.5.1'
71
+ implementation 'androidx.camera:camera-lifecycle:1.5.1'
72
+ implementation 'androidx.camera:camera-view:1.5.1'
73
+ implementation 'androidx.activity:activity-compose:1.11.0'
74
+ implementation 'androidx.compose.material3:material3:1.4.0'
75
+ implementation 'androidx.compose.material3:material3-window-size-class:1.4.0'
75
76
  testImplementation "junit:junit:$junitVersion"
76
77
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
77
78
  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": "2.2.1-dev-20251126T092122.0",
3
+ "version": "2.2.1",
4
4
  "description": "Capacitor plugin using Outsystems Barcode libs",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -53,10 +53,10 @@
53
53
  "html5-qrcode": "2.3.8"
54
54
  },
55
55
  "devDependencies": {
56
- "@capacitor/android": "next",
57
- "@capacitor/core": "next",
56
+ "@capacitor/android": "^8.0.0",
57
+ "@capacitor/core": "^8.0.0",
58
58
  "@capacitor/docgen": "0.3.0",
59
- "@capacitor/ios": "next",
59
+ "@capacitor/ios": "^8.0.0",
60
60
  "@ionic/swiftlint-config": "^2.0.0",
61
61
  "@types/node": "^24.10.1",
62
62
  "@typescript-eslint/eslint-plugin": "^8.47.0",
@@ -71,7 +71,7 @@
71
71
  "typescript": "^5.9.3"
72
72
  },
73
73
  "peerDependencies": {
74
- "@capacitor/core": ">=8.0.0-beta.0"
74
+ "@capacitor/core": ">=8.0.0"
75
75
  },
76
76
  "swiftlint": "@ionic/swiftlint-config",
77
77
  "capacitor": {
@@ -82,5 +82,5 @@
82
82
  "src": "android"
83
83
  }
84
84
  },
85
- "gitHead": "253d2d5aea8071aa668cc4275c666328bc02c075"
85
+ "gitHead": "9af519ae8ff25e769b05dc265567c5695a196926"
86
86
  }