@capgo/capacitor-flash 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/Package.swift CHANGED
@@ -10,7 +10,7 @@ let package = Package(
10
10
  targets: ["CapacitorFlashPlugin"])
11
11
  ],
12
12
  dependencies: [
13
- .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.1")
13
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0")
14
14
  ],
15
15
  targets: [
16
16
  .target(
package/README.md CHANGED
@@ -24,6 +24,17 @@ Perfect for QR scanner apps, emergency torch features, camera apps, and utility
24
24
 
25
25
  The most complete doc is available here: https://capgo.app/docs/plugins/flash/
26
26
 
27
+ ## Compatibility
28
+
29
+ | Plugin version | Capacitor compatibility | Maintained |
30
+ | -------------- | ----------------------- | ---------- |
31
+ | v8.\*.\* | v8.\*.\* | ✅ |
32
+ | v7.\*.\* | v7.\*.\* | On demand |
33
+ | v6.\*.\* | v6.\*.\* | ❌ |
34
+ | v5.\*.\* | v5.\*.\* | ❌ |
35
+
36
+ > **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.
37
+
27
38
  ## Install
28
39
 
29
40
  ```bash
@@ -15,7 +15,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
15
15
  @CapacitorPlugin(name = "CapacitorFlash")
16
16
  public class CapacitorFlashPlugin extends Plugin {
17
17
 
18
- private final String pluginVersion = "8.0.10";
18
+ private final String pluginVersion = "8.0.12";
19
19
 
20
20
  private String cameraId;
21
21
  boolean isFlashStateOn = false;
@@ -7,7 +7,7 @@ import Capacitor
7
7
  */
8
8
  @objc(CapacitorFlashPlugin)
9
9
  public class CapacitorFlashPlugin: CAPPlugin, CAPBridgedPlugin {
10
- private let pluginVersion: String = "8.0.10"
10
+ private let pluginVersion: String = "8.0.12"
11
11
  public let identifier = "CapacitorFlashPlugin"
12
12
  public let jsName = "CapacitorFlash"
13
13
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-flash",
3
- "version": "8.0.10",
3
+ "version": "8.0.12",
4
4
  "description": "Switch the Flashlight / Torch of your device.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",