# RevenueCat SDK

In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.

Repository: https://github.com/RevenueCat/purchases-ios
Canonical: https://ross.abutalabs.com/products/revenuecat-sdk
Homepage: https://www.revenuecat.com/
Language: Swift
License: MIT
License Family: permissive
Topics: swift, objective-c, swiftui, iap, ios, apple, storekit, storekit-wrapper, storekit2, hacktoberfest, visionos
Last push: 2026-08-26T18:54:33+00:00
Link (homepage): https://www.revenuecat.com/
Link (site_page): https://www.revenuecat.com/pricing
Link (site_page): https://www.revenuecat.com/docs
Link (site_page): https://www.revenuecat.com/feature/targeting
Link (site_page): https://www.revenuecat.com/feature/experiments

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3236, "days_push": 7, "days_rel": 7, "gap_med": 4, "n_releases_24m": 158}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3057, forks 439 (observed 2026-08-28T04:07:39.766796+00:00)

## What it is
RevenueCat's open-source client SDKs (purchases-ios, react-native-purchases) that wrap StoreKit and Google Play Billing to simplify implementing in-app purchases and subscriptions. They pair with RevenueCat's hosted backend for server-side receipt validation, entitlement management, paywalls, and subscription analytics.

## Use cases
- add in-app subscriptions to an iOS app without managing StoreKit edge cases
- validate receipts server-side and track subscription status across platforms
- build and A/B test paywalls remotely without app updates
- sync purchase events to analytics and attribution tools like Amplitude or AppsFlyer
- migrate existing subscribers to a unified cross-platform subscription backend
- grant promotional subscriptions and view customer purchase history

## When to choose
- you're building a mobile app with subscriptions or one-time in-app purchases on iOS, Android, or cross-platform frameworks
- you want a hosted subscription backend instead of writing your own receipt validation
- you need paywalls, experiments, and subscription analytics out of the box
- you want free usage up to $2,500 monthly tracked revenue

## When to avoid
- you need fully self-hosted billing with no third-party dependency or hosted service
- your app has no monetization or only sells physical goods outside app stores
- you can't accept RevenueCat's pricing model of 1% of tracked revenue above the free tier
- you only need a thin StoreKit 2 wrapper and don't want a backend service

## Facets
- artifact type: library
- maturity: stable
- function: sdk, auth, webhook, analytics, api-framework
- domain: mobile-development, fintech, e-commerce, developer-tools, apis
- platform: cross-platform
- tags: in-app-purchases, storekit, subscriptions, receipt-validation, paywalls, react-native, monetization, app-store, ios, macos, mobile, swift, android, web-server

## Member repositories
- RevenueCat/purchases-ios (sdk) score 95
- RevenueCat/react-native-purchases (sdk) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:39.766796+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:28:48.551781+00:00, confidence not recorded.
  - readme: https://github.com/RevenueCat/purchases-ios (fetched 2026-08-28T04:07:39.766796+00:00, sha 01f2266006de)
  - homepage: https://www.revenuecat.com/ (fetched 2026-08-29T09:44:14.406618+00:00, sha 9f21f1982305)
  - site_page: https://www.revenuecat.com/docs (fetched 2026-08-29T09:44:14.418616+00:00, sha 091be55cf1b6)
  - site_page: https://www.revenuecat.com/docs/welcome/overview (fetched 2026-08-29T09:44:14.427359+00:00, sha fceaf9e202e5)
  - site_page: https://www.revenuecat.com/docs/migrating-to-revenuecat/migration-paths (fetched 2026-08-29T09:44:14.429128+00:00, sha f24caccc1994)
  - site_page: https://www.revenuecat.com/pricing (fetched 2026-08-29T09:44:14.416344+00:00, sha 717eb60b984a)
  - site_page: https://www.revenuecat.com/feature/targeting (fetched 2026-08-29T09:44:14.420359+00:00, sha e29bfde10576)
  - site_page: https://www.revenuecat.com/feature/experiments (fetched 2026-08-29T09:44:14.421980+00:00, sha 5f951efcbb53)
  - site_page: https://www.revenuecat.com/integrations (fetched 2026-08-29T09:44:14.423769+00:00, sha 2809b1ebc51d)
  - site_page: https://www.revenuecat.com/changelog (fetched 2026-08-29T09:44:14.425623+00:00, sha aae59c43bb70)
- Data as of 2026-08-30T08:39:29.467469+00:00.
