FLUTTER ECOSYSTEM

in_app_purchase

A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.

Latest version
3.3.1
30-day downloads
559K
Likes
2.5K
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The in_app_purchase package provides a Flutter plugin for integrating in-app purchases into mobile applications. It enables developers to manage subscriptions and consumable products through native APIs on Android (Google Play) and iOS (App Store). The package offers a unified interface to query product details, initiate purchases, and handle transaction receipts, simplifying cross-platform implementation. It supports both sandbox and production environments, making it suitable for testing and live deployment.

Use cases
  • Implementing subscription models
  • Selling digital goods
  • Enabling premium content access
  • Managing consumable items
  • Testing purchases in development
  • Handling purchase validation
Key features
  • Cross-platform support for Android and iOS
  • Integration with Google Play and App Store
  • Support for subscriptions and consumables
  • Receipt validation utilities
  • Sandbox environment testing
  • Unified API across platforms
Suitable for
  • Mobile apps requiring monetization
  • Apps with premium features or content
  • Developers building subscription-based services
  • Teams targeting both Android and iOS
  • Projects using Flutter for cross-platform development
Considerations
  • Requires setup of store listings and product configurations
  • Needs proper handling of purchase state changes
  • Depends on platform-specific account settings
  • May require server-side receipt validation
  • Limited to Android and iOS (no web or desktop support)
Supported platformsAndroidiOSmacOS

Install package

flutter pub add in_app_purchase

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects

Rankings