Skip to content

Commit

Permalink
Publish pay v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JlUgia committed Dec 23, 2024
1 parent 006fcac commit c55bd22
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions pay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 3.0.0 (2024-12-23)
### ⚠ BREAKING CHANGE
Introduce an event channel to communicate the Flutter and native ends for Android integrations. This change is only breaking for users of the [advanced integration](https://pub.dev/packages/pay#advanced-usage). Other paths are unaffected and can use this version transparently.

### Features

* Use an event channel to handle payment result information on Android.
* Add a complete example of the advanced integration path (see [`advanced.dart`](example/lib/advanced.dart)).

### Fixes
* ([#277](https://github.com/google-pay/flutter-plugin/issues/277), [#274](https://github.com/google-pay/flutter-plugin/issues/274), [#261](https://github.com/google-pay/flutter-plugin/issues/261), [#206](https://github.com/google-pay/flutter-plugin/issues/206)) Avoid lifecycle conflicts on Android when the activity managing the payment operation is re-created before the payment result is returned.

## 3.0.0-beta.2 (2024-10-10)
Include logic to prevent a subscription for payment result `EventChannel`s from being created on platforms that don't support it.

Expand Down
2 changes: 1 addition & 1 deletion pay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To start using this plugin, add `pay` as a [dependency in your pubspec.yaml file

```yaml
dependencies:
pay: ^3.0.0-beta.2
pay: ^3.0.0
```
Define the configuration for your payment provider(s). Take a look at the parameters available in the documentation for [Apple Pay](https://developer.apple.com/documentation/passkit/pkpaymentrequest) and [Google Pay](https://developers.google.com/pay/api/android/reference/request-objects), and explore the [sample configurations in this package](https://github.com/google-pay/flutter-plugin/tree/main/pay/example/lib/payment_configurations.dart).
Expand Down
4 changes: 2 additions & 2 deletions pay/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

name: pay
description: A plug-in to add support for payments on Flutter applications.
version: 3.0.0-beta.2
version: 3.0.0
repository: https://github.com/google-pay/flutter-plugin/tree/main/pay

environment:
Expand All @@ -34,7 +34,7 @@ dependencies:
sdk: flutter
flutter_localizations:
sdk: flutter
pay_android: ^3.0.0-beta.1
pay_android: ^3.0.0
pay_ios: ^1.0.12
pay_platform_interface: ^2.0.0
meta: ^1.10.0
Expand Down

0 comments on commit c55bd22

Please sign in to comment.