/revenuecat:troubleshootingfrom RevenueCat
Diagnoses RevenueCat integration issues: empty offerings, missing products, failed entitlements, paywall loading failures, and sandbox transaction problems. Inspects dashboard config via MCP and walks SDK debug logs.
Ships in RevenueCat. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the user reports a RevenueCat behavior that does not match expectations: empty offerings, missing products, an entitlement that does not unlock after a successful purchase, a paywall that fails to render, or sandbox transactions that never reach the dashboard.
This skill combines two angles:
rc CLI (see the cli skill) to read the project, apps, products, entitlements, offerings, and webhooks, and offer fixes.Work them in order. Most reports resolve before you reach the platform specifics.
Inspect the working directory and pick the first match, from top to bottom:
package.json has a react-native-purchases entry, or react-native as a dependency → read platforms/react-native.md. If expo is also a dependency, note it as an Expo project.pubspec.yaml exists at the project root → read platforms/flutter.md.build.gradle.kts contains a kotlin { … } multiplatform source sets block, or depends on com.revenuecat.purchases:purchases-kmp* → read platforms/kmp.md.build.gradle(.kts) applies com.android.application (and is not KMP) → read platforms/android.md.Package.swift, *.xcodeproj, *.xcworkspace, or Podfile at the project root → read platforms/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 the bug reproduces on.
Walk these nine items in order. Most reports are resolved by steps 1 through 5.
logLevel to debug.appl_… public SDK key. Android apps must use goog_… (or amzn_… for Amazon). A mismatched key produces an authentication error on the first network call. On iOS this surfaces as an INVALID_CREDENTIALS error code. On Android it surfaces as PurchasesErrorCode.InvalidCredentialsError. Use the list-app-public-api-keys RevenueCat MCP tool to list the API keys for the project.list-apps RevenueCat MCP tool. The bundle_id (iOS / App Store) or package_name (Android / Play Store / Amazon Appstore) registered there must match the built app exactly, including capitalization. A mismatch causes offerings to come back empty because the app is not recognized.list-offerings RevenueCat MCP tool, passing limit: 100 and expand=items.package.product. The default page of 20 can omit the current offering, and a partial page looks the same as a project with no current offering. The offering marked with is_current: true must have at least one package attached, and each package must reference a store product. The SDK drops an offering whose packages resolve to no store products, or that has no packages: it is missing from offerings.all and current is null if it was the current one (purchases-ios also logs a warning). If no offering has any products, getOfferings fails with a configuration error.get-product-store-state RevenueCat MCP tool to understand the state of product in App Store Connect or Google Play Console (field store_status). To fix or change the store state (not just read it), follow the product-store-state skill.logIn(appUserID) was called with an ID that does not match what the user expects, entitlements appear missing because they are attached to a different RC user. Print Purchases.shared.appUserID (iOS) / Purchases.sharedInstance.appUserID (Android) and confirm it matches.rc CLIUse this when steps 3, 4, or 5 above point at dashboard configuration, when the user has no working app yet, or when you need to confirm a fix landed.
Important: The API key may have access to multiple projects. Always call list-projects first. If multiple projects are returned, ask the user which to inspect.
Work through this checklist via RevenueCat MCP tools or their rc CLI equivalents (see the cli skill). Each list-* tool maps to rc <noun> list (e.g. list-offerings → rc offerings list, list-apps → rc apps list), list-app-public-api-keys → rc apps keys <app-id>, and get-product-store-state → rc products show <product-id> --store-state.
list-apps (with selected project_id)
list-offerings (with `limit: 100`) / get-offering to get information about the offering(s)
list-packages (for the offering with `is_current: true`)
Note: pass limit: 100 to list-offerings. The default page of 20 often excludes the current
offering, and a partial page looks identical to a project that has no current offering.
is_current: true (if the request is about the current
offering)$rc_monthly, etc.).list-products / get-product to get information about the product
get-product-store-state
product_id:base_plan_id format; non-subscriptions (one-time
products) use product_id only.store_status.status = ok.Note: a null product duration from get-product / list-products is expected until the first
purchase and fills in on its own. It is not a sync issue: devices fetch product details from the
store, so paywalls show the correct price and period. Don't open a support ticket for it, and don't
tell the user to set the duration in the dashboard; it can't be edited there. Rely on get-product-store-state for the product's actual setup in the store.
list-entitlements
get-products-from-entitlement (for each entitlement)
list-webhook-integrations
Load the sdk-compatibility skill before making SDK-version claims. Use this for RevenueCat
features that depend on minimum SDK versions, such as paywall components, experiment enrollment,
exposure tracking, Customer Center behavior, In-App Currencies, and offering features.
list-sdk-feature-gates.list-sdk-versions.Diagnose from the evidence the user pasted, not from a plausible mechanism. If the evidence does not identify the cause, say so and ask for what's missing: the exact URL, method, status code, headers (with the key redacted), request body, and response body.
project_id in the user's URL may not be the project you are
inspecting. Check it with list-projects before reasoning about that project's data, and run
any RevenueCat tool lookups against the project in the URL./v1/ and /v2/ are separate APIs with different keys and
error formats, and v1 keys do not work with v2. The error types below are v2's; do not apply
them to a v1 response.type, a message and retryable,
usually with a doc_url. A v1 error is also JSON, in v1's own format. An HTML page ("The
request could not be satisfied", "Generated by cloudfront") means the request was rejected
before reaching the API. One documented CloudFront cause: a GET request that includes a
body returns 403 — ask whether the client (e.g. Postman) is sending a body on the GET.authentication_error: the API key is invalid or the Authorization header is not
Bearer <key>. Opening an API URL in a browser (for example the url field of a response)
sends no header and returns this error; that does not mean the user's client request failed.authorization_error: the API key does not belong to the project in the URL.resource_missing (404): no resource with that ID exists in that project — check the ID
and the project. App User IDs in the path must be URL-encoded (anonymous IDs contain $ and
:).items list with a 200: the request worked; that customer has no matching
resources in that project.When a fix you suggested does not change the result, say plainly that the diagnosis was wrong before offering the next one.
Diagnostic Report
=================
Project: {project_name}
Checks Passed: ✅
- Project exists and is accessible
- 2 apps configured (iOS, Android)
- 4 products found
Issues Found: ⚠️
1. CRITICAL: Product not attached to entitlement
Product: annual_premium (prod123)
Fix: Attach this product to an entitlement
2. WARNING: Offering has empty package
Offering: default / Package: $rc_annual has no products
Fix: Attach annual_premium to this package
3. INFO: No webhook configured
Optional but recommended for server-side access control
Recommended Actions:
1. Attach annual_premium to "premium" entitlement
2. Attach annual_premium to $rc_annual package
Would you like me to fix issues #1 and #2 now?
For each fixable issue, confirm with the user, then execute via MCP:
attach-products-to-entitlementattach-products-to-packageRead the platform file that matches detection. Each one lists platform specific gotchas not covered above (StoreKit configuration files, Gradle/desugaring, Metro caching, Expo prebuild, etc.).
platforms/ios.mdplatforms/android.mdplatforms/kmp.mdplatforms/flutter.mdplatforms/react-native.mdDo not declare the issue fixed until:
appUserID.If the user cannot reproduce locally, have them send the full debug log from app launch to the moment of failure. The SDK's own output is usually enough.
For how to test purchases rather than why a purchase fails (Test Store or store sandbox, whether
the Test Store is enough before launch, repeating a test purchase or resetting a tester), load the
testing-purchases skill.
These are things the user checks in the store consoles, the dashboard and the app project. Go through them when the checks above do not find the cause.
product_id:base_plan_id format; one-time products use product_id
only.| Error code | Likely cause | Solution |
|---|---|---|
INVALID_APP_USER_ID | Reserved characters or empty string | Use alphanumeric IDs, underscores, hyphens only |
INVALID_CREDENTIALS | Wrong API key or bundle ID mismatch | Verify API key matches app |
NETWORK_ERROR | No connectivity or firewall | Check network, verify RevenueCat domains allowed |
STORE_PROBLEM | Store downtime, config issue, iOS 18.x bug | Check store status, verify config, see Known iOS Issues below |
SIGNATURE_VERIFICATION_FAILED | Tampered receipt or config error | Verify In-App Purchase Key (iOS) or service credentials |
| Error code | Solution |
|---|---|
RECEIPT_ALREADY_IN_USE | Call restorePurchases() or sync customer |
PRODUCT_NOT_AVAILABLE_FOR_PURCHASE | Verify product status in App Store Connect / Play Console |
PURCHASE_NOT_ALLOWED | Check parental controls, payment method |
PRODUCT_ALREADY_PURCHASED | Call restorePurchases() to sync |
Ask the developer to enable debug logging:
Purchases.logLevel = .debugPurchases.logLevel = LogLevel.DEBUGLog emoji indicators: 🍎 Apple/StoreKit · 🤖 Google Play · 📦 Amazon · 😿 RevenueCat backend.
iOS 18.0–18.3.2: StoreKit Daemon Connection Failure
STORE_PROBLEM (NSCocoaErrorDomain Code 4097) on ~25% of purchases on physical devices.iOS 18.4–18.5 Simulator: Products Don't Load
ProxyBillingActivity NullPointerException
NoCoreLibraryDesugaringException / NoClassDefFoundError when starting a purchase
NoClassDefFoundError before 8.16.0, NoCoreLibraryDesugaringException from 8.16.0), and the purchases-bc7 artifacts (9.14.1 to 10.12.0) that 10.13.0 removed. Versions on Billing Library 8 or later are not affected, and 11.1.0 deprecates the exception and never throws it.build.gradle."Issues fetching products" — Products must be submitted for review with the app on first submission. Create products in App Store Connect, then submit app and products together.
"Error during purchase" (Sandbox) — Apple sandbox downtime. Inform reviewer, provide RevenueCat sandbox dashboard screenshot showing test purchases work, ask to retry.
"Content not unlocked after purchase" — Verify product → entitlement connection in RevenueCat. Ensure app calls getCustomerInfo() after purchase.
User purchased but has no entitlement — Check product → entitlement attachment and verify store identifier matches exactly.
Offering returns empty — Verify a current offering exists, packages have products attached, and products exist in the app's store.
Webhook not receiving events — Verify URL is internet-accessible and returns 200 OK. Test with webhook.site.
Subscription status out of sync — SDK caches CustomerInfo for 5 min (foreground). Force refresh:
// iOS
Purchases.shared.getCustomerInfo(fetchPolicy: .fetchCurrent) { ... }
// Android
Purchases.sharedInstance.getCustomerInfoWith(CacheFetchPolicy.FETCH_CURRENT) { ... }
SDK crashes on launch (iOS / Xcode 26) — Initialize RevenueCat before other networking libraries.
SDK crashes when starting a purchase (Android, Play Billing Library 7.1): upgrade the SDK, or enable core library desugaring. See NoCoreLibraryDesugaringException above.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
revenuecat, in-app-purchases, subscriptions, debugging, sdk-integration
29 skills in this plugin
/ad-trackingAdd RevenueCat ad monetization tracking to an app so ad impressions, clicks, revenue and rewarded ads appear in RevenueCat Charts next to subscription revenue. Use when the user asks to track ad revenue in RevenueCat, add RevenueCat ad tracking, integrate the RevenueCat AdMob adapter, report AdMob, AppLovin MAX, Unity LevelPlay (ironSource) or Unity Ads events to RevenueCat, set up ad monetization or ad LTV, or pastes the "Add RevenueCat ad tracking to this app" prompt from the Ads page of the RevenueCat dashboard, on iOS, Android, Kotlin Multiplatform, Flutter, React Native, or Unity. Also use when ad events are missing or look wrong on the RevenueCat Ads page./app-valuationUse this skill when the user asks how much their app is worth, what they could sell their app for, how app valuations or acquisitions work, or how to prepare a subscription app for sale/exit./audiencesHow to query audiences and build links to the RevenueCat dashboard Audiences (customer lists) with filters applied. Use to answer questions about "which customers", and when identifying, filtering, or ranking the user's customers (a segment, who they are, a product or duration, spend, renewals, status, country, attribution), including a population question about last seen, cancellation, or expiration, and whether any more trials will convert today.
/cliDrive RevenueCat from the terminal with the `rc` CLI, an alternative to the RevenueCat MCP server for humans, CI, and agents. Covers install, authentication, command discovery, and output conventions. Use for uploading paywall images to the Media Gallery (`rc media-assets upload`) or custom paywall fonts (`rc fonts upload`) — MCP has no upload tools for these. Referenced by the other RevenueCat skills whenever they offer a CLI path./customer-centerAdd 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./dashboard-linksHow to link to pages in the RevenueCat dashboard (offerings, products, customers, settings, integrations, paywalls, experiments, etc.). For chart links with filters, use the querying-charts skill; for filtered customer lists, use the audiences skill.2 plugins in one repository ship this exact skill · first indexed Dec 5, 2026
Other plugins' skills for the same job
revenuecat@pleaseai is listed by pleaseai/claude-code-plugins — review the source before installing
npx claudepluginhub pleaseai/claude-code-plugins --plugin revenuecat