A storefront-independent API for purchases in Flutter apps
open sourceBSD-3-Clausefree
in_app_purchase is the Flutter team's plugin for in-app purchases in a Flutter app, through the App Store on iOS and macOS or Google Play on Android. It gives one Dart API to show the products on sale (consumables, permanent upgrades and subscriptions), load what the user already owns, send the user to the store to buy, and present the subscription offer-code redemption sheet on iOS. Platform-specific APIs for StoreKit and the Play Billing client are there when you need finer control.
Problems it solves
- sell subscriptions and one-time upgrades in my Flutter app on both the App Store and Google Play
- list the products a user already bought in a Flutter app
- one Dart API for in-app purchases instead of separate StoreKit and Play Billing code
Features
- one API over the App Store and Google Play
- consumables, permanent upgrades and subscriptions
- load products the user owns
- subscription offer-code redemption UI on iOS
- platform-specific StoreKit and Play Billing APIs
Alternatives
The same job
These do what in_app_purchase does.
- local_auth Flutter plugin for local authentication with biometrics, passcode, PIN or pattern
