Why Redirectly for React Native?
The React Native Redirectly SDK (react-native-redirectly) is pure TypeScript with full type definitions. It works with both bare React Native and Expo. You get deep link handling, install attribution (match installs to link clicks), and no native code required for the SDK integration.
Deferred deep linking is supported: links survive app installation, and after install the SDK delivers the original link data so you can route users to the right screen or campaign.
- Deep link handling: automatically capture and process incoming Redirectly links.
- Attribution tracking: track app installs and attribute them to link clicks.
- React Native & Expo: works with both bare React Native and Expo projects.
- TypeScript: full type definitions and complete type support.
- Pure TypeScript: no native code required, works out of the box.
Quick start
Install react-native-redirectly, initialize with your API key, and listen for onAppInstalled and incoming links. Optional AsyncStorage improves persistent install tracking.
Install
npm install react-native-redirectly # or yarn add react-native-redirectly
Initialize and listen
const redirectly = Redirectly.getInstance();
await redirectly.initialize({
apiKey: 'your-api-key',
enableDebugLogging: __DEV__,
});
redirectly.onAppInstalled((install) => {
if (install.matched) {
console.log('Install attributed to:', install.matchedClick?.slug);
}
});Full setup and API details are in the React Native SDK docs. The docs cover iOS and Android setup for Universal Links and App Links.
What you get
Deferred deep linking
Links survive app install and route users to the right content.
Install attribution
Match installs to link clicks and campaigns.
TypeScript
Full type definitions, no native code for SDK.
Expo and bare React Native
Redirectly works with both bare React Native and Expo. For bare RN, you configure iOS and Android native deep link handling as described in the docs. For Expo, the same SDK works with your Expo config. Optional AsyncStorage improves persistent install tracking across app restarts.
Firebase Dynamic Links alternative is relevant if you're replacing FDL. See also deferred deep linking and deep linking guide.