@capgo/capacitor-brightness
Advanced tools
@@ -17,3 +17,3 @@ package app.capgo.capacitor.brightness; | ||
| private final String pluginVersion = "8.0.13"; | ||
| private final String pluginVersion = "8.0.15"; | ||
| private float savedBrightness = -1f; | ||
@@ -20,0 +20,0 @@ |
@@ -6,3 +6,3 @@ import Capacitor | ||
| public class CapgoBrightnessPlugin: CAPPlugin, CAPBridgedPlugin { | ||
| private let pluginVersion: String = "8.0.13" | ||
| private let pluginVersion: String = "8.0.15" | ||
@@ -9,0 +9,0 @@ public let identifier = "CapgoBrightnessPlugin" |
+6
-3
| { | ||
| "name": "@capgo/capacitor-brightness", | ||
| "version": "8.0.13", | ||
| "version": "8.0.15", | ||
| "description": "Control screen brightness on iOS and Android", | ||
@@ -49,4 +49,7 @@ "main": "dist/plugin.cjs.js", | ||
| "watch": "tsc --watch", | ||
| "prepublishOnly": "npm run build", | ||
| "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs" | ||
| "prepublishOnly": "bun run build", | ||
| "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs", | ||
| "example:install": "cd example-app && bun install --frozen-lockfile", | ||
| "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build", | ||
| "example:capgo:deploy": "bun run example:build && bun scripts/deploy-example-capgo.mjs" | ||
| }, | ||
@@ -53,0 +56,0 @@ "devDependencies": { |
+14
-0
@@ -40,3 +40,17 @@ # @capgo/capacitor-brightness | ||
| You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command: | ||
| ```bash | ||
| npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins | ||
| ``` | ||
| Then use the following prompt: | ||
| ```text | ||
| Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-brightness` plugin in my project. | ||
| ``` | ||
| If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below: | ||
| ```bash | ||
| npm install @capgo/capacitor-brightness | ||
@@ -43,0 +57,0 @@ npx cap sync |
97795
0.83%386
3.76%