science This product or feature is Experimental (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the Google Maps Platform Service Specific Terms. For more information, see the launch stage descriptions.
Handle mid-trip app switching
Stay organized with collections
Save and categorize content based on your preferences.
A driver might switch back to your app mid-trip to view order details or contact
the customer. To support app switching without confusing the driver or
triggering double billing, implement the following updates:
Update your app UI: An ENROUTE payload status indicates that the
driver is on an active trip. To reflect this, change your routing button
text from "Start" to "Resume".
Reuse the trip token: To return the driver to the active route, don't
create a new Navigation Connect session. Creating a new session can
confuse the driver and cause potential double billing. Instead, provide the
same trip token to continue the already-started session. Relaunch
Google Maps or Waze based on the driver's device platform:
Android (Google Maps and Waze): Use
PackageManager.getLaunchIntentForPackage() to bring Google Maps or Waze
back to the foreground. To ensure the driver can switch back and forth,
verify that you successfully passed the PendingIntent using the exact
extra key "pendingIntent" when you initially launched the app.
iOS (Waze only): Reopen the original Waze deep link. You don't need
to add additional code to enable the return button, as Waze
automatically uses the Universal Link you supplied during setup.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-11 UTC."],[],[]]