DEEPLINKX / app

Air Navigation Pro

Air Navigation Pro actions, setup, native platforms, and fallback options.

DeeplinkX 1.5.8 · Source

Platforms and setup

Native platforms: ios, android.

Public actions

AirNavigationPro.open

factory AirNavigationPro.open({final bool fallbackToStore = false})

Launch with DeeplinkX.launchApp. Native platforms: ios, android. Action web fallback: available. Store-fallback flag: supported; opt in explicitly.

ParameterTypeRequiredDefault
fallbackToStoreboolNofalse

Exact source

AirNavigationPro.view

static AirNavigationProViewAction view({ required final Coordinate coordinate, final bool fallbackToStore = false, })

Launch with DeeplinkX.launchAction. Native platforms: ios, android. Action web fallback: available. Store-fallback flag: supported; opt in explicitly.

ParameterTypeRequiredDefault
coordinateCoordinateYes—
fallbackToStoreboolNofalse

Exact source

AirNavigationPro.directTo

static AirNavigationProDirectToAction directTo({ required final Coordinate destination, final bool fallbackToStore = false, })

Launch with DeeplinkX.launchAction. Native platforms: ios, android. Action web fallback: available. Store-fallback flag: supported; opt in explicitly.

ParameterTypeRequiredDefault
destinationCoordinateYes—
fallbackToStoreboolNofalse

Exact source

AirNavigationPro.directionsWithCoords

static AirNavigationProDirectToAction directionsWithCoords({ required final Coordinate destination, final bool fallbackToStore = false, })

Launch with DeeplinkX.launchAction. Native platforms: ios, android. Action web fallback: available. Store-fallback flag: supported; opt in explicitly.

ParameterTypeRequiredDefault
destinationCoordinateYes—
fallbackToStoreboolNofalse

Exact source

Provider setup and examples

DeeplinkX supports Air Navigation Pro's iOS airnavpro URI scheme and Android package-targeted HTTPS direct-to links so Flutter apps can open a coordinate in Air Navigation Pro on iOS and Android.

Air Navigation Pro's map view action uses the documented direct-to URL, which is also exposed directly through AirNavigationPro.directTo.

References

Available Actions

Launch Air Navigation Pro

final deeplinkX = DeeplinkX();
await deeplinkX.launchApp(AirNavigationPro.open());

View Map

await deeplinkX.launchAction(
  AirNavigationPro.view(
    coordinate: const Coordinate(latitude: 46.2044, longitude: 6.1432),
  ),
);

Direct To

await deeplinkX.launchAction(
  AirNavigationPro.directTo(
    destination: const Coordinate(latitude: 46.2381, longitude: 6.1090),
  ),
);

Directions With Coordinates

await deeplinkX.launchAction(
  AirNavigationPro.directionsWithCoords(
    destination: const Coordinate(latitude: 46.2381, longitude: 6.1090),
  ),
);

Platform Configuration

iOS

Add the Air Navigation Pro scheme to the LSApplicationQueriesSchemes array in ios/Runner/Info.plist:

<string>airnavpro</string>

Android

Allow querying the package in android/app/src/main/AndroidManifest.xml:

<queries>
  <package android:name="com.xample.airnavigation" />
</queries>

URI Formats

  • iOS direct-to: airnavpro://direct-to?coordinates=wgs84-decimal&location={latitude}_{longitude},0.0
  • Android direct-to and web fallback: https://airnavigation.aero/direct-to?coordinates=wgs84-decimal&location={latitude}_{longitude},0.0

Fallback Behavior

  1. DeeplinkX opens the native app when installed.
  2. If the app is missing and fallbackToStore is true, we redirect to the appropriate store listing.
  3. Otherwise coordinate actions fall back to the matching https://airnavigation.aero/direct-to URL.
  4. Set disableFallback: true when calling launchAction to skip both store and web fallbacks.

Fallback Support Matrix

ActionStore FallbackWeb Fallback
Open appYesYes
View mapYesYes
Direct toYesYes
Directions with coordinatesYesYes