@capgo/capacitor-flash 8.0.46 โ 8.0.47
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Turn the device flashlight on and off from your Capacitor app, with brightness control where the hardware allows it.
|
|
4
4
|
|
|
5
|
-
<a href="https://capgo.app/?ref=plugin_flash"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-flash" alt="Capgo -
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_flash"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-flash" alt="Capgo - Build Capacitor apps with AI, ship updates instantly" /></a>
|
|
6
6
|
|
|
7
7
|
<div align="center">
|
|
8
8
|
<p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
|
|
@@ -11,6 +11,8 @@ Turn the device flashlight on and off from your Capacitor app, with brightness c
|
|
|
11
11
|
<p><a href="https://capgo.app/consulting/?ref=plugin_flash">Missing a feature? We'll build the plugin for you ๐ช</a></p>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
|
+
> ๐ค **Building with an AI coding agent?** Install [Capgo skills](https://capgo.app/skills/?ref=plugin_flash) so Claude Code, Codex, Cursor, Copilot, or Gemini CLI know how to install and use `@capgo/capacitor-flash` in your Capacitor app: `npx skills add Cap-go/capgo-skills`. Then ask your agent: *"Add @capgo/capacitor-flash to my Capacitor app and wire it up."* [Agent setup guides](https://capgo.app/agents/?ref=plugin_flash) ยท [Hosted MCP](https://capgo.app/docs/ai/mcp/?ref=plugin_flash)
|
|
15
|
+
|
|
14
16
|
<p align="center">
|
|
15
17
|
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-flash/main/assets/github-social-preview.png" alt="@capgo/capacitor-flash for Capacitor apps" width="300" />
|
|
16
18
|
</p>
|
|
@@ -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.
|
|
18
|
+
private final String pluginVersion = "8.0.47";
|
|
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
|
+
private let pluginVersion: String = "8.0.47"
|
|
11
11
|
public let identifier = "CapacitorFlashPlugin"
|
|
12
12
|
public let jsName = "CapacitorFlash"
|
|
13
13
|
public let pluginMethods: [CAPPluginMethod] = [
|