Migrating from an older version? For instructions on upgrading from 1.x.x/2.x.x to version 3.x.x, see the
Migration Guide.
Requirements
- Expo SDK 52.0 or higher
- Node.js 18.0 or higher
- React Native 0.70 or higher
Installation
Step 1: Install Both Packages
Install both the React Native and Expo packages:Configuration
Add Plugin to app.json
Important: You must add the expo-linkrunner plugin to yourapp.json
plugins array:
What the expo-linkrunner
plugin does?
When you add expo-linkrunner
to your app.json
plugins and run the Expo prebuild step, the config plugin automatically makes the following changes to your iOS project:
- Adds
NSUserTrackingUsageDescription
in your iOS Info.plist if not already present. - Automatically applies the
expo-tracking-transparency
plugin with a default permission message
Next Steps
Theexpo-linkrunner
package is a config plugin that automatically configures your Expo project for Linkrunner SDK integration. Once you’ve completed the installation and configuration steps above:
-
Prebuild your project:
-
For EAS Build: If your
android
andios
folders are in.gitignore
(recommended), EAS Build will automatically run the prebuild step during the build process. No manual action required. -
For local development or custom development clients:
-
For EAS Build: If your
-
Follow the React Native usage guide: Since
expo-linkrunner
is a config plugin that prepares your project, the actual SDK usage is identical to React Native. Please refer to the React Native Usage Guide for:- Initializing the SDK
- Tracking events
- Handling deep links
- Advanced features
The
expo-linkrunner
plugin handles the native configuration automatically. All SDK methods and APIs are provided
by the rn-linkrunner
package, which is why you’ll use the React Native documentation for implementation details.