Skip to content

Commit

Permalink
5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Oct 31, 2023
1 parent 77139bc commit 475e88d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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, <a href="https://namiml.com">NAMI</a>!

<a href="https://namiml.com"><img src="https://github.com/dooboolab-community/react-native-iap/assets/27461460/89d71f61-bb73-400a-83bd-fe0f96eb726e" width="200"/></a>

## 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:.
Expand Down Expand Up @@ -78,7 +71,7 @@ For help on editing plugin code, view the [documentation](https://flutter.io/dev

## Purchase flow in `[email protected]+

![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.
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 475e88d

Please sign in to comment.