- Add
pixto theGooglePayButtonTypeenum. This enables the PIX button type on the Google Pay button for Pix integrations.
- Remove inexisting version of the
androidx.test:rulesdependency.
- Introduce more detailed error messages in the result of the payment operation object. You can use this information to troubleshoot and debug your integrations at build time, and react to unexpected errors at runtime.
- (#279) Conform a schema for every call to prevent unexpected properties in requests.
Introduce an event channel to communicate the Flutter and native ends using a continuous stream of information. Take a look at the README to see an example.
- Add a separate event channel (named
plugins.flutter.io/pay/payment_result) to handle payment result information.
- (#277, #274, #261, #206) Avoid lifecycle conflicts when the activity managing the payment operation is re-created before the payment result is returned.
Introduce an event channel to communicate the Flutter and native ends using a continuous stream of information. This addresses various challenges derived from activity lifecycle management events on Android
- Add a separate event channel (named
plugins.flutter.io/pay/payment_result) to handle payment result information. AnEventChannelobject is required to consume this information.
- (#277, #274, #261, #206) Avoid lifecycle conflicts when the activity managing the payment operation is re-created before the payment result is returned.
Update the Google Pay button to support the last 4 digits of a suitable card for this payment, and extend its configuration capabilities.
- Introduce the new dynamic button for Google Pay (#110). This view is part of the Google Pay Android SDK, and handles graphics and translations. The component also introduces updates to the Google Pay button. This includes:
- ⚠ Adding the
paymentConfigurationmandatory parameter to configure the dynamic component of the button. - ⚠ Removing the
addproperty inGooglePayButtonType. If you are using this package to integrate the Google Wallet API, stay tuned for updates on a new plugin for Google Wallet coming soon. - ⚠ Renaming the
GooglePayButtonStyletoGooglePayButtonThemeto increase consistency with the Android API. - Adding the
cornerRadiusparameter to let you adjust the corner roundness of the button (#187).
- ⚠ Adding the
- Update the minimum supported SDK version to Flutter 3.10/Dart 3.0 (#233).
- Use
flutter_lintsfor static checks (#182, #210).
Update the Google Pay button to support the last 4 digits of a suitable card for this payment, and extend its configuration capabilities.
- Introduce the new dynamic button for Google Pay (#110). This view is part of the Google Pay Android SDK, and handles graphics and translations. The component also introduces updates to the Google Pay button. This includes:
- ⚠ Adding the
paymentConfigurationmandatory parameter to configure the dynamic component of the button. - ⚠ Removing the
addproperty inGooglePayButtonType. If you are using this package to integrate the Google Wallet API, stay tuned for updates on a new plugin for Google Wallet coming soon. - ⚠ Renaming the
GooglePayButtonStyletoGooglePayButtonThemeto increase consistency with the Android API. - Adding the
cornerRadiusparameter to let you adjust the corner roundness of the button (#187).
- ⚠ Adding the
- Update the minimum supported SDK version to Flutter 3.10/Dart 3.0 (#233).
- Use
flutter_lintsfor static checks (#182, #210).
- Update dependencies' versions
- Bump
flutter_svgto version 2.0.5.
- Support for the latest platform interface.
- Update the Google Pay button to adhere to the new specification and brand guidelines.
- Add support for Flutter 3.0
- Update
flutter_svgto1.0.0. - Use the latest
pay_platform_interface.
- Capture the dismissal of the payment selector and expose it to the Flutter end through the
onErrorcallback (#90, #61).
Enrich dartdoc comments to facilitate the adoption of the package.
- Update dependencies.
- Use absolute routes for intra-repo links.
Initial release of the Android bit for the pay plugin.
- Includes a button widget with the flavors and styles available for Google Pay.