revenuecat-purchase-flow

Official

Buy subscriptions and restore purchases safely.

AuthorRevenueCat
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The revenuecat-purchase-flow skill solves the complexity of completing RevenueCat purchases and restoring entitlements across mobile platforms without breaking access-gating or error handling.

Core Features & Use Cases

  • Cross-platform purchase flow: Fetch the current offering’s packages, purchase the selected package, and confirm entitlement via returned customer info/listeners.
  • Correct cancellation handling: Treat user cancellation as a non-error path on iOS, Android, Kotlin Multiplatform, Flutter, and React Native (no alert; no stuck loading state).
  • Restore as a user action: Provide a restore path via restorePurchases() that syncs receipts and updates UI through entitlement gating, not inside the purchase callback.
  • Guardrails for purchase UX: Recommend disabling buy buttons during in-flight purchases to avoid double-charging.
  • Platform-specific implementation guidance: Uses platform files to implement offerings fetch, purchase, restore, and UI wiring patterns for each supported stack.

Quick Start

Use this skill to implement the RevenueCat purchase and restore logic for your iOS, Android, Kotlin Multiplatform, Flutter, or React Native app by selecting the correct platform file after detecting your project from the working directory.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: revenuecat-purchase-flow
Download link: https://github.com/RevenueCat/ai-toolkit/archive/main.zip#revenuecat-purchase-flow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.