.NET MAUI › Shell Navigation

How do you implement deep linking with Shell routes?

Advanced

Answer

Shell's URI routing maps external links to route hierarchies. Register routes, then map incoming platform deep links (Android intent filters, iOS Universal Links) to a GoToAsync call with the corresponding route and parameters. The route path can encode navigation depth like //home/orders/details?id=42.
// From platform deep-link handler
await Shell.Current.GoToAsync($"//home/orders/details?id={orderId}");
Real-world example Tapping a push-notification link opens the app directly on order #42's details page by translating the payload into a Shell route.

Common follow-ups: How do routes encode hierarchy? | Where do platform deep links get handled?