@capgo/capacitor-mute 7.3.7 → 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.
|
@@ -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
|
|
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.
|
|
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
|
|
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.
|
|
31
|
+
call.resolve(["version": self.pluginVersion])
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
}
|