@capgo/capacitor-mute 7.3.5 → 7.3.8

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,8 +2,8 @@
2
2
  <a href="https://capgo.app/"><img src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/></a>
3
3
 
4
4
  <div align="center">
5
- <h2><a href="https://capgo.app/?ref=plugin"> ➡️ Get Instant updates for your App with Capgo</a></h2>
6
- <h2><a href="https://capgo.app/consulting/?ref=plugin"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
5
+ <h2><a href="https://capgo.app/?ref=plugin_mute"> ➡️ Get Instant updates for your App with Capgo</a></h2>
6
+ <h2><a href="https://capgo.app/consulting/?ref=plugin_mute"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
7
7
  </div>
8
8
 
9
9
 
@@ -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 PLUGIN_VERSION = "7.3.5";
14
+ private final String pluginVersion = "7.3.8";
15
15
 
16
16
  @PluginMethod
17
17
  public void isMuted(PluginCall call) {
@@ -29,7 +29,7 @@ public class MutePlugin extends Plugin {
29
29
  public void getPluginVersion(final PluginCall call) {
30
30
  try {
31
31
  final JSObject ret = new JSObject();
32
- ret.put("version", this.PLUGIN_VERSION);
32
+ ret.put("version", this.pluginVersion);
33
33
  call.resolve(ret);
34
34
  } catch (final Exception e) {
35
35
  call.reject("Could not get plugin version", e);
@@ -7,7 +7,7 @@ import Capacitor
7
7
  */
8
8
  @objc(MutePlugin)
9
9
  public class MutePlugin: CAPPlugin, CAPBridgedPlugin {
10
- private let PLUGIN_VERSION: String = "7.3.5"
10
+ private let pluginVersion: String = "7.3.8"
11
11
  public let identifier = "MutePlugin"
12
12
  public let jsName = "Mute"
13
13
  public let pluginMethods: [CAPPluginMethod] = [
@@ -28,7 +28,7 @@ public class MutePlugin: CAPPlugin, CAPBridgedPlugin {
28
28
  }
29
29
 
30
30
  @objc func getPluginVersion(_ call: CAPPluginCall) {
31
- call.resolve(["version": self.PLUGIN_VERSION])
31
+ call.resolve(["version": self.pluginVersion])
32
32
  }
33
33
 
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-mute",
3
- "version": "7.3.5",
3
+ "version": "7.3.8",
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",
@@ -28,7 +28,14 @@
28
28
  "capacitor",
29
29
  "plugin",
30
30
  "native",
31
- "mute"
31
+ "mute",
32
+ "silent",
33
+ "silence",
34
+ "ringer",
35
+ "audio",
36
+ "sound",
37
+ "volume",
38
+ "ios"
32
39
  ],
33
40
  "scripts": {
34
41
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",