@capacitor/camera 8.2.2-next.1 → 8.2.3-dev.10aug2026.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 => 'https://github.com/ionic-team/capacitor-camera.git', :tag => "v#{s.version}" }
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}',
14
- s.ios.deployment_target = '16.0'
14
+ s.ios.deployment_target = '15.0'
15
15
  s.dependency 'Capacitor'
16
16
  s.dependency 'IONCameraLib', spec='~> 1.0.5'
17
17
  s.swift_version = '5.1'
package/Package.swift CHANGED
@@ -3,14 +3,14 @@ import PackageDescription
3
3
 
4
4
  let package = Package(
5
5
  name: "CapacitorCamera",
6
- platforms: [.iOS(.v16)],
6
+ platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
9
  name: "CapacitorCamera",
10
10
  targets: ["CameraPlugin"])
11
11
  ],
12
12
  dependencies: [
13
- .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "9.0.0-alpha.5"),
13
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
14
14
  .package(url: "https://github.com/ionic-team/ion-ios-camera.git", from: "1.0.5")
15
15
  ],
16
16
  targets: [
@@ -18,6 +18,7 @@ let package = Package(
18
18
  name: "CameraPlugin",
19
19
  dependencies: [
20
20
  .product(name: "Capacitor", package: "capacitor-swift-pm"),
21
+ .product(name: "Cordova", package: "capacitor-swift-pm"),
21
22
  .product(name: "IONCameraLib", package: "ion-ios-camera")
22
23
  ],
23
24
  path: "ios/Sources/CameraPlugin"),
package/README.md CHANGED
@@ -68,8 +68,8 @@ Additionally, because the Camera API launches a separate Activity to handle taki
68
68
 
69
69
  This plugin will use the following project variables (defined in your app's `variables.gradle` file):
70
70
 
71
- - `androidxExifInterfaceVersion`: version of `androidx.exifinterface:exifinterface` (default: `1.4.2`)
72
- - `androidxMaterialVersion`: version of `com.google.android.material:material` (default: `1.14.0`)
71
+ - `androidxExifInterfaceVersion`: version of `androidx.exifinterface:exifinterface` (default: `1.4.1`)
72
+ - `androidxMaterialVersion`: version of `com.google.android.material:material` (default: `1.13.0`)
73
73
 
74
74
  ## PWA Notes
75
75
 
@@ -2,14 +2,14 @@ ext {
2
2
  capacitorVersion = System.getenv('CAPACITOR_VERSION')
3
3
  junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
4
4
  androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
5
- androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.19.0'
6
5
  androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
7
- androidxExifInterfaceVersion = project.hasProperty('androidxExifInterfaceVersion') ? rootProject.ext.androidxExifInterfaceVersion : '1.4.2'
6
+ androidxExifInterfaceVersion = project.hasProperty('androidxExifInterfaceVersion') ? rootProject.ext.androidxExifInterfaceVersion : '1.4.1'
8
7
  androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
9
- androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.14.0'
8
+ androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.13.0'
10
9
  }
11
10
 
12
11
  buildscript {
12
+ ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '2.2.20'
13
13
  repositories {
14
14
  google()
15
15
  mavenCentral()
@@ -18,7 +18,8 @@ buildscript {
18
18
  }
19
19
  }
20
20
  dependencies {
21
- classpath 'com.android.tools.build:gradle:9.2.1'
21
+ classpath 'com.android.tools.build:gradle:8.13.0'
22
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
22
23
  if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
23
24
  classpath 'io.github.gradle-nexus:publish-plugin:1.3.0'
24
25
  }
@@ -26,6 +27,9 @@ buildscript {
26
27
  }
27
28
 
28
29
  apply plugin: 'com.android.library'
30
+ if (project.extensions.findByName('kotlin') == null) {
31
+ apply plugin: 'kotlin-android'
32
+ }
29
33
  if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
30
34
  apply plugin: 'io.github.gradle-nexus.publish-plugin'
31
35
  apply from: file('../scripts/android/publish-root.gradle')
@@ -34,9 +38,10 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
34
38
 
35
39
  android {
36
40
  namespace = "com.capacitorjs.plugins.camera"
37
- compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 37
41
+ compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
38
42
  defaultConfig {
39
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 26
43
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
44
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
40
45
  versionCode 1
41
46
  versionName "1.0"
42
47
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -83,9 +88,9 @@ dependencies {
83
88
  implementation "androidx.exifinterface:exifinterface:$androidxExifInterfaceVersion"
84
89
  implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
85
90
  implementation "com.google.android.material:material:$androidxMaterialVersion"
86
- implementation "androidx.core:core:$androidxCoreVersion"
91
+ implementation 'androidx.core:core-ktx:1.17.0'
87
92
  testImplementation "junit:junit:$junitVersion"
88
93
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
89
94
  androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
90
- implementation 'com.google.code.gson:gson:2.14.0'
95
+ implementation 'com.google.code.gson:gson:2.10.1'
91
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/camera",
3
- "version": "8.2.2-next.1",
3
+ "version": "8.2.3-dev.10aug2026.1",
4
4
  "description": "The Camera API provides the ability to take a photo with the camera or choose an existing one from the photo album.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -47,10 +47,10 @@
47
47
  "publish:cocoapod": "pod trunk push ./CapacitorCamera.podspec --allow-warnings"
48
48
  },
49
49
  "devDependencies": {
50
- "@capacitor/android": "next",
51
- "@capacitor/core": "next",
50
+ "@capacitor/android": "^8.0.0",
51
+ "@capacitor/core": "^8.0.0",
52
52
  "@capacitor/docgen": "0.3.0",
53
- "@capacitor/ios": "next",
53
+ "@capacitor/ios": "^8.0.0",
54
54
  "@ionic/eslint-config": "^0.4.0",
55
55
  "@ionic/prettier-config": "^4.0.0",
56
56
  "@ionic/swiftlint-config": "^2.0.0",
@@ -58,8 +58,8 @@
58
58
  "eslint": "^8.57.1",
59
59
  "prettier": "^3.6.2",
60
60
  "prettier-plugin-java": "^2.7.7",
61
- "rimraf": "^6.1.2",
62
- "rollup": "^4.53.3",
61
+ "rimraf": "^6.1.0",
62
+ "rollup": "^4.53.2",
63
63
  "swiftlint": "^2.0.0",
64
64
  "typescript": "^5.9.3",
65
65
  "@semantic-release/changelog": "^6.0.3",
@@ -70,7 +70,7 @@
70
70
  "semantic-release": "^25.0.2"
71
71
  },
72
72
  "peerDependencies": {
73
- "@capacitor/core": ">=9.0.0-alpha.5"
73
+ "@capacitor/core": ">=8.0.0"
74
74
  },
75
75
  "prettier": "@ionic/prettier-config",
76
76
  "swiftlint": "@ionic/swiftlint-config",