RevenueCat Customer Center
OrganizationRevenueCat
Add the RevenueCat Customer Center (self service subscription management UI) to an app. Use when the user asks to add a customer center, build a self service subscriptions screen, let users manage subscriptions in app, add a subscription management screen, present CustomerCenterView, call presentCustomerCenter, or wire a 'manage subscription' button to the RevenueCat customer center on iOS, Android, Kotlin Multiplatform, Flutter, or React Native.
Overview
- Repository
- RevenueCat/ai-toolkit
- Publisher
- RevenueCat
- Stars
- 79
- Forks
- 8
- Bundled files
- 5
- License
- MIT
- Updated
- Nov 11, 2026
Installation
tmp=$(mktemp -d)
git clone --depth 1 https://github.com/RevenueCat/ai-toolkit.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/revenuecat/skills/revenuecat-customer-center" ~/.claude/skills/revenuecat-customer-center
rm -rf "$tmp"tmp=$(mktemp -d)
git clone --depth 1 https://github.com/RevenueCat/ai-toolkit.git "$tmp"
mkdir -p ~/.codex/skills
cp -R "$tmp/revenuecat/skills/revenuecat-customer-center" ~/.codex/skills/revenuecat-customer-center
rm -rf "$tmp"Install the RevenueCat Customer Center agent skill from https://github.com/RevenueCat/ai-toolkit/tree/main/revenuecat/skills/revenuecat-customer-center into this project's skills folder.Instructions
revenuecat-customer-center: add the RevenueCat Customer Center
Use this skill when the user wants an out of the box UI that lets their customers manage active subscriptions, request refunds, cancel, restore, or contact support, without shipping custom UI. The UI is configured in the RevenueCat dashboard and rendered by the RevenueCatUI SDKs.
Prerequisite: integrate-revenuecat has already run. Purchases.configure(…) must succeed before the Customer Center can load customer data.
1. Detect the platform
Inspect the working directory and pick the first match, from top to bottom:
- React Native:
package.jsonhas areact-native-purchasesentry, orreact-nativeas a dependency. The Customer Center ships inreact-native-purchases-ui. Readplatforms/react-native.md. Ifexpois also a dependency, note it as an Expo project. - Flutter:
pubspec.yamlexists at the project root. The Customer Center ships inpurchases_ui_flutter. Readplatforms/flutter.md. - Kotlin Multiplatform:
build.gradle.ktshas akotlin { … }multiplatform block, or depends oncom.revenuecat.purchases:purchases-kmp*. The Customer Center composable is inpurchases-kmp-ui. Readplatforms/kmp.md. - Android (native):
build.gradle(.kts)appliescom.android.application(and is not KMP). The Customer Center composable is incom.revenuecat.purchases:purchases-ui. Readplatforms/android.md. - iOS (native):
Package.swift,*.xcodeproj,*.xcworkspace, orPodfileat the project root.CustomerCenterViewis inRevenueCatUI. Readplatforms/ios.md.
If several match (e.g. an ios/ folder inside a Flutter project), pick the outermost project, the one that owns the build. If still ambiguous, ask the user which platform they want to configure.
2. Shared concepts (all platforms)
- Customer Center is a dashboard configured UI. Actions, copy, promotional offers, refund flows, cancel survey options, and support contact details are defined in the RevenueCat dashboard under Customer Center. Without configuration, the view renders a minimal default layout; users will see almost nothing useful.
- It needs an identified user with purchases to surface anything meaningful. If the user is anonymous and has never bought anything, the Customer Center renders an empty / restore only state. If the app supports login, call
Purchases.logIn(userId)before opening the Customer Center. - Customer Center is separate from paywalls. The standard pattern: expose a "Manage subscription" row in the settings screen that opens the Customer Center. Paywalls are for new purchases; the Customer Center is for existing subscribers.
- The UI owns the flow. Restore, cancel, refund, and promotional offer flows run inside the component. Listen for the lifecycle callbacks (
onRestoreCompleted,onRefundRequestStarted,onManagementOptionSelected,onPromotionalOfferSucceeded, etc.) to react in app code, not to drive the flow. - Platform availability varies. iOS has had Customer Center longest; Android, KMP, Flutter, and React Native follow. Platform files flag any gaps. Refund requests are an iOS only action because only Apple exposes in app refund requests; on Android, the "Manage subscription" option links out to the Google Play subscriptions screen.
- If the installed SDK version is older than Customer Center support, the fallback is a manual subscription management screen: show the user's active entitlements from
Purchases.customerInfo(), expose aPurchases.restorePurchases()button, and link to the store's subscription management URL. Point the user to upgrade the SDK if they want the full Customer Center.
3. Implementation
Read the platform file that matches detection:
platforms/ios.mdplatforms/android.mdplatforms/kmp.mdplatforms/flutter.mdplatforms/react-native.md
Each platform file is self contained: install command, exact snippet to present the Customer Center, and the callback shape.
4. Verify
Do not claim the integration is complete until:
- The project builds on the target platform.
- Sign into the app with a test user that has at least one active sandbox subscription. Trigger the code path that opens the Customer Center. The UI loads and the subscription appears in the list.
- At least one configured action runs end to end. The simplest check: tap Restore purchases and confirm the restore completed callback fires with a non-empty
customerInfo.entitlements.activemap. If the dashboard has Cancel / Refund / Support actions configured, verify the corresponding callback (onManagementOptionSelected,onRefundRequestStarted, etc.) fires when the user taps through. - Dismissing the Customer Center fires the
onDismisscallback.
If the Customer Center opens but is empty, the signed in user has no purchases, or the dashboard Customer Center section is not configured. Fix in the dashboard, reload, and retry.
Bundled files
FAQ
What does RevenueCat Customer Center do?
Add the RevenueCat Customer Center (self service subscription management UI) to an app. Use when the user asks to add a customer center, build a self service subscriptions screen, let users manage subscriptions in app, add a subscription management screen, present CustomerCenterView, call presentCustomerCenter, or wire a 'manage subscription' button to the RevenueCat customer center on iOS, Android, Kotlin Multiplatform, Flutter, or React Native.
Who made RevenueCat Customer Center?
RevenueCat (an organization) publishes it in the RevenueCat/ai-toolkit repository on GitHub.
Is RevenueCat Customer Center free?
Yes. RevenueCat Customer Center is open source, published by RevenueCat under the MIT license.
What comes with RevenueCat Customer Center?
Its instructions and 5 files the agent reads only when a task needs them, such as references, examples or scripts.
Which agents can use RevenueCat Customer Center?
Any coding agent that reads SKILL.md files, including Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI. The agent loads the skill when a task matches its description.
What are agent skills?
An agent skill is a folder with a SKILL.md file: instructions that teach a coding agent how to do one kind of task, and optionally files it can read while it works. The agent keeps only the skill's name and description in mind and reads the rest when a task calls for it.
How are agent skills different from MCP servers?
An MCP server gives an agent new tools to call, code that runs somewhere and returns results. A skill gives it knowledge: how to approach a task with the tools it already has. Many agents use both.
How can my agent test my Android app?
Robomori lets coding agents create, start and control Android emulators and devices from one command, so they can install your app, take screenshots and check dark mode, font sizes and languages.