/revenuecat-play-billing:rc-revenuecat-vs-raw-billingfrom revenuecat-play-billing
Compares RevenueCat vs raw Google Play Billing on Android across client and server layers. Helps decide which concerns RevenueCat handles and what remains your responsibility.
Ships in revenuecat-play-billing. 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.
None: SKILL.md is the whole skill.
Use this skill when you are choosing between integrating RevenueCat or wiring Google Play Billing Library (PBL) directly, and you need to see which concerns disappear, which shift, and which still land on your team. The decision covers both the Android client and any server side infrastructure that supports subscriptions or one time purchases.
Typical questions this skill answers:
Before reading the tables, identify what you are actually evaluating. Sort your requirement into one of these buckets and jump to the matching section:
| Bucket | Examples | Go to |
|---|---|---|
| Client purchase plumbing | BillingClient, listeners, acknowledgement, consumption | Client side table |
| Server purchase truth | Token validation, RTDN, entitlement state machine | Server side table |
| Out of scope for either | Auth, your user DB, paywall UI, push | Your responsibility table |
If the concern is split (for example, RevenueCat verifies the token but you still need to gate premium content on your API), you own the integration glue even though the verification itself is handled.
| Concern | Raw PBL | RevenueCat |
|---|---|---|
| BillingClient setup and configuration | You write | Handled internally |
| Connection lifecycle and reconnection | You write startConnection(); reconnection is one builder flag since PBL 8 (enableAutoServiceReconnection()) | Handled internally |
| PurchasesUpdatedListener | You write | Replaced by purchase callbacks |
| queryProductDetailsAsync() | You write | Replaced by awaitOfferings() / awaitGetProducts() |
| launchBillingFlow() | You write | Called internally by awaitPurchase() |
| Acknowledgement after purchase | You write | Handled automatically |
| Consumption of consumables | You write | Handled automatically (one time products are consumed unless marked non consumable in the dashboard) |
| queryPurchasesAsync() on launch | You write | Handled internally on connection |
| Retry logic for transient errors | You write | Handled internally by SDK |
| BillingResponseCode handling | You write | Abstracted to PurchasesErrorCode |
| In-app payment recovery messages | You write | Automatic (showInAppMessagesAutomatically = true) |
| Subscription option selection for offers | You write | defaultOption selected automatically |
| Concern | Raw PBL | RevenueCat |
|---|---|---|
| Google Play Developer API integration | You build | RevenueCat backend |
| Service account credential management | You manage | Configured once in RC dashboard |
| Receipt verification on every purchase | You build | Automatic |
| Purchase token validation and deduplication | You build | RevenueCat backend |
| linkedPurchaseToken chain traversal | You build | RevenueCat backend |
| RTDN processing and dispatch | You build | RevenueCat processes, sends webhooks |
| Cloud Pub/Sub setup | You set up topic, subscription, and push endpoint | Enable Pub/Sub once; RevenueCat creates the topic and you paste it into Play Console (strongly recommended; needed for DEFERRED plan changes and one time refunds) |
| Subscription state machine on backend | You build | CustomerInfo computed by RC |
| Entitlement computation across 8 states | You build | isActive computed by RC |
| Grace period / account hold tracking | You build | billingIssueDetectedAt |
| Cancellation with access-until-expiry logic | You build | isActive + unsubscribeDetectedAt |
| Subscription deferral | Direct Google Play Developer API call (your backend) | REST API POST /v1/subscribers/{app_user_id}/subscriptions/{product_identifier}/defer |
| Subscription revocation and refund | Direct Google Play Developer API call (your backend) | REST API .../subscriptions/{product_identifier}/revoke or .../transactions/{store_transaction_identifier}/refund |
| Price cohort tracking | You build | Not tracked per subscriber on Google Play (RC assumes renewal at the purchase price); manage legacy cohorts in Play Console |
| Product-to-entitlement mapping | You build | Configured in RC dashboard |
| Concern | Notes |
|---|---|
| User authentication system | You bring your own; pass user ID to RC |
| Your own database of users | RC is not your primary user database |
| Premium content server side | Verify via RC REST API or webhooks |
| Webhook receiver endpoint | You build; RC sends, you receive |
| Play Console product creation | Still done in Play Console |
| Alternative billing programs | Not supported by the RevenueCat SDK (11.1.0); integrate the Play Billing Library directly |
| App UI (paywalls, onboarding) | You build (RC Paywalls UI optional) |
| Push notifications for payment issues | You build on top of webhook events |
Use these rules to convert the tables into a decision:
appUserID and verifying entitlements server side via the REST API or webhooks is still on you.Quick gate:
need custom RTDN pipeline? -> raw PBL only if you must own it end to end
need deferral or revocation? -> RevenueCat REST API v1 defer/revoke endpoints
need fast time to production? -> RevenueCat, then add raw PBL escape hatches later
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub revenuecat/ai-toolkit --plugin revenuecat-play-billing20 skills in this plugin
/rc-alternative-billingUse this skill when scoping Google Play alternative billing work with RevenueCat Android SDK 11.x. Documents the support status as of purchases-android 11.1.0, which flows RevenueCat abstracts, and which require direct integration./rc-backendUse this skill when your backend needs to read or update RevenueCat state on Android. Covers the RevenueCat REST API (v1 subscribers endpoint, grant/revoke entitlements, attributes), secret vs public SDK API key usage, and why you do not build a receipt verification backend with RevenueCat./rc-cancellations-pauses-winbackOther plugins' skills for the same job