Skip to content

Commit

Permalink
Merge pull request #692 from Adyen/release/4.6.0
Browse files Browse the repository at this point in the history
Release 4.6.0
  • Loading branch information
jreij authored May 11, 2022
2 parents 8f41e42 + c625d2b commit a208fd5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 26 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ If you are upgrading from 3.x.x to a current release, check out our [migration g
Import the Component module for the Payment Method you want to use by adding it to your `build.gradle` file.
For example, for the Drop-in solution you should add:
```groovy
implementation "com.adyen.checkout:drop-in:4.5.0"
implementation "com.adyen.checkout:drop-in:4.6.0"
```
For a Credit Card component you should add:
```groovy
implementation "com.adyen.checkout:card:4.5.0"
implementation "com.adyen.checkout:card:4.6.0"
```

### Client Key
Expand Down
31 changes: 9 additions & 22 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,15 @@
[//]: # ( - Configurations public constructor are deprecated, please use each Configuration's builder to make a Configuration object)

## Added
- Gift Card flow in Drop-in.
- New required Gift Card related methods in `DropInService`:
- `checkBalance` to make the `/paymentMethods/balance` API call and `sendBalanceResult` to return the result.
- `createOrder` to make the `/orders` API call and `sendOrderResult` to return the result.
- `cancelOrder` to make the `/orders/cancel` API call. Result can be returned with `sendResult`.
- `DropInServiceResult.Update` required for the Gift Card flow. Updates drop-in with a new list of payment methods and optionally an order.
- Gift Card Component.
- RTL support.
- Arabic string resource translations.
- Pass a custom `Bundle` to `DropInService` using `DropInConfiguration.Builder.setAdditionalDataForDropInService`. Retrieve this bundle by calling `DropInService.getAdditionalData`.
- The default Google Pay environment will automatically follow the Adyen environment even when calling `GooglePayConfiguration.Builder.setEnvironment` separately. You can still call `GooglePayConfiguration.Builder.setGooglePayEnvironment` to override this default behaviour.
- Ability to remove stored payment methods. Override `DropInService.removeStoredPaymentMethod` and use `sendRecurringResult` to return the result.
- Full billing address form in the card component. Use `CardConfiguration.Builder.setAddressConfiguration` to enable and configure.

## Changed
- Updated Adyen 3DS2 SDK version to `2.2.6`.
## Deprecated
- `Environment.LIVE`. Replace with one of our explicit live environments, same one as your back end. You can find that value in your Customer Area.
- `CardConfiguration.Builder.setAddressVisibility`. Replace with `CardConfiguration.Builder.setAddressConfiguration`.

## Fixed
- Redirects in Android 11. [Privacy changes for package visibility in Android 11](https://developer.android.com/about/versions/11/privacy/package-visibility) requires a fix for [handling redirects using Custom Tabs](https://developers.google.com/web/updates/2020/07/custom-tabs-android-11).
- Crash when the provided shopper `Locale` doesn't have an `ISO3Country`.
- Crash in the Component screen when resuming drop-in after the activity has been destroyed in the background.
- CVC and expiry date fields in Card Component not being validated when empty.
- Various missing translations.

## Removed
- Drop-in being dismissed when tapping anywhere outside of the bottom sheet.
- Soft keyboard navigation (next) not working in some cases in card component.
- Localization issues with standalone components and custom locales.
- Crash in GooglePay availability check.
- Proguard rules. If you had to manually set any Proguard rules related to Drop-in or Components you can remove them.
- Minor visual issues with removing stored payment methods.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ allprojects {
// just for example app, don't need to increment
ext.version_code = 1
// The version_name format is "major.minor.patch(-(alpha|beta|rc)[0-9]{2}){0,1}" (e.g. 3.0.0, 3.1.1-alpha04 or 3.1.4-rc01 etc).
ext.version_name = "4.5.0"
ext.version_name = "4.6.0"

// Code quality
ext.ktlint_version = '0.40.0'
Expand Down
2 changes: 1 addition & 1 deletion example-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ android {
dependencies {
// Checkout
implementation project(':drop-in')
// implementation "com.adyen.checkout:drop-in:4.5.0"
// implementation "com.adyen.checkout:drop-in:4.6.0"

// Dependencies
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_version"
Expand Down

0 comments on commit a208fd5

Please sign in to comment.