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

/expo-revenuecat-superwall-integration

@3323bc9
Run it yourself

Integrate or repair RevenueCat and Superwall together in an Expo React Native app. Use for their shared purchase ownership, Android offer selection, billing identity, entitlement sync, restore, or migration flows; not for web billing or unrelated paywall providers.

Use this Skill: https://skilld.dev/gh/tristanmanchester/agent-skills/expo-revenuecat-superwall-integration

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

referencesbilling-identity-coordination.md

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

Identity and transaction ownership

Use the same billingCoordinator instance from examples/billing-coordination.ts for auth synchronisation, purchase, restore, and subscription-status publishing. A separate auth-only queue does not protect a store transaction. Never call native logIn/logOut, purchase, or restore outside this owner in the same integration.

Update the app's desired user and identityRevision together. Set billingIdentityReady only when the revision acknowledged by AuthIdentitySync equals that desired revision, and pass the revision to MonetizationProviders as billingIdentityRevision. This bool/revision pair is also the app's premium feature gate; the local queue does not authorise backend access.

The queue rejects admission while identity changes or another store operation are pending, rechecks identity before queued work starts, and holds native identity stable through the entire product lookup and transaction. Identity transitions wait for settlement. Already-started purchases are not cancelled when UI auth changes, and a completed payment is not relabelled as failed: fulfilment belongs to the captured identity, while the new UI remains gated until resynchronised. An SDK promise that never settles keeps the queue blocked. Do not release it with a timeout race; reconcile the store outcome first. A pending-payment SDK result is not final entitlement fulfilment; retain the application's transaction identity and reconcile later provider events with the documented store/RevenueCat contract.

Subscription-status updates use the same queue and revision check. A callback from an unmounted/superseded listener cannot overwrite a new identity's status. One mounted configuration/auth owner is still required; these examples are not an authentication framework, a cross-process lock, or a durable transaction log.

Tests in tests/billing-coordination.test.cjs exercise deterministic deferred operations and compile the pure module with strict TypeScript. They do not replace native purchase/restore testing in the application's real SDK and store sandbox.

Source: SKILL.md on GitHub

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 alerts1mo4 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The expo-revenuecat-superwall-integration skill is a professional integration guide for React Native Expo applications. It provides structured architectural choices, implementation playbooks, and a local validation script to ensure a secure and production-ready monetisation stack. The skill adheres to security best practices, such as using public API keys and avoiding PII for identifiers, and contains no malicious code or exfiltration patterns.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • ZeroLeaks6mo

    Score: 93/100 · 2 sections analyzed

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

Last checked against GitHub 2 weeks ago.

Steadyupdated last month
metadata
{
  "version": "3.0.0",
  "reviewed": "2026-09-13"
}
Other metadata
compatibility
Expo development builds on iOS/Android, expo-superwall's current provider API, and react-native-purchases 9.7 or newer. Resolve native platform requirements from the installed Expo and SDK versions. Offline checks need Python 3.10+, Node.js, and TypeScript.

README badge

README badge for tristanmanchester/agent-skills/expo-revenuecat-superwall-integration