- Enables mocking models by changing overridden operator == parameter type from
dynamictoObject. - Removes unnecessary imports.
- Migrates from
ui.hash*toObject.hash*. - Updates minimum Flutter version to 2.5.0.
- Internal code cleanup for stricter analysis options.
- Removes the dependency on
meta.
- Fixes the
purchaseStreamincorrectly reportingPurchaseStatus.errorwhen user upgrades subscription by deferred proration mode.
- Deprecated the
InAppPurchaseAndroidPlatformAddition.enablePendingPurchases()method andInAppPurchaseAndroidPlatformAddition.enablePendingPurchaseproperty. 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
PurchaseStatusnamedcanceled. This means developers can distinguish between an error and user cancellation.
- Require Dart SDK >= 2.14.
- Update
json_annotationdependency to^4.3.0.
- Fix a broken link in the README.
- Introduced the
SkuDetailsWrapper.introductoryPriceAmountMicrosfield of the correct type (int) and deprecated theSkuDetailsWrapper.introductoryPriceMicrosfield. - Update dev_dependency
build_runnerto ^2.0.0 andjson_serializableto ^5.0.2.
- Ensure that the
SkuDetailsWrapper.introductoryPriceMicrosis populated correctly.
- Ensure that purchases correctly indicate whether they are acknowledged or not. The
PurchaseDetails.pendingCompletePurchasefield now correctly indicates if the purchase still needs to be completed.
- Add
implementsto pubspec. - Updated Android lint settings.
- Removed dependency on the
testpackage.
- 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.queryPastPurchasesmethod.
- Migrate maven repository from jcenter to mavenCentral.
- Initial open-source release.