RevenueCat / purchases-flutter

Flutter plugin for in-app purchases and subscriptions. Supports iOS, macOS and Android.
https://www.revenuecat.com/
MIT License
609 stars 170 forks source link
android flutter flutter-plugin hacktoberfest iap ios stripe

RevenueCat
[![pub package](https://img.shields.io/pub/v/purchases_flutter.svg)](https://pub.dartlang.org/packages/purchases_flutter) ## purchases_flutter *purchases_flutter* is a client for the [RevenueCat](https://www.revenuecat.com/) subscription and purchase tracking system. It is an open source framework that provides a wrapper around `StoreKit`, `Google Play Billing` and the RevenueCat backend to make implementing in-app subscriptions in `Flutter` easy - receipt validation and status tracking included! ## Features | | RevenueCat | | --- | --- | ✅ | Server-side receipt validation ➡️ | [Webhooks](https://docs.revenuecat.com/docs/webhooks) - enhanced server-to-server communication with events for purchases, renewals, cancellations, and more 🎯 | Subscription status tracking - know whether a user is subscribed whether they're on iOS or Android 📊 | Analytics - automatic calculation of metrics like conversion, mrr, and churn 📝 | [Online documentation](https://docs.revenuecat.com/docs/flutter) and [SDK Reference](https://pub.dev/documentation/purchases_flutter/latest/) up to date 🔀 | [Integrations](https://www.revenuecat.com/integrations) - over a dozen integrations to easily send purchase data where you need it 💯 | Well maintained - [frequent releases](https://github.com/RevenueCat/purchases-flutter/releases) 📮 | Great support - [Help Center](https://revenuecat.zendesk.com) ## Installation To use this plugin, add `purchases_flutter` as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/). ### Requirements *purchases_flutter* requires Xcode 14.0+ and minimum targets iOS 13.0+/Android SDK 21+ (Android 5.0+). ## SDK Reference Our full SDK reference [can be found here](https://pub.dev/documentation/purchases_flutter/latest/). ## Getting Started For more detailed information, you can view our complete documentation at [docs.revenuecat.com](https://docs.revenuecat.com/docs/flutter).