Git Product home page Git Product logo

purchases-ios's Introduction

๐Ÿ˜ป In-App Subscriptions Made Easy ๐Ÿ˜ป

License Version Version Carthage compatible SwiftPM compatible

Purchases.framework (currently supported)

We're in the process of migrating the entire framework over to Swift ๐ŸŽ‰. The new framework is called RevenueCat.framework. While this migration is happening, you can (and should) still use the currently supported production version you know and love. If you'd like to help us by testing our beta, please feel free!

IMPORTANT: SPM integration note for users of our stable release:

Swift Package Manager (SPM) integration is currently not working as expected. If you wish to use the currently supported and stable Purchases framework (version 3.12.4), you'll need to specify < 4.0.0 or for your dependencies in Xcode. By default, Xcode will specify exactly 4.0.0 and that won't work because we haven't released that version yet, only 4.0.0-beta.x.

RevenueCat.framework Beta

Purchases and RevenueCat are clients for the RevenueCat subscription and purchase tracking system.

Purchases is the currently supported, production-ready, open source framework that provides a wrapper around StoreKit and the RevenueCat backend to make implementing in-app subscriptions in Swift or Objective-C easy - receipt validation and status tracking included!

RevenueCat is our next big release (what we've been calling Purchases V4). It is a rename of Purchases to RevenueCat, and now, 100% Swift. It contains all the same functionality (and almost exactly the same API) as Purchases. It's not a brand-new framework, but rather, a migration of the ObjC bits over to Swift with improved nullability, various bug fixes, and some new features. We're also going to be adding in StoreKit2 support before we ๐Ÿšข it, too! The framework is nearly production-ready, but we're going to keep it in beta while we continue to work on the StoreKit2 bits and iron out any remaining bugs folks find. Keep an eye out over the next few releases if you're excited to try out the StoreKit2 integration- we'll announce when we add it to the beta ๐Ÿ˜„

โš ๏ธ Beta build warning

Are you here because you saw a build warning about being on the Beta?

If you're cool being in the beta, there's nothing more for you to do ๐ŸŽ‰ If you think you've made a mistake:

Getting out of the beta ๐Ÿ˜ฟ

Swift package manager

  • First, you'll need to remove the ReveneCat package from your project.
  • Next, re-add it, but make sure you update the package's repo rules to use 3.0.0 < 4.0.0

Cocoapods

  • You need to use Purchases pod instead of RevenueCat

Carthage

  • You need to use github "RevenueCat/purchases-ios" ~> 3.12 in your Cartfile

Direct Integration

After you get out of the beta

Once you revert to version 3 of the framework you'll need to do a reverse migration. While not explicitly outlined in our API updates doc. You can see the differences between v3 and V4. The changes are mostly naming updates, so don't worry about having to refactor things beyond that.

RevenueCat SDK Features

RevenueCat
โœ… Server-side receipt validation
โžก๏ธ Webhooks - enhanced server-to-server communication with events for purchases, renewals, cancellations, and more
๐Ÿ–ฅ macOS 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 up to date
๐Ÿ”€ Integrations - over a dozen integrations to easily send purchase data where you need it
๐Ÿ’ฏ Well maintained - frequent releases
๐Ÿ“ฎ Great support - Help Center

Getting Started

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

Or browse our iOS sample apps:

purchases-ios's People

Contributors

jeiting avatar aboedo avatar vegaro avatar taquitos avatar tiinanguyen avatar nachosoto avatar juanpe avatar codykerns avatar revenuecat-ops avatar beylmk avatar rkotzy avatar timac avatar dependabot[bot] avatar a2 avatar davedelong avatar fotidim avatar joshdholtz avatar mshmoustafa avatar ethervoid avatar dylanmaryk avatar douglashill avatar alfondotnet avatar coreyrab avatar denandreychuk avatar ekurutepe avatar lapfelix avatar lorienman avatar javierdemartin avatar mergesort avatar keleftheriou avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.