File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## 6.1.0
4+
5+ ### Breaking Changes
6+
7+ - ** API Cleanup** : Removed all deprecated methods that were marked for removal in 6.0.0
8+ - Removed ` initialize() ` - use ` initConnection() ` instead
9+ - Removed ` checkSubscribed() ` - implement custom logic with ` getAvailablePurchases() `
10+ - Removed ` showInAppMessageAndroid() ` - no longer supported
11+ - Removed ` manageSubscription() ` - use ` deepLinkToSubscriptionsAndroid() ` instead
12+ - Removed ` openPlayStoreSubscriptions() ` - use ` deepLinkToSubscriptionsAndroid() ` instead
13+ - Removed ` clearTransactionIOS() ` - no longer needed
14+ - Removed ` showPromoCodesIOS() ` - use ` presentCodeRedemptionSheetIOS() ` instead
15+ - Removed ` getPromotedProductIOS() ` and ` requestPromotedProductIOS() ` - use standard purchase flow
16+ - Removed ` requestProductWithOfferIOS() ` and ` requestPurchaseWithQuantityIOS() ` - use ` requestPurchase() ` with RequestPurchase object
17+ - Removed ` consumePurchaseAndroidLegacy() ` and ` validateReceiptAndroidLegacy() ` - use modern equivalents
18+ - Removed ` deepLinkToSubscriptionsAndroidLegacy() ` - use ` deepLinkToSubscriptionsAndroid() `
19+ - Removed ` acknowledgePurchaseAndroid() ` - use ` finishTransaction() ` instead
20+
21+ ### Improvements
22+
23+ - ** Code Quality** : Removed internal legacy methods and cleaned up codebase
24+ - Removed ` _requestPurchaseOld() ` internal method
25+ - Consolidated duplicate functionality
26+ - Improved type safety and consistency
27+
28+ ### Migration Guide
29+
30+ If you're upgrading from 6.0.x and were using any deprecated methods:
31+ - Replace ` initialize() ` with ` initConnection() `
32+ - Replace ` acknowledgePurchaseAndroid() ` with ` finishTransaction() `
33+ - Use ` requestPurchase() ` with proper RequestPurchase objects instead of platform-specific methods
34+ - Use ` presentCodeRedemptionSheetIOS() ` for promo codes on iOS
35+
336## 6.0.2
437
538### Bug Fixes
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: flutter_inapp_purchase
22description : In App Purchase plugin for flutter. This project has been forked by
33 react-native-iap and we are willing to share same experience with that on
44 react-native.
5- version : 6.0.2
5+ version : 6.1.0
66homepage : https://github.com/hyochan/flutter_inapp_purchase/blob/main/pubspec.yaml
77environment :
88 sdk : " >=3.0.0 <4.0.0"
You can’t perform that action at this time.
0 commit comments