@capgo/camera-preview 8.0.10 → 8.0.12
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/README.md
CHANGED
|
@@ -1317,3 +1317,14 @@ Reusable exposure mode type for cross-platform support.
|
|
|
1317
1317
|
| **`TRIPLE`** | <code>'triple'</code> |
|
|
1318
1318
|
|
|
1319
1319
|
</docgen-api>
|
|
1320
|
+
|
|
1321
|
+
## Compatibility
|
|
1322
|
+
|
|
1323
|
+
| Plugin version | Capacitor compatibility | Maintained |
|
|
1324
|
+
| -------------- | ----------------------- | ---------- |
|
|
1325
|
+
| v8.\*.\* | v8.\*.\* | ✅ |
|
|
1326
|
+
| v7.\*.\* | v7.\*.\* | On demand |
|
|
1327
|
+
| v6.\*.\* | v6.\*.\* | ❌ |
|
|
1328
|
+
| v5.\*.\* | v5.\*.\* | ❌ |
|
|
1329
|
+
|
|
1330
|
+
> **Note:** The major version of this plugin follows the major version of Capacitor. Use the version that matches your Capacitor installation (e.g., plugin v8 for Capacitor 8). Only the latest major version is actively maintained.
|
package/android/build.gradle
CHANGED
|
@@ -55,7 +55,7 @@ dependencies {
|
|
|
55
55
|
implementation 'org.apache.commons:commons-imaging:1.0.0-alpha6'
|
|
56
56
|
|
|
57
57
|
// CameraX dependencies
|
|
58
|
-
def camerax_version = "1.5.
|
|
58
|
+
def camerax_version = "1.5.3"
|
|
59
59
|
implementation "androidx.camera:camera-core:${camerax_version}"
|
|
60
60
|
implementation "androidx.camera:camera-camera2:${camerax_version}"
|
|
61
61
|
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
|
|
@@ -34,7 +34,7 @@ extension UIWindow {
|
|
|
34
34
|
*/
|
|
35
35
|
@objc(CameraPreview)
|
|
36
36
|
public class CameraPreview: CAPPlugin, CAPBridgedPlugin, CLLocationManagerDelegate {
|
|
37
|
-
private let pluginVersion: String = "8.0.
|
|
37
|
+
private let pluginVersion: String = "8.0.12"
|
|
38
38
|
public let identifier = "CameraPreviewPlugin"
|
|
39
39
|
public let jsName = "CameraPreview"
|
|
40
40
|
public let pluginMethods: [CAPPluginMethod] = [
|