flutter_inapp_purchase 6.0.0-rc.3 copy "flutter_inapp_purchase: ^6.0.0-rc.3" to clipboard
flutter_inapp_purchase: ^6.0.0-rc.3 copied to clipboard

In App Purchase plugin for flutter. This project has been forked by react-native-iap and we are willing to share same experience with that on react-native.

flutter_inapp_purchase #

Pub Version Flutter CI Coverage Status License

A comprehensive Flutter plugin for implementing in-app purchases on iOS and Android platforms.

πŸ“š Documentation #

For comprehensive documentation, installation guides, API reference, and examples, visit:

🌐 flutter-inapp-purchase.hyo.dev

πŸ“¦ Installation #

dependencies:
  flutter_inapp_purchase: ^6.0.0-rc.1

πŸ”§ Quick Start #

import 'package:flutter_inapp_purchase/flutter_inapp_purchase.dart';

// Initialize connection
await FlutterInappPurchase.instance.initConnection();

// Get products
final products = await FlutterInappPurchase.instance.getProducts(['product_id']);

// Request purchase
await FlutterInappPurchase.instance.requestPurchase(
  RequestPurchase(
    ios: RequestPurchaseIosProps(sku: 'product_id'),
    android: RequestPurchaseAndroidProps(skus: ['product_id']),
  ),
  PurchaseType.inapp,
);

πŸ“„ License #

MIT License - see LICENSE file for details.

430
likes
0
points
9.09k
downloads

Publisher

verified publisherdooboolab.com

Weekly Downloads

In App Purchase plugin for flutter. This project has been forked by react-native-iap and we are willing to share same experience with that on react-native.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_hooks, http, meta, platform

More

Packages that depend on flutter_inapp_purchase

Packages that implement flutter_inapp_purchase