- Deprecated the
InAppPurchaseAndroidPlatformAddition.enablePendingPurchases()
method andInAppPurchaseAndroidPlatformAddition.enablePendingPurchase
property. Since Google Play no longer accepts App submissions that don't support pending purchases it is no longer necessary to acknowledge this through code. - Updates example app Android compileSdkVersion to 31.
- BREAKING CHANGE : Refactor to handle new
PurchaseStatus
namedcanceled
. This means developers can distinguish between an error and user cancellation.
- Require Dart SDK >= 2.14.
- Update
json_annotation
dependency to^4.3.0
.
- Fix a broken link in the README.
- Introduced the
SkuDetailsWrapper.introductoryPriceAmountMicros
field of the correct type (int
) and deprecated theSkuDetailsWrapper.introductoryPriceMicros
field. - Update dev_dependency
build_runner
to ^2.0.0 andjson_serializable
to ^5.0.2.
- Ensure that the
SkuDetailsWrapper.introductoryPriceMicros
is populated correctly.
- Ensure that purchases correctly indicate whether they are acknowledged or not. The
PurchaseDetails.pendingCompletePurchase
field now correctly indicates if the purchase still needs to be completed.
- Add
implements
to pubspec. - Updated Android lint settings.
- Removed dependency on the
test
package.
- Updated installation instructions in README.
- Added price currency symbol to SkuDetailsWrapper.
- Fixed typos.
- Added support for launchPriceChangeConfirmationFlow in the BillingClientWrapper and in InAppPurchaseAndroidPlatformAddition.
- Add payment proxy.
- Added support for isFeatureSupported in the BillingClientWrapper and in InAppPurchaseAndroidPlatformAddition.
- Added support for the obfuscatedAccountId and obfuscatedProfileId in the PurchaseWrapper.
- Added support to request a list of active subscriptions and non-consumed one-time purchases on Android, through the
InAppPurchaseAndroidPlatformAddition.queryPastPurchases
method.
- Migrate maven repository from jcenter to mavenCentral.
- Initial open-source release.