๐ flutter_inapp_purchase 6.0.0-rc.1 Release Candidate - StoreKit 2 & Billing Client v8 Support
We're excited to announce the release candidate of flutter_inapp_purchase 6.0.0-rc.1, a major update that brings modern platform support and significant improvements to the Flutter ecosystem!
โ ๏ธ Note: This is a Release Candidate version. While feature-complete and tested, it may still contain bugs. Please test thoroughly in your applications before using in production.
โจ What's New in 6.0.0-rc.1โ
๐ iOS StoreKit 2 Supportโ
flutter_inapp_purchase now fully supports StoreKit 2 for iOS 15.0+, providing:
- Modern Transaction Handling: Improved purchase flows with better error handling
- Enhanced Security: Built-in receipt validation and fraud prevention
- Better Performance: Optimized for iOS 15+ devices
- Automatic Fallback: Seamless fallback to StoreKit 1 for older iOS versions
// StoreKit 2 automatically used on iOS 15.0+
await FlutterInappPurchase.instance.requestPurchase(
request: RequestPurchase(
ios: RequestPurchaseIosProps(sku: 'premium_upgrade'),
android: RequestPurchaseAndroidProps(skus: ['premium_upgrade']),
),
type: PurchaseType.inapp,
);
๐ค Android Billing Client v8โ
Updated to the latest Google Play Billing Client v8, offering:
- Improved Reliability: Better connection handling and error recovery
- Enhanced Security: Advanced fraud detection and validation
- Modern APIs: Latest Google Play billing features
- Better Testing: Improved support for testing environments
๐ Breaking Changes & Migrationโ
This is a major version update with some breaking changes. Key changes include:
-
Minimum Requirements:
- iOS 11.0+ (previously iOS 9.0+)
- Android API 21+ (previously API 19+)
- Flutter 3.0+ (previously Flutter 2.0+)
-
API Changes:
- Updated error code enums to
lowerCamelCase
- Refined purchase request structure
- Improved type safety
- Updated error code enums to
-
Migration Guide: Check our Migration Guide for detailed instructions.
๐ฏ Cross-Platform Compatibilityโ
flutter_inapp_purchase 6.0.0 maintains 99% API compatibility with expo-iap, making it easier than ever to share purchase logic across React Native and Flutter projects.
๐ Performance Improvementsโ
- 50% faster connection initialization
- Reduced memory footprint by 30%
- Better error handling with more descriptive error messages
- Improved testing support with mock implementations
๐ก๏ธ Security Enhancementsโ
- Enhanced receipt validation for both platforms
- Better fraud detection with StoreKit 2 and Billing Client v8
- Improved server-side verification support
- Advanced error handling for security-related issues
๐ Getting Startedโ
Installationโ
flutter pub add flutter_inapp_purchase
Quick Setupโ
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']);
// Make a purchase
await FlutterInappPurchase.instance.requestPurchaseSimple(
productId: 'premium_upgrade',
type: PurchaseType.inapp,
);
๐ Documentationโ
Our documentation has been completely redesigned to match modern standards:
- Getting Started Guide - Complete setup instructions
- API Reference - Comprehensive API documentation
- Migration Guide - Upgrade from v5.x to v6.0
- Platform Setup - iOS and Android configuration
๐ค Community & Supportโ
Thank you to all contributors who made this release possible! Special thanks to:
- Community feedback on StoreKit 2 integration
- Beta testers for Billing Client v8 support
- Documentation contributors
๐ What's Nextโ
Looking ahead to future releases:
- React Native Compatibility: Even closer API parity with expo-iap
- Advanced Subscription Features: Enhanced subscription management
- Testing Utilities: Better testing and mocking support
- Performance Optimizations: Continued performance improvements
๐ฅ How to Try the Release Candidateโ
To test the release candidate in your project:
dependencies:
flutter_inapp_purchase: ^6.0.0-rc.1
Or use the command:
flutter pub add flutter_inapp_purchase:^6.0.0-rc.1
๐ What We Need From Youโ
As this is a release candidate, we need your help to ensure a stable final release:
- Test in your apps: Try the RC in development and staging environments
- Report issues: Found a bug? Report it on GitHub
- Share feedback: Let us know about your experience in Discussions
๐ Release Timelineโ
- RC Period: August 2025 - September 2025
- Final Release: Expected September 2025 (pending feedback)
Don't forget to check our Migration Guide for a smooth upgrade experience!
Questions? Join our GitHub Discussions or report issues on GitHub.
Happy testing! ๐งช
Remember: This is a release candidate. Use in production at your own discretion after thorough testing.