Skip to main content
Version: 1.0.1

Testing and Troubleshooting

Testing deferred linking has platform constraints: full deferred flow requires store redirect chain (App Store / Play Store).

Testing iOS

If your app is not yet released:

  1. Uninstall the app from device.
  2. Open a Detour link in a mobile browser.
  3. Store redirect may fail if the store app page is not public yet.
  4. Install your development build.
  5. Launch app and verify link is resolved within matching window (currently 15 minutes).

Testing Android

For non-production builds, install referrer often does not work in store test tracks, so deterministic matching can be unavailable. You can still verify probabilistic flow:

  1. Uninstall the app from device.
  2. Open a Detour link in a mobile browser.
  3. Redirect to Play Store can fail if production listing is unavailable.
  4. Install your development build.
  5. Launch app and verify link is resolved within matching window (currently 15 minutes).

For local install referrer testing workarounds, see: https://medium.com/@madicdjordje/how-to-test-the-play-store-install-referrer-api-78a63d59945b

When app is already installed, link opening depends on certificate fingerprint configured in dashboard:

Installation methodSHA-256 to configure
Direct .apk from EASEAS fingerprint
Google Play Internal TestingPlay App Signing key
Local development (npx expo run:android)Local debug keystore

Common issues

  • No match found (404)
    • click is older than matching window
    • click was not recorded in dashboard logs
    • for deterministic Android flow: missing click_id in referrer
  • 429 Too Many Requests
    • add retry/backoff and avoid heavy testing with one key across many devices
  • iOS clipboard prompt not appearing
    • check shouldUseClipboard: true
    • verify copy-link flow is enabled in dashboard
  • Link processed twice
    • confirm you call clearLink() after navigation
    • confirm exactly one DetourProvider instance is mounted

For integration patterns that are easy to test end-to-end, use Examples.