Skip to content

Commit

Permalink
Merge pull request #143 from Adyen/feature/releasePreparationV0.0.3
Browse files Browse the repository at this point in the history
Added changelog and updated readme
  • Loading branch information
Robert-SD authored Apr 11, 2024
2 parents a5d4dde + eb754cf commit 8be68c2
Show file tree
Hide file tree
Showing 10 changed files with 253 additions and 43 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.0.3

* ⚠ Introduced the AdvancedCheckoutPreview as a replacement for the AdvancedCheckout. Please
consider using it as we plan to replace the deprecated AdvancedCheckout in the first beta
release.
* Added Google Pay Component.
* Added Apple Pay Component.
* Added support for optional configuration for Apple Pay and Google Pay (Drop-in and Components).
* Updated minimum supported SDK version to Flutter 3.10.6/Dart 3.0.6.

## 0.0.2

* Improved error handling by dismissing Drop-in in case an Apple Pay transaction fails.
Expand Down
265 changes: 233 additions & 32 deletions README.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,4 @@ configurations {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
debugImplementation 'com.squareup.leakcanary:leakcanary-android:3.0-alpha-1'
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ApplePayAdvancedComponentScreen extends StatelessWidget {
Widget _buildAdyenApplePayAdvancedComponent() {
final ApplePayComponentConfiguration applePayComponentConfiguration =
ApplePayComponentConfiguration(
environment: Environment.test,
environment: Config.environment,
clientKey: Config.clientKey,
countryCode: Config.countryCode,
amount: Config.amount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ApplePaySessionComponentScreen extends StatelessWidget {
Widget _buildAdyenApplePaySessionComponent() {
final ApplePayComponentConfiguration applePayComponentConfiguration =
ApplePayComponentConfiguration(
environment: Environment.test,
environment: Config.environment,
clientKey: Config.clientKey,
countryCode: Config.countryCode,
amount: Config.amount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class GooglePayAdvancedComponentScreen extends StatelessWidget {

final GooglePayComponentConfiguration
googlePayComponentConfiguration = GooglePayComponentConfiguration(
environment: Environment.test,
environment: Config.environment,
clientKey: Config.clientKey,
countryCode: Config.countryCode,
amount: Config.amount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class GooglePaySessionsComponentScreen extends StatelessWidget {
Widget _buildAdyenGooglePaySessionComponent() {
final GooglePayComponentConfiguration googlePayComponentConfiguration =
GooglePayComponentConfiguration(
environment: Environment.test,
environment: Config.environment,
clientKey: Config.clientKey,
countryCode: Config.countryCode,
amount: Config.amount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class MultiComponentAdvancedScreen extends StatelessWidget {

final GooglePayComponentConfiguration googlePayComponentConfiguration =
GooglePayComponentConfiguration(
environment: Environment.test,
environment: Config.environment,
clientKey: Config.clientKey,
countryCode: Config.countryCode,
amount: Config.amount,
Expand Down Expand Up @@ -151,7 +151,7 @@ class MultiComponentAdvancedScreen extends StatelessWidget {
) {
final ApplePayComponentConfiguration applePayComponentConfiguration =
ApplePayComponentConfiguration(
environment: Environment.test,
environment: Config.environment,
clientKey: Config.clientKey,
countryCode: Config.countryCode,
amount: Config.amount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class MultiComponentSessionScreen extends StatelessWidget {
Widget _buildAdyenGooglePaySessionComponent() {
final GooglePayComponentConfiguration googlePayComponentConfiguration =
GooglePayComponentConfiguration(
environment: Environment.test,
environment: Config.environment,
clientKey: Config.clientKey,
countryCode: Config.countryCode,
amount: Config.amount,
Expand Down Expand Up @@ -150,7 +150,7 @@ class MultiComponentSessionScreen extends StatelessWidget {
Widget _buildAdyenApplePaySessionComponent() {
final ApplePayComponentConfiguration applePayComponentConfiguration =
ApplePayComponentConfiguration(
environment: Environment.test,
environment: Config.environment,
clientKey: Config.clientKey,
countryCode: Config.countryCode,
amount: Config.amount,
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: adyen_checkout
description: Adyen checkout library for Flutter. Accept payments with cards, wallets and local payment methods in your app using our Drop-in and Components.
version: 0.0.2
version: 0.0.3
repository: https://github.com/Adyen/adyen-flutter
issue_tracker: https://github.com/Adyen/adyen-flutter/issues
documentation: https://docs.adyen.com/online-payments/build-your-integration
Expand All @@ -14,7 +14,7 @@ topics:

environment:
sdk: ^3.0.6
flutter: ">=3.3.0"
flutter: ">=3.10.6"

dependencies:
flutter:
Expand Down

0 comments on commit 8be68c2

Please sign in to comment.