← ClaudeAtlas

linkrunner-cordovalisted

Integrate the Linkrunner mobile attribution SDK into an Apache Cordova app - add the plugin, initialize it, identify users, track events and revenue, and set up deep linking (iOS Universal Links, Android App Links, and custom URI schemes) with domain verification. Use when someone asks to add Linkrunner to a Cordova app, wire up attribution, or debug why Linkrunner deep links are not opening the app.
linkrunner-labs/skills · ★ 0 · AI & Automation · score 75
Install: claude install-skill linkrunner-labs/skills
# Linkrunner - Cordova integration You are integrating **Linkrunner** (mobile attribution + deep linking) into an Apache Cordova 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 Cordova app: there is a `config.xml` at the project root and a `www/` (or framework build output) folder. Check `platforms/` to see which platforms (`android`, `ios`) are already added. 2. Find where the app wires up `deviceready` (often `www/js/index.js` or an `app.js`), since `linkrunner.init()` must run there. 3. 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. 4. Check whether `config.xml` already has the required preferences (below) before adding platforms or the plugin - order matters here. ## 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 `scripts/verify-deeplinks.sh` | | "Track purchases / events" | `references/events.md` | | "Set up uninstall tracking / push token" | `references/events.md` (Uninstall tracking / setPushToken) | Most first-time integr