Skip to main content

Simulate navigation

Route simulation moves the user along the route, plays voice prompts, and triggers reroute logic as if the device were driving. Use it in development and QA, not in production end-user builds.

Concepts align with Simulate navigation on Android and iOS simulate navigation for the native SDKs.

Enable simulation

Set shouldSimulateRoute on the view and pass the same flag when you start navigation:

<NavigationView
  ref={navigationRef}
  style={{ flex: 1 }}
  shouldSimulateRoute
  onNavigationReady={() => {
    navigationRef.current?.startNavigation(trip, {
      shouldSimulateRoute: true,
    });
  }}
/>

TripPreviewView and AllInOneView also accept shouldSimulateRoute.

Headless sessions

await session.startNavigation(trip, { shouldSimulateRoute: true });

Production builds

Omit shouldSimulateRoute (or set it to false) so guidance uses live GPS. Ensure location permissions are granted before starting real navigation.

Last updated November 5, 2026.