linkrunner-react-nativelisted
Install: claude install-skill linkrunner-labs/skills
# Linkrunner - React Native integration
You are integrating **Linkrunner** (mobile attribution + deep linking) into a
React Native app. Work in this order and **inspect the project before
editing** - do not paste snippets blindly.
## 0. Before you touch anything
1. Confirm this is a React Native app: there's a `package.json` with
`react-native` as a dependency, and `android/` + `ios/` native folders
(bare workflow, or an Expo project after `expo prebuild`/a dev build).
2. If this is an **Expo managed** project (no `ios/`/`android/` folders, config
driven by `app.json`/`app.config.js`), stop and use the `linkrunner-expo`
skill instead - it wraps this SDK in a config plugin and has its own init
flow. This skill assumes native folders exist.
3. Find the app's root component (usually `App.tsx`/`App.js`) and how it
bootstraps (`useEffect` on mount).
4. Ask the user for their **project token** (dashboard → Settings). If they use
SDK signing, also get `secretKey` + `keyId`. Never hardcode these in a file
that gets committed if the user keeps secrets elsewhere - ask where.
5. Check current versions against requirements (below) before bumping anything.
## 1. Decide what the user actually needs
| They want... | Do this |
| --- | --- |
| "Add Linkrunner / set up attribution" | `references/install.md` then `references/events.md` (at minimum init + signup) |
| "Set up deep links" / "links open the browser not my app" | `references/deep-linking.md` + run `scrip