← All skills
Tencent SkillHub · Developer Tools

In-App Purchases

Implement in-app purchases and subscriptions across iOS, Android, and Flutter with RevenueCat, paywalls, receipt validation, and subscription analytics.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Implement in-app purchases and subscriptions across iOS, Android, and Flutter with RevenueCat, paywalls, receipt validation, and subscription analytics.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, analytics.md, flutter.md, google-play.md, paywalls.md, platforms.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 13 sections Open source page

When to Use

User needs to implement in-app purchases, subscriptions, paywalls, or monetization flows. Agent handles native APIs (StoreKit 2, Google Play Billing), cross-platform SDKs (RevenueCat, Adapty, Qonversion), paywall design, server verification, and subscription analytics.

Quick Reference

TopicFileiOS StoreKit 2storekit.mdAndroid Billinggoogle-play.mdFlutter packagesflutter.mdRevenueCat SDKrevenuecat.mdPlatform comparisonplatforms.mdServer verificationserver.mdPaywall designpaywalls.mdSubscription metricsanalytics.mdTesting & sandboxtesting.md

1. Choose Your Architecture

ApproachWhen to UseTradeoffNative onlySingle platform, full controlMore code, no cross-platform syncRevenueCat/AdaptyCross-platform, fast launch1-2% fee, dependencyHybridNative + own backendFull control, more work

2. Platform SDKs (Managed)

PlatformPricingBest ForRevenueCatFree <$2.5k MTR, then 1%Most apps, best docsAdaptyFree <$10k MTR, then 0.6%Cost-conscious, A/B paywallsQonversionFree <$10k MTR, then 3%Simple setupSuperwallPaywall-focusedPaywall A/B onlyGlassfyFree <$10k, then 0.5%Budget option

3. Product Types

TypeiOSAndroidUse CaseConsumable✅✅Credits, coins, livesNon-consumable✅✅Unlock feature foreverAuto-renewable✅✅SubscriptionsNon-renewing✅❌Season pass, time-limited

4. Server Verification is Non-Negotiable

Never trust client-side validation alone: iOS: App Store Server API with JWS verification Android: Google Play Developer API RevenueCat: Webhooks + REST API

5. Handle All Transaction States

StateActionPurchasedVerify → grant → finishPendingWait, show pending UIFailedShow error, don't grantDeferredWait for parental approvalRefundedRevoke immediatelyGrace periodLimited access, prompt paymentBilling retryMaintain access during retry

6. Subscription Lifecycle Events

Must handle all of these (native or via webhooks): INITIAL_PURCHASE → grant access RENEWAL → extend access CANCELLATION → mark will-expire EXPIRATION → revoke access BILLING_ISSUE → prompt to update payment GRACE_PERIOD → limited access window PRICE_INCREASE → consent required (iOS) REFUND → revoke + flag user UPGRADE/DOWNGRADE → prorate

7. Restore Purchases Always

Required by App Store guidelines: Prominent restore button Works for logged-out users Handles family sharing (iOS) Cross-device sync

8. Paywall Best Practices

See paywalls.md for detailed patterns: Show value before price Anchor pricing (3 options, highlight middle) Free trial prominent Social proof if available A/B test everything

9. Testing Strategy

EnvironmentiOSAndroidDev/DebugStoreKit Config fileLicense testersSandboxSandbox accountsInternal testingProductionReal accountsProduction Sandbox subscription times: 1 week → 3 minutes 1 month → 5 minutes 1 year → 1 hour

10. App Store Guidelines

No external payment links (anti-steering) Must use IAP for digital goods Physical goods/services can use Stripe Reader apps have exceptions 15-30% commission applies

Common Traps

Testing with real money → use sandbox/test accounts Not finishing transactions → auto-refund (Android 3 days) Hardcoding prices → always fetch from store (regional pricing) Missing transaction observer → lose purchases made outside app No server verification → trivially bypassable Ignoring grace period → users churn when they could recover Poor paywall UX → kills conversion regardless of price Not tracking metrics → can't optimize what you don't measure Forgetting restore button → App Store rejection Not handling family sharing → confused users

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
6 Docs
  • SKILL.md Primary doc
  • analytics.md Docs
  • flutter.md Docs
  • google-play.md Docs
  • paywalls.md Docs
  • platforms.md Docs