Skip to main content
Version: 2.3.0

React Native SDK Examples

After configuring Detour credentials and platform integration, try one of the runnable examples from the RN SDK repository.

Click any example name below to open its README.md on GitHub, where you can explore project structure, setup steps, and example code.

Example catalog

ExampleWhat it showsRecommended when
expo-bareMinimal provider + context usage without router couplingYou want a quick SDK smoke test
expo-routerBasic Expo Router flow with DetourProvider routing from contextYou use Expo Router and want minimal setup
expo-router-native-intentcreateDetourNativeIntentHandler in resolve mode + linkProcessingMode: 'deferred-only'You want native-intent-based routing and short-link resolution in intent layer
expo-router-advancedAuth-gated flow with pending route resume and custom native-intent coexistenceYou need guarded routes or sign-in-first deep link handling
react-navigationMinimal React Navigation setup using the Detour linking adapter (Detour.getInitialURL + addEventListener)You use React Navigation and want minimal setup
react-navigation-advancedReact Navigation linking adapter with auth + onboarding gated deep linking and pending-link resumeYou need guarded/onboarded routes with deferred and runtime links
  1. Complete SDK Installation.
  2. Read SDK Usage for API model.
  3. Start from the closest example and adapt route mapping/auth flow.
  4. Validate behavior with Testing & Troubleshooting.