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.

referencesobservability-and-entitlement-verification.md

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

Observability and Entitlement Verification

A production integration should be observable, not just compilable.

Minimum observability

Add these in development at least:

  • RevenueCat debug or verbose logging
  • Superwall placement callbacks or useSuperwallEvents
  • logs for current billing identity after auth changes
  • logs for active entitlements after CustomerInfo updates

Forward Superwall events to analytics

Useful events to forward:

  • paywall will present
  • paywall did present
  • paywall dismissed
  • paywall skipped
  • purchase started
  • purchase result
  • restore started
  • restore result
  • subscription status changed
  • custom paywall action tapped

These events are valuable for:

  • funnel analysis
  • experiment validation
  • debugging
  • support

Suggested analytics payload shape

Keep a consistent envelope:

type BillingAnalyticsEvent = {
  name: string;
  appUserId?: string | null;
  superwallUserId?: string | null;
  placement?: string;
  paywallId?: string;
  productId?: string;
  entitlementIds?: string[];
  result?: "presented" | "dismissed" | "purchased" | "restored" | "failed" | "cancelled" | "pending";
  platform: "ios" | "android";
};

RevenueCat trusted entitlements

Trusted Entitlements can provide integrity verification data for entitlement responses.

Important nuance:

  • newer RevenueCat SDKs provide verification data by default
  • the result is informational only unless the app actually checks it
  • RevenueCat does not automatically block unverified entitlements for you

Use this when the app has a strong fraud or tampering risk model.

Sensible default policy

For most apps:

  • log the verification result in debug builds
  • keep access decisions based on normal entitlement state
  • escalate to stricter handling only if the business has a clear need

For high-risk apps:

  • inspect the verification result
  • decide whether unverified entitlements should reduce access or trigger review
  • coordinate this with backend policy, not just the mobile app

Other useful signals

Also log:

  • current App User ID
  • current Superwall identified user
  • active offering and product IDs during test purchases
  • current restore-behaviour policy in team docs
  • launch mode on Android when debugging odd cancellation paths

Example wiring

See examples/monetization.shared.tsx for a simple event bridge shape and examples/premium-gate.example.tsx for placement-level hooks.

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