@capgo/capacitor-alarm 7.3.8 → 7.3.9
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.
|
@@ -14,7 +14,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
|
|
|
14
14
|
@CapacitorPlugin(name = "CapgoAlarm")
|
|
15
15
|
public class CapgoAlarmPlugin extends Plugin {
|
|
16
16
|
|
|
17
|
-
private final String
|
|
17
|
+
private final String pluginVersion = "7.3.9";
|
|
18
18
|
|
|
19
19
|
// ===== Native OS Alarm helpers (Android) =====
|
|
20
20
|
@PluginMethod
|
|
@@ -111,7 +111,7 @@ public class CapgoAlarmPlugin extends Plugin {
|
|
|
111
111
|
public void getPluginVersion(final PluginCall call) {
|
|
112
112
|
try {
|
|
113
113
|
final JSObject ret = new JSObject();
|
|
114
|
-
ret.put("version", this.
|
|
114
|
+
ret.put("version", this.pluginVersion);
|
|
115
115
|
call.resolve(ret);
|
|
116
116
|
} catch (final Exception e) {
|
|
117
117
|
call.reject("Could not get plugin version", e);
|
|
@@ -7,7 +7,7 @@ import Capacitor
|
|
|
7
7
|
*/
|
|
8
8
|
@objc(CapgoAlarmPlugin)
|
|
9
9
|
public class CapgoAlarmPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
10
|
-
private let
|
|
10
|
+
private let pluginVersion: String = "7.3.9"
|
|
11
11
|
public let identifier = "CapgoAlarmPlugin"
|
|
12
12
|
public let jsName = "CapgoAlarm"
|
|
13
13
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -68,7 +68,7 @@ public class CapgoAlarmPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
68
68
|
// No data conversion helpers needed for native-only operations
|
|
69
69
|
|
|
70
70
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
71
|
-
call.resolve(["version": self.
|
|
71
|
+
call.resolve(["version": self.pluginVersion])
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
}
|