Swiftpack.co - RevenueCat/purchases-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by RevenueCat.
RevenueCat/purchases-ios playgrounds-test-4.13.3
In-app purchases and subscriptions made easy. Support for iOS, iPadOS, watchOS, and Mac.
⭐️ 1,906
🕓 16 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/RevenueCat/purchases-ios.git", from: "playgrounds-test-4.13.3")

😻 In-App Subscriptions Made Easy 😻

License Version Carthage compatible SwiftPM compatible

RevenueCat is a powerful, reliable, and free to use in-app purchase server with cross-platform support. Our open-source framework provides a backend and a wrapper around StoreKit and Google Play Billing to make implementing in-app purchases and subscriptions easy.

Whether you are building a new app or already have millions of customers, you can use RevenueCat to:

  • Fetch products, make purchases, and check subscription status with our native SDKs.
  • Host and configure products remotely from our dashboard.
  • Analyze the most important metrics for your app business in one place.
  • See customer transaction histories, chart lifetime value, and grant promotional subscriptions.
  • Get notified of real-time events through webhooks.
  • Send enriched purchase events to analytics and attribution tools with our easy integrations.

Sign up to get started for free.


RevenueCat is the client for the RevenueCat subscription and purchase tracking system. It's 100% Swift and compatible with Objective-C.

Migrating from Purchases v3

RevenueCat SDK Features

Server-side receipt validation
➡️ Webhooks - enhanced server-to-server communication with events for purchases, renewals, cancellations, and more
🖥 iOS, tvOS, macOS, watchOS, Mac Catalyst, and visionOS support
🎯 Subscription status tracking - know whether a user is subscribed whether they're on iOS, Android or web
📊 Analytics - automatic calculation of metrics like conversion, mrr, and churn
📝 Online documentation and SDK Reference up to date
🔀 Integrations - over a dozen integrations to easily send purchase data where you need it
💯 Well maintained - frequent releases
📮 Great support - Contact us

Getting Started

For more detailed information, you can view our complete documentation at docs.revenuecat.com.

Please follow the Quickstart Guide for more information on how to install the SDK.

Or view our iOS sample apps:


  • Xcode 14.0+
Platform Minimum target
iOS 11.0+
tvOS 11.0+
macOS 10.13+
watchOS 6.2+
visionOS 1.0+

SDK Reference

Our full SDK reference can be found here.


Contributions are always welcome! To learn how you can contribute, please see the Contributing Guide.


Stars: 1906
Last commit: 1 hour ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

9 hours ago


  • Paywalls: don't display progress view in LoadingPaywallView (#3235) via NachoSoto (@NachoSoto)
  • Paywalls: don't display "Purchases restored successfully" if nothings was restored (#3233) via NachoSoto (@NachoSoto)
  • Paywalls: avoid displaying offer details twice on .condensedFooters (#3230) via NachoSoto (@NachoSoto)
  • Paywalls: improved footerView to use .continuous rounded corners (#3222) via NachoSoto (@NachoSoto)

Dependency Updates

  • Bump danger from 9.3.1 to 9.3.2 (#3229) via dependabot[bot] (@dependabot[bot])
  • Bump fastlane from 2.215.1 to 2.216.0 (#3228) via dependabot[bot] (@dependabot[bot])
  • Bump fastlane from 2.214.0 to 2.215.1 (#3221) via dependabot[bot] (@dependabot[bot])

Other Changes

  • Paywalls: removed unused property (#3226) via NachoSoto (@NachoSoto)
  • Configuration: log warning if attempting to use observer mode with StoreKit 2 (#3066) via NachoSoto (@NachoSoto)
  • PurchasedProductsFetcher: refactored fetchTransactions (#3225) via NachoSoto (@NachoSoto)
  • CI: updated iOS 17 simulator (#3223) via NachoSoto (@NachoSoto)
  • Integration Tests: prevent false positives when purchasing returns 5xx (#3209) via NachoSoto (@NachoSoto)
  • Integration Tests: add coverage for Purchases.customerInfoStream (#3213) via NachoSoto (@NachoSoto)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics