@capacitor/camera 8.2.1 → 8.2.2-next.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/CapacitorCamera.podspec +2 -2
- package/Package.swift +3 -4
- package/README.md +2 -2
- package/android/build.gradle +8 -11
- package/package.json +7 -7
package/CapacitorCamera.podspec
CHANGED
|
@@ -11,8 +11,8 @@ 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 = '
|
|
14
|
+
s.ios.deployment_target = '16.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
|
-
s.dependency 'IONCameraLib', spec='~> 1.0.
|
|
16
|
+
s.dependency 'IONCameraLib', spec='~> 1.0.5'
|
|
17
17
|
s.swift_version = '5.1'
|
|
18
18
|
end
|
package/Package.swift
CHANGED
|
@@ -3,22 +3,21 @@ import PackageDescription
|
|
|
3
3
|
|
|
4
4
|
let package = Package(
|
|
5
5
|
name: "CapacitorCamera",
|
|
6
|
-
platforms: [.iOS(.
|
|
6
|
+
platforms: [.iOS(.v16)],
|
|
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: "
|
|
14
|
-
.package(url: "https://github.com/ionic-team/ion-ios-camera.git", from: "1.0.
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "9.0.0-alpha.5"),
|
|
14
|
+
.package(url: "https://github.com/ionic-team/ion-ios-camera.git", from: "1.0.5")
|
|
15
15
|
],
|
|
16
16
|
targets: [
|
|
17
17
|
.target(
|
|
18
18
|
name: "CameraPlugin",
|
|
19
19
|
dependencies: [
|
|
20
20
|
.product(name: "Capacitor", package: "capacitor-swift-pm"),
|
|
21
|
-
.product(name: "Cordova", package: "capacitor-swift-pm"),
|
|
22
21
|
.product(name: "IONCameraLib", package: "ion-ios-camera")
|
|
23
22
|
],
|
|
24
23
|
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.
|
|
72
|
-
- `androidxMaterialVersion`: version of `com.google.android.material:material` (default: `1.
|
|
71
|
+
- `androidxExifInterfaceVersion`: version of `androidx.exifinterface:exifinterface` (default: `1.4.2`)
|
|
72
|
+
- `androidxMaterialVersion`: version of `com.google.android.material:material` (default: `1.14.0`)
|
|
73
73
|
|
|
74
74
|
## PWA Notes
|
|
75
75
|
|
package/android/build.gradle
CHANGED
|
@@ -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'
|
|
5
6
|
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
|
|
6
|
-
androidxExifInterfaceVersion = project.hasProperty('androidxExifInterfaceVersion') ? rootProject.ext.androidxExifInterfaceVersion : '1.4.
|
|
7
|
+
androidxExifInterfaceVersion = project.hasProperty('androidxExifInterfaceVersion') ? rootProject.ext.androidxExifInterfaceVersion : '1.4.2'
|
|
7
8
|
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
|
|
8
|
-
androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.
|
|
9
|
+
androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.14.0'
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
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,8 +18,7 @@ buildscript {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
dependencies {
|
|
21
|
-
classpath 'com.android.tools.build:gradle:
|
|
22
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
21
|
+
classpath 'com.android.tools.build:gradle:9.2.1'
|
|
23
22
|
if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
|
|
24
23
|
classpath 'io.github.gradle-nexus:publish-plugin:1.3.0'
|
|
25
24
|
}
|
|
@@ -27,7 +26,6 @@ buildscript {
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
apply plugin: 'com.android.library'
|
|
30
|
-
apply plugin: 'kotlin-android'
|
|
31
29
|
if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
|
|
32
30
|
apply plugin: 'io.github.gradle-nexus.publish-plugin'
|
|
33
31
|
apply from: file('../scripts/android/publish-root.gradle')
|
|
@@ -36,10 +34,9 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
|
|
|
36
34
|
|
|
37
35
|
android {
|
|
38
36
|
namespace = "com.capacitorjs.plugins.camera"
|
|
39
|
-
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
37
|
+
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 37
|
|
40
38
|
defaultConfig {
|
|
41
|
-
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion :
|
|
42
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
|
|
39
|
+
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 26
|
|
43
40
|
versionCode 1
|
|
44
41
|
versionName "1.0"
|
|
45
42
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
@@ -86,9 +83,9 @@ dependencies {
|
|
|
86
83
|
implementation "androidx.exifinterface:exifinterface:$androidxExifInterfaceVersion"
|
|
87
84
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
88
85
|
implementation "com.google.android.material:material:$androidxMaterialVersion"
|
|
89
|
-
implementation
|
|
86
|
+
implementation "androidx.core:core:$androidxCoreVersion"
|
|
90
87
|
testImplementation "junit:junit:$junitVersion"
|
|
91
88
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
92
89
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
93
|
-
implementation 'com.google.code.gson:gson:2.
|
|
90
|
+
implementation 'com.google.code.gson:gson:2.14.0'
|
|
94
91
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/camera",
|
|
3
|
-
"version": "8.2.1",
|
|
3
|
+
"version": "8.2.2-next.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": "
|
|
51
|
-
"@capacitor/core": "
|
|
50
|
+
"@capacitor/android": "next",
|
|
51
|
+
"@capacitor/core": "next",
|
|
52
52
|
"@capacitor/docgen": "0.3.0",
|
|
53
|
-
"@capacitor/ios": "
|
|
53
|
+
"@capacitor/ios": "next",
|
|
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.
|
|
62
|
-
"rollup": "^4.53.
|
|
61
|
+
"rimraf": "^6.1.2",
|
|
62
|
+
"rollup": "^4.53.3",
|
|
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": ">=
|
|
73
|
+
"@capacitor/core": ">=9.0.0-alpha.5"
|
|
74
74
|
},
|
|
75
75
|
"prettier": "@ionic/prettier-config",
|
|
76
76
|
"swiftlint": "@ionic/swiftlint-config",
|