@capgo/capacitor-launch-navigator
Overview
Section titled “Overview”@capgo/capacitor-launch-navigator deep links into installed navigation apps with latitude and longitude (no street address strings). Pair with @capgo/capacitor-nativegeocoder when users type addresses. Build your own app picker with getAvailableApps() and cached icons.
Platform support
Section titled “Platform support”| Platform | Behavior |
|---|---|
| iOS | MapKit and third party map apps |
| Android | Intents to installed navigators |
| Web | Opens a maps URL in the browser |
Core Capabilities
Section titled “Core Capabilities”navigate- Navigate to a location using latitude and longitude.isAppAvailable- Check if a specific navigation app is available.getAvailableApps- Get list of available navigation apps on the device.getSupportedApps- Get list of supported apps for the current platform.
Public API
Section titled “Public API”| Method | Description |
|---|---|
navigate | Navigate to a location using latitude and longitude. |
isAppAvailable | Check if a specific navigation app is available. |
getAvailableApps | Get list of available navigation apps on the device. |
getSupportedApps | Get list of supported apps for the current platform. |
getDefaultApp | Get the name of the default app for navigation. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-launch-navigator.
Keep going from @capgo/capacitor-launch-navigator
Section titled “Keep going from @capgo/capacitor-launch-navigator”If you are using @capgo/capacitor-launch-navigator to plan native media and interface behavior, connect it with Using @capgo/capacitor-launch-navigator for the native capability in Using @capgo/capacitor-launch-navigator, Using @capgo/capacitor-live-activities for the native capability in Using @capgo/capacitor-live-activities, @capgo/capacitor-live-activities for the implementation detail in @capgo/capacitor-live-activities, Using @capgo/capacitor-video-player for the native capability in Using @capgo/capacitor-video-player, and @capgo/capacitor-video-player for the implementation detail in @capgo/capacitor-video-player.