Index of every page on this site: llms.txt
All skills
hardikpthv avatar

/revenuecat-onboarding-basic

@53afcbc
Run it yourself

Use when integrating RevenueCat into an app for in-app purchases or subscriptions for the first time — setting up a RevenueCat project, adding a Play Store/App Store app, connecting Google Play service-account credentials, configuring products, entitlements, offerings and packages, getting the SDK API keys, installing and configuring the SDK (react-native-purchases or native), checking entitlement access, or setting up webhooks.

Use this Skill: https://skilld.dev/gh/hardikpthv/agent-skills/revenuecat-onboarding-basic

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesonboarding-checklist.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

RevenueCat Onboarding — Full Checklist

Last-known values are marked (verify) — fetch the matching link in official-links.md and confirm. The order is stable; SDK versions, method names, and the Google credential UI are not.

Phase 1 — Create the project

  1. RevenueCat dashboard → Projects → Create new project.
  2. Every new project ships with a pre-provisioned Test Store, so you can build and test the SDK before connecting Apple/Google.

Phase 2 — Add an app

  1. Project Settings → Apps → choose the platform (Play Store, App Store, Amazon, Stripe, RC Billing…). Name is required.
  2. You can add multiple platform apps to one project (e.g. Android + iOS sharing entitlements/offerings).
  3. iOS additionally needs an In-App Purchase Key; Android needs the Play service-account credentials (next). For iOS, follow RevenueCat's App Store credential guide (see official-links.md) — it's the same human-owned store-auth pattern.

Phase 3 — Connect Google Play credentials

Needed so RevenueCat can validate purchases and receive status. Full step-by-step is in the Pro skill; the shape:

  1. In Google Cloud Console, enable: Google Play Android Developer API, Play Developer Reporting API, and (for real-time notifications) Pub/Sub API.
  2. Create a service account, grant the roles RevenueCat documents (e.g. Pub/Sub + monitoring for notifications), and download its JSON key.
  3. In Google Play Console → Users and permissions, invite the service account email with the documented permissions (view app info, view financial data, manage orders & subscriptions).
  4. Upload the JSON in RevenueCat → the Play app's Service credentials.
  5. Propagation: up to ~36 hours (verify) — "Invalid Play Store credentials" during this window is expected. RevenueCat also offers an automated Cloud Shell script as an alternative to the manual flow.

Phase 4 — Configure products

  1. Import existing store products or create products in RevenueCat. Products are the actual store SKUs (these must exist / be created in the store — see a Google Play skill for the Play catalog).

Phase 5 — Entitlements

  1. Create an entitlement (e.g. pro) — a named access level.
  2. Attach products to the entitlement so purchases unlock it. One product can unlock multiple entitlements and vice-versa.

Phase 6 — Offerings & packages

  1. Create an Offering (a set of packages shown together).
  2. Add Packages using standard duration ids ($rc_monthly, $rc_annual, $rc_weekly, $rc_lifetime, or custom). A package groups the equivalent product across platforms.
  3. Mark one offering Current/Default — the SDK's getOfferings() returns it as current.

Phase 7 — SDK API keys

  1. Project Settings → API keys → app-specific public SDK keys. Hybrid SDKs (React Native/Flutter) need a separate public key per platform (iOS vs Android). Never use the v2 secret key in the client.

Phase 8 — Integrate the SDK

  1. Install the SDK (e.g. react-native-purchases; the separate react-native-purchases-ui package adds optional paywall UI) and configure once, early, with the platform-specific public key.
  2. Fetch offerings (getOfferings() → use current), purchase (purchasePackage()), restore (restorePurchases()), and check access via customerInfo.entitlements.active[...]. Detail + code shape: modeling-and-sdk.md. Re-verify versions/methods at the install/config links — they change.

Phase 9 — Webhooks (production reliability)

  1. Register an HTTPS webhook endpoint (with an Authorization header) so your backend learns about purchases/renewals/cancellations.
  2. For Google Play, also set up Real-time Developer Notifications via Pub/Sub (the dashboard gives you a topic id to paste into Play Console). Improves accuracy and latency. (Pro skill has details.)
  3. Verify the auth header and dedupe by event id (idempotency); RevenueCat retries failed deliveries (last-known: up to 5 retries at 5/10/20/40/80 min, expects a 200 within 60s — verify).

Phase 10 — Test in sandbox

  1. Google Play: add license testers, publish to a closed testing track, opt testers in, and test with a single licensed account. Sandbox subscriptions renew on an accelerated schedule (verify cadence).
  2. Confirm the full loop: see offerings → purchase → entitlement becomes active → restore works → webhook fires.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a standard onboarding guide for the RevenueCat subscription platform. It provides integration steps, links to official documentation, and best practices for API key management and data modeling. No malicious patterns were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 53afcbc. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 5 months ago

README badge

README badge for hardikpthv/agent-skills/revenuecat-onboarding-basic