iap_quick 0.0.9 copy "iap_quick: ^0.0.9" to clipboard
iap_quick: ^0.0.9 copied to clipboard

This plugin makes integrating **In-App Purchase** in your Flutter app easy and fast. With a simple API, multi-platform support, and secure payment processing, this plugin lets you focus on user experi [...]

πŸ›οΈ Easy In-App Purchase Plugin for Flutter #

πŸš€ Introduction #

This plugin makes integrating In-App Purchase in your Flutter app easy and fast. With a simple API, multi-platform support, and secure payment processing, this plugin lets you focus on user experience without worrying about complex technical issues.


✨ Key Features #

  • βœ… Supports Google Play & App Store
  • πŸ”§ Quick integration, just a few lines of code
  • πŸ”’ Secure payment processing, with automatic transaction verification
  • πŸ”„ Supports subscriptions & one-time purchases
  • πŸ“‘ Real-time transaction status updates

πŸ“¦ Installation #

Add this to your pubspec.yaml:

dependencies:
  iap_quick: latest_version

Then run:

flutter pub get

πŸš€ Usage #

Initialize IAP #

final iap = IAPQuick();
final available = await iap.isAvailable();

Fetch Products #

final response = await iap.queryProductDetails({'id1,id2,id3'});

Restore Purchases #

await iap.restorePurchases();

Purchase Products #

Buy a Consumable Product

await iap.buyConsumable(productDetails);

Buy a Non-Consumable Product

await iap.buyNonConsumable(productDetails);

Listen to Purchase Updates #

iap.listen(
    onData: (List<PurchaseDetails> purchases) {},
    int millisecondsDelay = 1,  
    bool isRestore = false,  
    onDone: () {},
    onError: () {},
    cancelOnError: true);

Dispose IAP Instance #

await iap.dispose();

🀝 Contribute #

We welcome community contributions. Feel free to submit pull requests or report issues.


🐞 Issues and Feedback #

Please file an issue to send feedback or report a bug. Thank you!


πŸ“œ License #

MIT License.


"Buy Me A Coffee"

Made with ❀️ by minhto28

2
likes
0
points
198
downloads

Publisher

verified publishermgorki.id.vn

Weekly Downloads

This plugin makes integrating **In-App Purchase** in your Flutter app easy and fast. With a simple API, multi-platform support, and secure payment processing, this plugin lets you focus on user experience without worrying about complex technical issues.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, in_app_purchase, in_app_purchase_storekit

More

Packages that depend on iap_quick

Packages that implement iap_quick