Examples
The Android SDK repository ships two runnable apps, one per integration style. Clone the one closest to your setup, run it, and copy what you need.
Each card below links to the example’s README.md on GitHub, with the setup steps, the test flow, and the full source.
Example catalog
Section titled “Example catalog” example The full setup. DetourDelegate handles App Links, custom scheme links and deferred links, and the app logs analytics events.
example-deferred-only For apps whose navigation already handles App Links. Detour resolves only the deferred link, while the splash screen is shown.
Recommended user path
Section titled “Recommended user path”- Complete Installation.
- Read Usage for lifecycle and routing model.
- Start from the closest example and adapt manifest/routing logic.
- Validate behavior with Testing & Troubleshooting.