Releases: hyochan/flutter_inapp_purchase
5.6.1
What's Changed
- Erroneous duplicate item by @deakjahn in #441
- Fixed consumable products reading on Android by @33-Elephants in #439
- fix: Support AGP8 namespace by @dev-yakuza in #467
Full Changelog: 5.4.2...5.6.1
5.4.2
What's Changed
- Update actions/stale action to v8 by @renovate in #414
- Fix - wrong casting by @BrunoFSimon in #427
- Fixed consumable product purchase on Android by @33-Elephants in #420
New Contributors
- @BrunoFSimon made their first contribution in #427
- @33-Elephants made their first contribution in #420
Full Changelog: 5.4.1...5.4.2
5.4.1
What's Changed
- Configure Renovate by @renovate in #396
- Update dependency gradle to v4.10.3 by @renovate in #397
- Update dependency androidx.annotation:annotation to v1.6.0 by @renovate in #398
- Update dependency androidx.test.espresso:espresso-core to v3.5.1 by @renovate in #400
- Update dependency androidx.test:runner to v1.5.2 by @renovate in #401
- Update dependency com.android.tools.build:gradle to v7.4.2 by @renovate in #402
- Update dependency gradle to v7.6.1 by @renovate in #403
- Update dependency junit:junit to v4.13.2 by @renovate in #404
- Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.8.10 by @renovate in #405
- Update codecov/codecov-action action to v3 by @renovate in #409
- Update actions/checkout action to v3 by @renovate in #406
- Update actions/stale action to v7 by @renovate in #408
- Update dependency cupertino_icons to v1 by @renovate in #410
- Update dependency gradle to v8 by @renovate in #411
- Update subosito/flutter-action action to v2 by @renovate in #412
- Fixed concurrency issue on iOS. by @OctavianLfrd in #413
New Contributors
Full Changelog: 5.4.0...5.4.1
5.4.0
What's Changed
- Fixed wrong casting in checkSubscribed method by @kleeb in #368
- Upgrade to billing 5.1 (reverse compatible) by @SamBergeron in #392
New Contributors
- @kleeb made their first contribution in #368
- @SamBergeron made their first contribution in #392
Full Changelog: 5.3.0...5.4.0
5.3.0
What's Changed
- Refactor java to kotlin, add showInAppMessageAndroid by @offline-first in #365
New Contributors
- @offline-first made their first contribution in #365
Full Changelog: 5.2.0...5.3.0
5.2.0
5.2.0
Bugfix #356
5.1.1
Run on UiThread and few others (#328)
-
Related #272
-
The main difference is a new MethodResultWrapper class that wraps both the result and the channel. onMethodCall() now immediately saves this wrapped result-channel to a field and only uses that later to set both the result and to send back info on the channel. I did this in both Google and Amazon but I can't test the Amazon one.
-
Included the plugin registration differences.
-
Midified suggested in one of the issues that initConnection, endConnection and consumeAllItems shouldn't be accessors. This is very much so, property accessors are not supposed to do work and have side effects, just return a value. Now three new functions are suggested and marked the old ones deprecated.
Fourth, EnumUtil.getValueString() is not really necessary, we have describeEnum() in the Flutter engine just for this purpose.
5.1.0
5.1.0
Upgrade android billing client to 4.0.0
(#326)
Remove orderId
in Purchase
- This is duplicate of
transactionId
.
Support for Amazon devices with Google Play sideloaded (#313)
5.0.4
- Add iOS promo codes (#325)
- Use http client in validateReceiptIos (#322)
- Amazon
getPrice
directly withoiut formatting (#316)
5.0.3
- Fix plugin exception for
requestProductWithQuantityIOS
#306
5.0.2
- Replaced obfuscatedAccountIdAndroid with obfuscatedAccountId in request purchase method #299
5.0.1
- Add AndroidProrationMode values #273
5.0.0
- Support null safety #275
4.0.2
- The dart side requires "introductoryPriceCyclesAndroid" to be a int #268
4.0.1
platform
dep version>=2.0.0 <4.0.0
4.0.0
- Support flutter v2 #265
3.0.1
3.0.0
- Upgrade android billing client to
2.1.0
from3.0.0
. - Removed
deveoperId
andaccountId
when requestingpurchase
orsubscription
inandroid
. - Added
obfuscatedAccountIdAndroid
andobfuscatedProfileIdAndroid
when requestingpurchase
orsubscription
inandroid
. - Removed
developerPayload
inandroid
. - Added
purchaseTokenAndroid
as an optional parameter torequestPurchase
andrequestSubscription
.
2.3.2
2.3.2
- Add missing dep 'meta'.
2.3.1
Republishing since sourcode seems not merged correctly.
2.3.0
- Bugfix IAPItem deserialization #212
- Add introductoryPriceNumberIOS #214
- Fix iOS promotional offers #220
2.2.0
- Implement
endConnection
method to declaratively finish observer in iOS. - Remove
addTransactionObserver
in IAPPromotionObserver.m for dup observer problems. - Automatically startPromotionObserver in
initConnection
for iOS.
2.1.5
- Fix ios failed purchase handling problem in 11.4+ #176
2.1.4
- Fix dart side expression warning #169.
2.1.3
- Fix wrong introductory price number of periods #164.
2.1.2
- Trigger purchaseUpdated callback when iap purchased #165.
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.5
- [bugfix] Fix double call of result reply on connection init #126
2.0.4
- [bugfix] Fix plugin throws exceptions with flutter v1.10.7 beta #117
2.0.3
- [bugfix] Decode response code for connection updates stream #114
- [bugfix] Fix typo in
consumePurchase
#115
2.0.2
- use ConnectionResult as type for connection stream, fix controller creation #112
2.0.0+16
- Resolve #106 by not sending
result.error
to the listener. Created use_conectionSubscription
.
2.0.0+15
- Fixed minor typo when generating string with
toString
. Resolve #110.
2.0.0+14
- Pass android exception to flutter side.
2.0.0+13
- Android receipt validation api upgrade to
v3
.
2.0.0+12
- Resolve #102. Fluter seems to only sends strings between platforms.
2.0.0+9
- Resolve #101.
2.0.0+8
- Resolve #100.
2.0.0+7
- Resolve #99.
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+3
- Correctly mock invoke method and return results #94
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
Release 0.7.1
New features.
- Support Amazon Kindle.
- Implemented receipt validation.