flutter_inapp_purchase 2.1.5 flutter_inapp_purchase: ^2.1.5 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.
2.1.1 #
- Renamed
finishTransactionIOS
argumentpurchaseToken
totransactionId
.
2.1.0 #
finishTransaction
parameter changes topurchasedItem
frompurchaseToken
.- Update android billing client to
2.1.0
from2.0.3
.
2.0.3 #
2.0.0+16 #
- Resolve #106 by not sending
result.error
to the listener. Created use_conectionSubscription
.
2.0.0+14 #
- Pass android exception to flutter side.
2.0.0+13 #
- Android receipt validation api upgrade to
v3
.
2.0.0+6 #
- Send
purchase-error
with purchases returns null.
2.0.0+5 #
- Renamed invoked parameters non-platform specific.
2.0.0+4 #
- Add
deveoperId
andaccountId
when requestingpurchase
orsubscription
inandroid
. Find out more inrequestPurchase
andrequestSubscription
.
2.0.0+2 #
- Seperate long
example
code toexample
readme.
2.0.0+1 #
- Properly set return type
PurchaseResult
of when finishing transaction.
2.0.0 🎉 #
- Removed deprecated note in the
readme
. - Make the previous tests work in
travis
. - Documentation on
readme
for breaking features. - Abstracts
finishTransaction
.acknowledgePurchaseAndroid
,consumePurchaseAndroid
,finishTransactionIOS
.
[Android]
- Completely remove prepare.
- Upgrade billingclient to 2.0.3 which is currently recent in Sep 15 2019.
- Remove [IInAppBillingService] binding since billingClient has its own functionalities.
- Add [DoobooUtils] and add
getBillingResponseData
that visualizes erorr codes better. buyProduct
no more return asyn result. It rather relies on thepurchaseUpdatedListener
.- Add feature method
acknowledgePurchaseAndroid
- Implement
acknowledgePurchaseAndroid
. - Renamed
consumePurchase
toconsumePurchaseAndroid
in dart side. - Update test codes.
- Implement
- Renamed methods
buyProduct
torequestPurchase
.buySubscription
torequestSubscription
.
[iOS]
- Implment features in new releases.
- enforce to
finishTransaction
after purchases. - Work with
purchaseUpdated
andpurchaseError
listener as in android. - Feature set from
react-native-iap v3
. - Should call finish transaction in every purchase request.
- Add
IAPPromotionObserver
cocoa touch file - Convert dic to json string before invoking purchase-updated
- Add
getPromotedProductIOS
andrequestPromotedProductIOS
methods - Implement clearTransaction for ios
- Include
purchasePromoted
stream that listens toiap-promoted-product
.
- enforce to
1.0.0 #
- Add
DEPRECATION
note. Please use in_app_purchase.
0.9.+ #
- Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate to Android X if they're using the original support library. Android's Migrating to Android X Guide.
- Improved getPurchaseHistory's speed 44% faster #68.
0.8.+ #
- Fixed receipt validation param for
android
. - Updated
http
package. - Implemented new method
getAppStoreInitiatedProducts
.- Handling of iOS method
paymentQueue:shouldAddStorePayment:forProduct:
- Has no effect on Android.
- Handling of iOS method
- Fixed issue with method
buyProductWithoutFinishTransaction
for iOS, was not getting the productId. - Fixed issue with
toString
method of classIAPItem
, was printing incorrect values. - Fixes for #44. Unsafe getting
originalJson
when restoring item andAndroid
. - Use dictionaryWithObjectsAndKeys in NSDictionary to fetch product values. This will prevent from NSInvalidArgumentException in ios which rarely occurs.
- Fixed wrong npe in
android
whengetAvailablePurchases
.
- Only parse
orderId
when exists inAndroid
to prevent crashing. - Add additional success purchase listener in
iOS
. Related #54
0.7.1 #
- Implemented receiptValidation for both android and ios.
- In Android, you need own backend to get your
accessToken
.
- In Android, you need own backend to get your
0.7.0 #
- Addition of Amazon In-App Purchases.
0.6.9 #
- Prevent nil element exception when getting products.
0.6.8 #
- Prevent nil exception in ios when fetching products.
0.6.7 #
- Fix broken images on pub.
0.6.6 #
- Added missing introductory fields in ios.
0.6.5 #
- convert dynamic objects to PurchasedItems.
- Fix return type for getAvailablePurchases().
- Fix ios null value if optional operator.
0.6.3 #
- Update readme.
0.6.2 #
- Fixed failing when there is no introductory price in ios.
0.6.1 #
- Fixed
checkSubscribed
that can interrupt billing lifecycle.
0.6.0 #
- Major code refactoring by lukepighetti. Unify PlatformException, cleanup new, DateTime instead of string.
0.5.9 #
- Fix getSubscription json encoding problem in
ios
.
0.5.8 #
- Avoid crashing on android caused by IllegalStateException.
0.5.7 #
- Avoid possible memory leak in android by deleting static declaration of activity and context.
0.5.6 #
- Few types fixed.
0.5.4 #
- Fixed error parsing IAPItem.
0.5.3 #
- Fixed error parsing purchaseHistory.
0.5.2 #
- Fix crashing on error.
0.5.1 #
- Give better error message on ios.
0.5.0 #
- Code migration.
- Support subscription period.
- There was parameter renaming in
0.5.0
to identify different parameters sent from the device. Please check the readme.
0.4.3 #
- Fixed subscription return types.
0.4.0 #
- Well formatted code.
0.3.3 #
- Code formatted
- Updated missing data types
0.3.1 #
- Upgraded readme for ease of usage.
- Enabled strong mode.
0.3.0 #
- Moved dynamic return type away and instead give
PurchasedItem
.
0.2.2 #
- Migrated packages from FlutterInApp to FlutterInAppPurchase because pub won't get it.
0.1.0 #
- Initial release of beta
- Moved code from react-native-iap