Revenuecat Troubleshoot
Diagnose and resolve RevenueCat integration issues — inspects dashboard configuration through the RevenueCat MCP, walks the SDK debug logs, and covers code-side gotchas. Use when the user says offerings are empty, products not loading, entitlement not active after purchase, paywall won't load, transactions not appearing, customer info shows no entitlements, sandbox purchase not working, or RevenueCat is broken on iOS, Android, Kotlin Multiplatform, Flutter, or React Native.
- Skill ID
- revenuecat/ai-toolkit/revenuecat-troubleshoot
- Publisher
- revenuecat
- Repository
- ai-toolkit
- Installs
- 0
- Files
- 6
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
revenuecat/ai-toolkit/revenuecat-troubleshootInstalls these files- SKILL.md
- platforms/android.md
- platforms/flutter.md
- platforms/ios.md
- platforms/kmp.md
- platforms/react-native.md
What this skill tells the agent
revenuecat-troubleshoot: diagnose RevenueCat integration problems
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:
- Code-side diagnosis — turn on debug logging, walk a universal checklist, drop into platform specifics.
- Dashboard inspection — use the RevenueCat MCP server or the
rcCLI (see therevenuecat-cliskill) 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.
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 → readplatforms/react-native.md. Ifexpois also a dependency, note it as an Expo project. - Flutter:
pubspec.yamlexists at the project root → readplatforms/flutter.md. - Kotlin Multiplatform:
build.gradle.ktscontains akotlin { … }multiplatform source sets block, or depends oncom.revenuecat.purchases:purchases-kmp*→ readplatforms/kmp.md. - Android (native):
build.gradle(.kts)appliescom.android.application(and is not KMP) → readplatforms/android.md. - iOS (native):
Package.swift,*.xcodeproj,*.xcworkspace, orPodfileat the project root → 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 the bug reproduces on.
2. Universal code-side checklist
Walk these nine items in order. Most reports are resolved by steps 1 through 5.
- Turn on debug logging and reproduce. The SDK narrates what it is doing. Roughly 80% of reports are diagnosable from the log output alone. Each platform file shows how to set
logLevelto debug. - Verify the API key platform matches the app. iOS apps must use an
appl_…public SDK key. Android apps must usegoog_…(oramzn_…for Amazon). A mismatched key produces an authentication error on the first network call. On iOS this surfaces as anINVALID_CREDENTIALSerror code. On Android it surfaces asPurchasesErrorCode.InvalidCredentialsError. Use thelist-app-public-api-keysRevenueCat MCP tool to list the API keys for the project. - Verify the bundle ID / package name matches the one set up in the RevenueCat project.
List the apps using the 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.
- Verify offerings in the RevenueCat project. List the project's offerings using the
list-offeringsRevenueCat MCP tool, passing the parameterexpand=items.package.product. The offering marked withis_current: truemust have at least one package attached, and each package must reference a store product. An offering with zero packages returns an emptyavailablePackageslist even thoughgetOfferingssucceeds. - Verify store products are live. Products must be in "Ready to Submit" on App Store Connect or "Active" on Google Play Console. A product in a draft state will not be returned by the store, even in sandbox. If the SDK logs show offerings arriving from RevenueCat but products failing to resolve, this is almost always the cause. Use the
get-product-store-stateRevenueCat MCP tool to understand the state of product in App Store Connect or Google Play Console (fieldstore_status). To fix or change the store state (not just read it), follow therevenuecat-store-stateskill. - Verify the testing account. iOS: the device must be signed into a Sandbox Apple ID under Settings → App Store → Sandbox Account (set on iOS 14+ after the first sandbox prompt). Android: the tester's Gmail must be added to Google Play Console → Setup → License testing, and the app must be installed via the Internal Testing opt-in link, not sideloaded.
- Verify the network. Corporate VPNs, captive portals, and some DNS filters silently block the RevenueCat API or the store APIs. Try a different network before digging deeper.
- Verify the appUserID. If
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. PrintPurchases.shared.appUserID(iOS) /Purchases.sharedInstance.appUserID(Android) and confirm it matches. - Reset and retry. Uninstall the app, re-sign into the sandbox / tester account, reinstall from the correct channel, relaunch.
3. Dashboard inspection via the RevenueCat MCP or the rc CLI
Use 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.
Phase A: gather context
- Symptom — "What specifically isn't working? What error messages are you seeing? Which platform (iOS, Android, Web)?"
- User state — "Is this happening for new purchases or existing subscribers? Sandbox or production?"
Phase B: systematic diagnosis
Work through this checklist via MCP tools or their rc CLI equivalents (see the revenuecat-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.
Check 1: Project overview
list-projects → ask user to select project if multiple
list-apps (with selected project_id)- Verify project exists and apps are present.
Check 2: Products
list-products
get-product-store-state- [ ] Products exist for each store item.
- [ ] Store identifiers match App Store Connect / Play Console exactly.
- [ ] Product types are correct (subscription vs one-time).
- [ ] Play Store: using
product_id:base_plan_idformat. - [ ] Store State:
store_status.status=ok.
Check 3: Entitlements
list-entitlements
get-products-from-entitlement (for each entitlement)- [ ] Entitlements exist for each access level.
- [ ] Products are attached to entitlements.
- [ ] No orphaned products (products not granting any entitlement).
Check 4: Offerings
list-offerings
list-packages- [ ] At least one offering exists with
is_current: true. - [ ] Packages contain products.
- [ ] Package identifiers use standard conventions (
$rc_monthly, etc.).
Check 5: Webhooks (if server-side issues suspected)
list-webhook-integrations- [ ] Webhook URL is correct and accessible.
- [ ] Environment matches (production vs sandbox).
Phase C: report and offer fixes
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
More from revenuecat
Use this skill in a project
Open any RiverX project, search the Skills panel for revenuecat/ai-toolkit/revenuecat-troubleshoot, and install it in one click.
