Skip to content

Commit

Permalink
Publish pay v3.0.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JlUgia committed Oct 10, 2024
1 parent 997b0bf commit 9008db9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 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-beta.1 (2024-10-10)
### ⚠ 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). The 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.

## 2.0.0 (2024-02-27)
### ⚠ BREAKING CHANGE
Update the Google Pay button to support the last 4 digits of a suitable card for this payment, and extend configuration capabilities.
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: ^2.0.0
pay: ^3.0.0-beta.1
```
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
10 changes: 5 additions & 5 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: 2.0.0
version: 3.0.0-beta.1
repository: https://github.com/google-pay/flutter-plugin/tree/main/pay

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

dev_dependencies:
flutter_test:
sdk: flutter
mockito: ^5.0.8
flutter_lints: ^3.0.1
flutter_lints: ^5.0.0

0 comments on commit 9008db9

Please sign in to comment.