DEEPLINKX / app

Sygic

Sygic actions, setup, native platforms, and fallback options.

DeeplinkX 1.5.8 · Source

Platforms and setup

Native platforms: ios, android.

Public actions

Sygic.open

factory Sygic.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

Sygic.view

static SygicViewAction 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

Sygic.directionsWithCoords

static SygicDirectionsWithCoordsAction directionsWithCoords({ required final Coordinate destination, final SygicTransportMode mode = SygicTransportMode.drive, 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—
modeSygicTransportModeNoSygicTransportMode.drive
fallbackToStoreboolNofalse

Exact source

Provider setup and examples

DeeplinkX supports the custom URI scheme used by Sygic GPS Navigation so you can open map previews or launch turn-by-turn guidance directly from your Flutter app.

References

Available Actions

Launch Sygic

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

View Map

await deeplinkX.launchAction(
  Sygic.view(
    coordinate: const Coordinate(latitude: 48.1486, longitude: 17.1077),
  ),
);

Directions With Coordinates

await deeplinkX.launchAction(
  Sygic.directionsWithCoords(
    destination: const Coordinate(latitude: 48.1486, longitude: 17.1077),
    mode: SygicTransportMode.drive, // or .walk
  ),
);

Platform Configuration

iOS

Add the Sygic scheme to the LSApplicationQueriesSchemes array in ios/Runner/Info.plist:

<string>com.sygic.aura</string>

Android

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

<queries>
  <package android:name="com.sygic.aura" />
</queries>

URI Formats

  • View map: com.sygic.aura://coordinate|{longitude}|{latitude}|show
  • Directions (driving/walking): com.sygic.aura://coordinate|{longitude}|{latitude}|{drive|walk}

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 the action falls back to https://www.sygic.com/gps-navigation.
  4. Set disableFallback: true when calling launchAction to skip both store and web fallbacks.

Fallback Support Matrix

ActionStore FallbackWeb Fallback
Open app✔️✔️ (website)
View map✔️✔️
Directions with coordinates✔️✔️