@capgo/capacitor-launch-navigator 7.1.4 → 7.1.6
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=
|
|
6
|
-
<h2><a href="https://capgo.app/consulting/?ref=
|
|
5
|
+
<h2><a href="https://capgo.app/?ref=plugin_launch_navigator"> ➡️ Get Instant updates for your App with Capgo</a></h2>
|
|
6
|
+
<h2><a href="https://capgo.app/consulting/?ref=plugin_launch_navigator"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
9
|
Capacitor plugin for launching navigation apps to navigate to a destination.
|
|
@@ -10,7 +10,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
|
|
|
10
10
|
@CapacitorPlugin(name = "LaunchNavigator")
|
|
11
11
|
public class LaunchNavigatorPlugin extends Plugin {
|
|
12
12
|
|
|
13
|
-
private final String
|
|
13
|
+
private final String pluginVersion = "7.1.6";
|
|
14
14
|
|
|
15
15
|
private LaunchNavigator implementation;
|
|
16
16
|
|
|
@@ -108,7 +108,7 @@ public class LaunchNavigatorPlugin extends Plugin {
|
|
|
108
108
|
public void getPluginVersion(final PluginCall call) {
|
|
109
109
|
try {
|
|
110
110
|
final JSObject ret = new JSObject();
|
|
111
|
-
ret.put("version", this.
|
|
111
|
+
ret.put("version", this.pluginVersion);
|
|
112
112
|
call.resolve(ret);
|
|
113
113
|
} catch (final Exception e) {
|
|
114
114
|
call.reject("Could not get plugin version", e);
|
|
@@ -9,7 +9,7 @@ import MapKit
|
|
|
9
9
|
*/
|
|
10
10
|
@objc(LaunchNavigatorPlugin)
|
|
11
11
|
public class LaunchNavigatorPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
12
|
-
private let
|
|
12
|
+
private let pluginVersion: String = "7.1.6"
|
|
13
13
|
public let identifier = "LaunchNavigatorPlugin"
|
|
14
14
|
public let jsName = "LaunchNavigator"
|
|
15
15
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -95,7 +95,7 @@ public class LaunchNavigatorPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
98
|
-
call.resolve(["version": self.
|
|
98
|
+
call.resolve(["version": self.pluginVersion])
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
}
|
package/package.json
CHANGED