RevenueCat / purchases-ios

In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.
https://www.revenuecat.com/
MIT License
2.37k stars 319 forks source link
apple hacktoberfest iap ios objective-c storekit storekit-wrapper storekit2 swift swiftui visionos

๐Ÿ˜ป 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:

Sign up to get started for free.

RevenueCat.framework

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

Migrating from Purchases v4 to v5

Migrating from Purchases v3 to v4

RevenueCat SDK Features

RevenueCat
โœ… 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.

[!TIP] When integrating with SPM, it is recommended to add the SPM mirror repository for faster download/integration times: https://github.com/RevenueCat/purchases-ios-spm

Or view our iOS sample apps:

Requirements

Platform Minimum target
iOS 13.0+
tvOS 13.0+
macOS 10.15+
watchOS 6.2+
visionOS 1.0+

SDK Reference

Our full SDK reference can be found here.

Contributing

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