@capgo/capacitor-launch-navigator 8.0.6 → 8.0.7

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
@@ -59,6 +59,43 @@ Add URL schemes to your `Info.plist` to detect installed navigation apps:
59
59
  </array>
60
60
  ```
61
61
 
62
+ ## Android Setup
63
+
64
+ **No additional setup required!** The plugin automatically handles Android 11+ (API level 30+) package visibility and is fully backward compatible with earlier Android versions.
65
+
66
+ The plugin's manifest includes `<queries>` declarations for all supported navigation apps, which are automatically merged into your app's manifest during the build process. On Android 10 and below, the `<queries>` element is safely ignored.
67
+
68
+ <details>
69
+ <summary>For reference: Package queries included in the plugin</summary>
70
+
71
+ The following navigation apps are declared in the plugin's manifest:
72
+
73
+ ```xml
74
+ <queries>
75
+ <package android:name="com.google.android.apps.maps" />
76
+ <package android:name="com.waze" />
77
+ <package android:name="com.citymapper.app.release" />
78
+ <package android:name="com.ubercab" />
79
+ <package android:name="ru.yandex.yandexnavi" />
80
+ <package android:name="com.sygic.aura" />
81
+ <package android:name="com.here.app.maps" />
82
+ <package android:name="com.tranzmate" />
83
+ <package android:name="me.lyft.android" />
84
+ <package android:name="com.mapswithme.maps.pro" />
85
+ <package android:name="com.cabify.rider" />
86
+ <package android:name="com.baidu.BaiduMap" />
87
+ <package android:name="com.autonavi.minimap" />
88
+ </queries>
89
+ ```
90
+
91
+ **Compatibility:**
92
+ - **Android 11+ (API 30+):** Queries are required and enforced for package visibility
93
+ - **Android 10 and below (API 29-):** Queries element is ignored; app detection works without restrictions
94
+
95
+ This ensures the plugin works correctly across all Android versions from API 24+ without any code changes.
96
+
97
+ </details>
98
+
62
99
  ## Usage
63
100
 
64
101
  ```typescript
@@ -1,2 +1,17 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <queries>
3
+ <package android:name="com.google.android.apps.maps" />
4
+ <package android:name="com.waze" />
5
+ <package android:name="com.citymapper.app.release" />
6
+ <package android:name="com.ubercab" />
7
+ <package android:name="ru.yandex.yandexnavi" />
8
+ <package android:name="com.sygic.aura" />
9
+ <package android:name="com.here.app.maps" />
10
+ <package android:name="com.tranzmate" />
11
+ <package android:name="me.lyft.android" />
12
+ <package android:name="com.mapswithme.maps.pro" />
13
+ <package android:name="com.cabify.rider" />
14
+ <package android:name="com.baidu.BaiduMap" />
15
+ <package android:name="com.autonavi.minimap" />
16
+ </queries>
2
17
  </manifest>
@@ -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 pluginVersion = "8.0.6";
13
+ private final String pluginVersion = "8.0.7";
14
14
 
15
15
  private LaunchNavigator implementation;
16
16
 
@@ -9,7 +9,7 @@ import MapKit
9
9
  */
10
10
  @objc(LaunchNavigatorPlugin)
11
11
  public class LaunchNavigatorPlugin: CAPPlugin, CAPBridgedPlugin {
12
- private let pluginVersion: String = "8.0.6"
12
+ private let pluginVersion: String = "8.0.7"
13
13
  public let identifier = "LaunchNavigatorPlugin"
14
14
  public let jsName = "LaunchNavigator"
15
15
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-launch-navigator",
3
- "version": "8.0.6",
3
+ "version": "8.0.7",
4
4
  "description": "Capacitor plugin which launches native route navigation apps for Android, iOS",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",