capacitor-plugin-camera-forked 3.1.132 → 3.1.133

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/LICENSE CHANGED
File without changes
@@ -19,23 +19,38 @@ apply plugin: 'com.android.library'
19
19
 
20
20
  android {
21
21
  namespace "com.tonyxlh.capacitor.camera"
22
- compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
22
+
23
+ compileSdk project.hasProperty('compileSdkVersion')
24
+ ? rootProject.ext.compileSdkVersion
25
+ : 34
26
+
23
27
  defaultConfig {
24
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
25
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
28
+ minSdkVersion project.hasProperty('minSdkVersion')
29
+ ? rootProject.ext.minSdkVersion
30
+ : 22
31
+ targetSdkVersion project.hasProperty('targetSdkVersion')
32
+ ? rootProject.ext.targetSdkVersion
33
+ : 34
34
+
26
35
  versionCode 1
27
36
  versionName "1.0"
37
+
28
38
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
29
39
  }
40
+
30
41
  buildTypes {
31
42
  release {
32
43
  minifyEnabled false
33
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
44
+ proguardFiles getDefaultProguardFile(
45
+ 'proguard-android.txt'
46
+ ), 'proguard-rules.pro'
34
47
  }
35
48
  }
49
+
36
50
  lintOptions {
37
51
  abortOnError false
38
52
  }
53
+
39
54
  compileOptions {
40
55
  sourceCompatibility JavaVersion.VERSION_17
41
56
  targetCompatibility JavaVersion.VERSION_17
@@ -47,42 +62,32 @@ repositories {
47
62
  mavenCentral()
48
63
  }
49
64
 
50
- /**
51
- * Prevent old CameraX (1.1.0) from being pulled transitively
52
- */
53
- configurations.all {
54
- resolutionStrategy {
55
- force "androidx.camera:camera-core:1.3.3"
56
- force "androidx.camera:camera-camera2:1.3.3"
57
- force "androidx.camera:camera-lifecycle:1.3.3"
58
- force "androidx.camera:camera-view:1.3.3"
59
- force "androidx.camera:camera-video:1.3.3"
60
- }
61
- }
62
-
63
65
  dependencies {
64
66
  implementation fileTree(dir: 'libs', include: ['*.jar'])
67
+
65
68
  implementation project(':capacitor-android')
66
69
  implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
70
+
67
71
  testImplementation "junit:junit:$junitVersion"
68
72
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
69
73
  androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
70
74
 
71
75
  /**
72
- * CameraX — 16 KB page size compatible
73
- * Uses BOM to keep all artifacts aligned
76
+ * CameraX — stable, real versions (NO BOM)
77
+ * 16 KB page size compatible
74
78
  */
75
- implementation platform("androidx.camera:camera-bom:1.3.3")
76
- implementation "androidx.camera:camera-core"
77
- implementation "androidx.camera:camera-camera2"
78
- implementation "androidx.camera:camera-lifecycle"
79
- implementation "androidx.camera:camera-view"
80
- implementation "androidx.camera:camera-video"
79
+ def camerax_version = "1.3.1"
80
+
81
+ implementation "androidx.camera:camera-core:$camerax_version"
82
+ implementation "androidx.camera:camera-camera2:$camerax_version"
83
+ implementation "androidx.camera:camera-lifecycle:$camerax_version"
84
+ implementation "androidx.camera:camera-view:$camerax_version"
85
+ implementation "androidx.camera:camera-video:$camerax_version"
81
86
 
82
87
  /**
83
- * TensorFlow Lite (already OK for 16 KB)
88
+ * TensorFlow Lite already 16 KB compatible
84
89
  */
85
90
  implementation 'org.tensorflow:tensorflow-lite:2.14.0'
86
91
  implementation 'org.tensorflow:tensorflow-lite-support:0.4.4'
87
92
  implementation 'org.tensorflow:tensorflow-lite-gpu:2.14.0'
88
- }
93
+ }
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-plugin-camera-forked",
3
- "version": "3.1.132",
3
+ "version": "3.1.133",
4
4
  "description": "A capacitor camera plugin - A custom Capacitor camera plugin with additional features.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",