From 475e88d06088e73a4e14cfad749453cc3f7f1113 Mon Sep 17 00:00:00 2001 From: hyochan Date: Wed, 1 Nov 2023 02:04:02 +0900 Subject: [PATCH] 5.5.0 --- .github/workflows/ci.yml | 7 ++++--- CHANGELOG.md | 10 ++++++++++ README.md | 9 +-------- pubspec.yaml | 6 +++--- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13a1c506..82202f51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,15 +10,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v3 with: + distribution: 'adopt' java-version: "14.x" - uses: subosito/flutter-action@v2 with: channel: "stable" - flutter-version: "2.x" + flutter-version: "3.x" - run: flutter pub get diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bf6089f..3b678d5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 5.5.0 +* Erroneous duplicate item (#441) - Remove extra `introductoryPricePaymentModeIOS` +* chore(deps): migrate internal packages to recent + ``` + http: ^1.1.0 + meta: ^1.10.0 + platform: ^3.1.3 + ``` +* chore: migrate example project to recent flutter version, 3.16.0-0.3.pre + ## 5.4.2 ## What's Changed * Update actions/stale action to v8 by @renovate in https://github.com/dooboolab-community/flutter_inapp_purchase/pull/414 diff --git a/README.md b/README.md index db43e1a4..6efb125c 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,6 @@ This packages is compatible with flutter v2 from `4.0.0`. For those who use older version please use `< 4.0.0`. -## Sponsors - -### 2023-09-23 -Exciting news! Five years after developing this repository, we've secured an official sponsor. It feels like a ray of hope for a project that was on the brink of extinction. This gives me ample motivation to rejuvenate this project. I hope we can get more support so that we can collaborate with more individuals in the future. Thank you, NAMI! - - - ## Sun Rise :sunrise: Since many one of you wanted me to keep working on this plugin in [#93](https://github.com/dooboolab/flutter_inapp_purchase/issues/93), I've decided to keep working on current project. I hope many one of you can help me maintain this. Thank you for all your supports in advance :tada:. @@ -78,7 +71,7 @@ For help on editing plugin code, view the [documentation](https://flutter.io/dev ## Purchase flow in `flutter_inapp_purchase@2.0.0+ -![purchase-flow-sequence](https://github.com/dooboolab/react-native-iap/blob/main/docs/react-native-iapv3.svg) +![purchase-flow-sequence](https://react-native-iap.dooboolab.com/assets/images/react-native-iapv3-8467b005f57bac1f11896c06e15577aa.svg) > When you've successfully received result from `purchaseUpdated` listener, you'll have to `verify` the purchase either by `acknowledgePurchaseAndroid`, `consumePurchaseAndroid`, `finishTransactionIOS` depending on the purchase types or platforms. You'll have to use `consumePurchaseAndroid` for `consumable` products and `android` and `acknowledgePurchaseAndroid` for `non-consumable` products either `subscription`. For `ios`, there is no differences in `verifying` purchases. You can just call `finishTransaction`. If you do not verify the purchase, it will be refunded within 3 days to users. We recommend you to `verifyReceipt` first before actually finishing transaction. Lastly, if you want to abstract three different methods into one, consider using `finishTransaction` method. diff --git a/pubspec.yaml b/pubspec.yaml index 2eee25f4..778aad30 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_inapp_purchase description: 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. -version: 5.4.2 +version: 5.5.0 homepage: https://github.com/dooboolab/flutter_inapp_purchase/blob/main/pubspec.yaml environment: sdk: ">=2.12.0 <4.0.0" @@ -12,14 +12,14 @@ dependencies: flutter: sdk: flutter http: ^1.1.0 - meta: ^1.10.0 + meta: ^1.9.1 platform: ^3.1.3 dev_dependencies: flutter_test: sdk: flutter mockito: ^5.4.2 - test: ^1.24.9 + test: ^1.24.3 # For information on the generic Dart part of this file, see the # following page: https://www.dartlang.org/tools/pub/pubspec