@capgo/capacitor-mute 8.0.30 → 8.0.32
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
|
@@ -26,6 +26,20 @@ The most complete doc is available here: https://capgo.app/docs/plugins/mute/
|
|
|
26
26
|
|
|
27
27
|
## Install
|
|
28
28
|
|
|
29
|
+
You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Then use the following prompt:
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-mute` plugin in my project.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
|
|
42
|
+
|
|
29
43
|
```bash
|
|
30
44
|
npm install @capgo/capacitor-mute
|
|
31
45
|
npx cap sync
|
|
@@ -11,7 +11,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
|
|
|
11
11
|
@CapacitorPlugin(name = "Mute")
|
|
12
12
|
public class MutePlugin extends Plugin {
|
|
13
13
|
|
|
14
|
-
private final String pluginVersion = "8.0.
|
|
14
|
+
private final String pluginVersion = "8.0.32";
|
|
15
15
|
|
|
16
16
|
@PluginMethod
|
|
17
17
|
public void isMuted(PluginCall call) {
|
|
@@ -7,7 +7,7 @@ import Capacitor
|
|
|
7
7
|
*/
|
|
8
8
|
@objc(MutePlugin)
|
|
9
9
|
public class MutePlugin: CAPPlugin, CAPBridgedPlugin {
|
|
10
|
-
private let pluginVersion: String = "8.0.
|
|
10
|
+
private let pluginVersion: String = "8.0.32"
|
|
11
11
|
public let identifier = "MutePlugin"
|
|
12
12
|
public let jsName = "Mute"
|
|
13
13
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-mute",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.32",
|
|
4
4
|
"description": "Detect if the mute switch is enabled/disabled on a device",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -53,7 +53,10 @@
|
|
|
53
53
|
"clean": "rimraf ./dist",
|
|
54
54
|
"watch": "tsc --watch",
|
|
55
55
|
"prepublishOnly": "npm run build",
|
|
56
|
-
"check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs"
|
|
56
|
+
"check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
|
|
57
|
+
"example:install": "cd example-app && bun install --frozen-lockfile",
|
|
58
|
+
"example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
|
|
59
|
+
"example:capgo:deploy": "bun run example:build && bun scripts/deploy-example-capgo.mjs"
|
|
57
60
|
},
|
|
58
61
|
"devDependencies": {
|
|
59
62
|
"@capacitor/android": "^8.0.0",
|