@capgo/capacitor-home-indicator 7.1.17 → 7.1.19
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.
|
@@ -16,7 +16,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
|
|
|
16
16
|
@CapacitorPlugin(name = "HomeIndicator")
|
|
17
17
|
public class HomeIndicatorPlugin extends Plugin {
|
|
18
18
|
|
|
19
|
-
public final String
|
|
19
|
+
public final String pluginVersion = "7.1.15";
|
|
20
20
|
private OrientationEventListener orientationEventListener;
|
|
21
21
|
private int previousOrientation = Configuration.ORIENTATION_UNDEFINED;
|
|
22
22
|
|
|
@@ -72,7 +72,7 @@ public class HomeIndicatorPlugin extends Plugin {
|
|
|
72
72
|
public void getPluginVersion(final PluginCall call) {
|
|
73
73
|
try {
|
|
74
74
|
final JSObject ret = new JSObject();
|
|
75
|
-
ret.put("version", this.
|
|
75
|
+
ret.put("version", this.pluginVersion);
|
|
76
76
|
call.resolve(ret);
|
|
77
77
|
} catch (final Exception e) {
|
|
78
78
|
call.reject("Could not get plugin version", e);
|
|
@@ -35,10 +35,10 @@ public class CapgoHomeIndicatorPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
35
35
|
CAPPluginMethod(name: "getPluginVersion", returnType: CAPPluginReturnPromise)
|
|
36
36
|
]
|
|
37
37
|
|
|
38
|
-
private let
|
|
38
|
+
private let pluginVersion: String = "7.1.19"
|
|
39
39
|
|
|
40
40
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
41
|
-
call.resolve(["version": self.
|
|
41
|
+
call.resolve(["version": self.pluginVersion])
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
@objc func hide(_ call: CAPPluginCall) {
|