Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.3.1 #1555

Merged
merged 66 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
c7902f7
Merge pull request #1512 from Adyen/main
jreij Mar 12, 2024
50993e4
Use example file as it is build to allow building from Renovate
jreij Mar 13, 2024
211f30c
Merge pull request #1513 from Adyen/fix/renovate-builds
jreij Mar 13, 2024
a6e36b5
Add CI environment variable to make Renovate builds behave like CI bu…
jreij Mar 13, 2024
893ff04
Merge pull request #1514 from Adyen/fix/renovate-builds
jreij Mar 13, 2024
dfb22f2
Reverse the logic of checking for CI builds by checking if the build …
jreij Mar 13, 2024
a492fbf
Remove custom environment variable
jreij Mar 13, 2024
783d518
Merge pull request #1515 from Adyen/fix/ci-builds
jreij Mar 13, 2024
e9a4f9a
Update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v…
renovate[bot] Mar 13, 2024
f21d1ef
Merge pull request #1495 from Adyen/renovate/compose_viewmodel_version
jreij Mar 13, 2024
eb2139a
Update plugin org.gradle.toolchains.foojay-resolver-convention to v0.8.0
renovate[bot] Mar 13, 2024
dfe5236
Merge pull request #1464 from Adyen/renovate/org.gradle.toolchains.fo…
jreij Mar 13, 2024
4112942
Update dependency androidx.compose:compose-bom to v2024
renovate[bot] Mar 13, 2024
c5a84fd
Merge pull request #1497 from Adyen/renovate/major-compose_bom_version
jreij Mar 13, 2024
5709119
Update detekt_version to v1.23.5
renovate[bot] Mar 13, 2024
d3ca07e
Merge pull request #1493 from Adyen/renovate/detekt_version
jreij Mar 14, 2024
8c0f59d
Update dependency jacoco to v0.8.11
renovate[bot] Mar 14, 2024
f152a72
Merge pull request #1459 from Adyen/renovate/jacoco_version
jreij Mar 14, 2024
bf5f54b
Update plugin io.gitlab.arturbosch.detekt to v1.23.5
renovate[bot] Mar 14, 2024
e613a2a
Merge pull request #1494 from Adyen/renovate/detekt_gradle_plugin_ver…
jreij Mar 14, 2024
5463d3b
Update address lookup docs
ozgur00 Mar 15, 2024
a2ccfdc
Merge pull request #1517 from Adyen/docs/update-lookup
ozgur00 Mar 18, 2024
8b11d93
Update android gradle plugin to 8.3.0
jreij Mar 15, 2024
16177d8
Remove ignored configuration properties versionCode and versionName
jreij Mar 15, 2024
b1d536d
Replace deprecated compileSdkVersion with compileSdk
jreij Mar 15, 2024
6d59a75
Replace minSdkVersion and targetSdkVersion with minSdk and targetSdk
jreij Mar 15, 2024
06bfee3
Replace deprecated android.defaults.buildfeatures.buildconfig
jreij Mar 15, 2024
ea82ba1
Remove unused gradle files
jreij Mar 15, 2024
fbb245d
Fix deprecated/outdated groovy code
jreij Mar 15, 2024
2e54713
Use java 17 with generate_dependency_graph job
jreij Mar 15, 2024
ddb49e8
Update dependency graph
actions-user Mar 15, 2024
f700c6e
Update verification metadata
jreij Mar 15, 2024
5789f1f
Fix manually suppressed TODOs
jreij Mar 18, 2024
533ef40
Clean up verification-metadata.xml by removing unused dependencies
jreij Mar 18, 2024
ff744c4
Merge pull request #1516 from Adyen/update/android-gradle-plugin
jreij Mar 19, 2024
d9268d0
Update verification metadata
jreij Mar 19, 2024
21749fd
Merge pull request #1521 from Adyen/fix/verification-metadata
OscarSpruit Mar 19, 2024
c1f358f
Fix address lookup localization issues
ozgur00 Mar 21, 2024
52e05ce
Merge pull request #1528 from Adyen/fix/lookup-localization
ozgur00 Mar 22, 2024
d1f6e6f
Add missing styles for card
araratthehero Mar 26, 2024
8467834
Add release notes
araratthehero Mar 27, 2024
4279f45
Merge pull request #1534 from Adyen/fix/add_missing_styles_for_addres…
araratthehero Apr 2, 2024
c68b7c4
Update dependency androidx.hilt:hilt-navigation-compose to v1.2.0
renovate[bot] Apr 2, 2024
9b42b7c
Merge pull request #1542 from Adyen/renovate/compose_hilt_version
OscarSpruit Apr 2, 2024
fe7a06e
Update android_gradle_plugin_version to v8.3.1
renovate[bot] Mar 20, 2024
e5b48d5
Update verification metadata
jreij Apr 2, 2024
cb94243
Update release notes
jreij Apr 2, 2024
c718f7a
Merge pull request #1492 from Adyen/renovate/android_gradle_plugin_ve…
jreij Apr 2, 2024
10d25d9
Update SECURITY.md
elhanarinc Apr 3, 2024
63f1920
Make methods to get specific configs from CheckoutConfiguration internal
OscarSpruit Apr 4, 2024
7ea0540
Add release note
OscarSpruit Apr 4, 2024
04563c1
Merge pull request #1550 from Adyen/fix/get-config-accessibility
OscarSpruit Apr 4, 2024
53b5992
Fix duplicate parent styling for AdyenCheckout.DropdownTextInputLayout
OscarSpruit Apr 5, 2024
b8cc724
Merge pull request #1551 from Adyen/fix/drop-down-styling
OscarSpruit Apr 5, 2024
a40c19f
Replace ?android:attr/textColor with ?attr/colorOnSurface
OscarSpruit Apr 5, 2024
29080a2
Add release note
OscarSpruit Apr 5, 2024
9c21e4a
Merge pull request #1552 from Adyen/fix/styling-crash
OscarSpruit Apr 5, 2024
b3665b7
Temporarily fix string resources with multiple substitutions
jreij Apr 5, 2024
4c3e081
Update release notes
jreij Apr 5, 2024
6bae8d8
Merge pull request #1553 from Adyen/fix/string-resources-with-multipl…
jreij Apr 8, 2024
cbaa85e
Correctly merge flows in StatusRepository and add debounce
OscarSpruit Apr 3, 2024
de5ed25
Add release note entry
OscarSpruit Apr 3, 2024
ca58dfe
Merge pull request #1549 from Adyen/fix/status_polling
OscarSpruit Apr 9, 2024
43c7060
Bump version to 5.3.1
jreij Apr 9, 2024
999ddfa
Updating release notes
jreij Apr 10, 2024
b334959
Merge pull request #1554 from Adyen/release/5.3.1
jreij Apr 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/generate_dependency_graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

# Setup Java 17
# https://github.com/marketplace/actions/setup-java-jdk
- name: Set up JDK
uses: actions/setup-java@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
distribution: 'zulu'
java-version: 17
cache: 'gradle'

- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
Expand All @@ -30,4 +36,4 @@ jobs:
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}
branch: ${{ github.ref }}
8 changes: 3 additions & 5 deletions 3ds2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.adyen3ds2'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ fun CheckoutConfiguration.adyen3DS2(
return this
}

fun CheckoutConfiguration.getAdyen3DS2Configuration(): Adyen3DS2Configuration? {
internal fun CheckoutConfiguration.getAdyen3DS2Configuration(): Adyen3DS2Configuration? {
return getActionConfiguration(Adyen3DS2Configuration::class.java)
}

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ Import the corresponding module in your `build.gradle` file.

For Drop-in:
```groovy
implementation "com.adyen.checkout:drop-in-compose:5.3.0"
implementation "com.adyen.checkout:drop-in-compose:5.3.1"
```
For the Credit Card component:
```groovy
implementation "com.adyen.checkout:card:5.3.0"
implementation "com.adyen.checkout:components-compose:5.3.0"
implementation "com.adyen.checkout:card:5.3.1"
implementation "com.adyen.checkout:components-compose:5.3.1"
```

### Without Jetpack Compose

For Drop-in:
```groovy
implementation "com.adyen.checkout:drop-in:5.3.0"
implementation "com.adyen.checkout:drop-in:5.3.1"
```
For the Credit Card component:
```groovy
implementation "com.adyen.checkout:card:5.3.0"
implementation "com.adyen.checkout:card:5.3.1"
```

The library is available on [Maven Central][mavenRepo].
Expand Down
75 changes: 11 additions & 64 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,71 +8,18 @@
[//]: # (## Deprecated)
[//]: # ( - Configurations public constructor are deprecated, please use each Configuration's builder to make a Configuration object)

## New
- A new way to create a configuration using DSL to be more declarative and concise:
```Kotlin
CheckoutConfiguration(
environment = environment,
clientKey = clientKey,
shopperLocale = shopperLocale,
amount = amount,
) {
dropIn {
setEnableRemovingStoredPaymentMethods(true)
}

card {
setHolderNameRequired(true)
setShopperReference("...")
}

adyen3DS2 {
setThreeDSRequestorAppURL("...")
}
}
```

- For the Card Component, you can use the new [Address Lookup functionality](docs/ADDRESS_LOOKUP.md).
- For voucher actions: when the `url` or `downloadUrl` is not included, the shopper has the option to select **Save as image** and save the voucher to the device's `Downloads` folder.
- You can now set your own `AdyenLogger` instance with `AdyenLogger.setLogger`. This gives the ability to intercept logs and handle them in your own way.
- [Instructions](example-app/README.md) to use the testing app in the repository. You can follow `How to migrate` section [here](https://github.com/Adyen/adyen-android/pull/1505).
- Payment methods:
- Multibanco. Payment method type: **multibanco**.
- Pay Easy. Payment method type: **econtext_atm**.
- Convenience Stores Japan. Payment method type: **econtext_stores**
- Online Banking Japan. Payment method type: **econtext_online**.
- Seven-Eleven: Payment method type: **econtext_seven_eleven**

## Fixed
- When building `minifyEnabled` without the `kotlin-parcelize` plugin in your project, the build should no longer crash.
- When handling actions, you no longer get the `IllegalArgumentException: Unsupported delegate type` error that causes a crash.
- For Drop-in and Components, when `?android:attr/textColor` is not defined in your own theme, the Card Component no longer crashes.
- The `onAdditionalDetails` event is now triggered only once. Previously, the event was triggered multiple times in some edge cases.
- The build output no longer contains warnings about multiple substitutions specified in non-positional format in string resources.
- For the Card Component, we fixed localization issues that occurred when using the Address Lookup functionality.
- Overriding some of the XML styles without specifying a parent style no longer causes a build error.

## Deprecated
- When creating a configuration, the `Builder` constructors with a `Context` is deprecated. You can now omit the `context` parameter.
- `PermissionException`. Handle permissions through `ActionComponentCallback`, `SessionComponentCallback`, or `ComponentCallback` callbacks instead.
- The styles for vouchers have been changed:
- | Previous (v5.2.0 or earlier) | Now (v5.3.0) |
|---------------------------------------------|-----------------------------------------------|
| `AdyenCheckout.Voucher.Description.Bacs` | `AdyenCheckout.Voucher.Simple.Description` |
| `AdyenCheckout.Voucher.Description.Boleto` | `AdyenCheckout.Voucher.Full.Description` |
| `AdyenCheckout.Voucher.ExpirationDateLabel` | `AdyenCheckout.Voucher.InformationFieldLabel` |
| `AdyenCheckout.Voucher.ExpirationDate` | `AdyenCheckout.Voucher.InformationFieldValue` |
| `AdyenCheckout.Voucher.ButtonCopyCode` | `AdyenCheckout.Voucher.Button.CopyCode` |
| `AdyenCheckout.Voucher.ButtonDownloadPdf` | `AdyenCheckout.Voucher.Button.DownloadPdf` |
- Logger.LogLevel has been deprecated.
- | Previous (v5.2.0 or earlier) | Now (v5.3.0) |
|------------------------------------------|-------------------------------------------------|
| `Logger.LogLevel` | `AdyenLogLevel` |
| `AdyenLogger.setLogLevel(logLevel: Int)` | `AdyenLogger.setLogLevel(level: AdyenLogLevel)` |
## Removed
- You can no longer use functions like `CheckoutConfiguration.getCardConfiguration()` or `CheckoutConfiguration.getDropInConfiguration()` to get configurations from the `CheckoutConfiguration` object. When starting Drop-in or Components, pass the full `CheckoutConfiguration` object.

## Changed
- When creating a configuration, the `shopperLocale` parameter is now optional.
- Sessions flow: when you don't set it, the shopper locale is set to the value included in the `/sessions` request.
- Advanced flow: when you don't set it, the shopper local is set to the primary user locale on the device.
- For Drop-in, all actions now start in expanded mode.
- For the Google Pay Component, you no longer need to manually import the `3ds2` module to handle transactions that require Native 3D Secure 2 challenge.
- If you use `DropInServiceResult.Error` without specifying an error message, the default has changed from `Error sending payment. Please try again.` to `An unknown error occurred`.
- For the Sessions flow:
- When starting Drop-in (with `DropIn.startPayment`) or creating a Component (with `YourComponent.PROVIDER.get`), the `configuration` parameter is now optional.
- When using `CheckoutSessionProvider.createSession` to create a `CheckoutSession`, you can pass only `environment` and `clientKey` instead of the whole configuration.
- Removing stored payment methods is now handled internally. You no longer need to override the `onRemoveStoredPaymentMethod` function.
- Dependency versions:
| Name | Version |
|--------------------------------------------------------------------------------------------------------|-------------------------------|
| [Android Gradle plugin](https://developer.android.com/build/releases/gradle-plugin) | **8.3.1** |
3 changes: 2 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Disclosing security issues

We welcome reports of possible vulnerabilities or issues as part of our [responsible disclosure policy](https://www.adyen.com/policies-and-disclaimer/responsible-disclosure). For more information check out this page on [how to disclose a security issue](https://help.adyen.com/en_US/knowledge/security/product-security/how-do-i-disclose-a-security-issue).
We welcome reports of possible vulnerabilities or issues as part of our [responsible disclosure policy](https://www.adyen.com/policies-and-disclaimer/responsible-disclosure). For more information go to
[this page](https://www.adyen.com/policies-and-disclaimer/responsible-disclosure).
8 changes: 3 additions & 5 deletions ach/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.ach'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ fun CheckoutConfiguration.achDirectDebit(
return this
}

fun CheckoutConfiguration.getACHDirectDebitConfiguration(): ACHDirectDebitConfiguration? {
internal fun CheckoutConfiguration.getACHDirectDebitConfiguration(): ACHDirectDebitConfiguration? {
return getConfiguration(PaymentMethodTypes.ACH)
}

Expand Down
8 changes: 3 additions & 5 deletions action-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.action.core'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
8 changes: 3 additions & 5 deletions action/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.action'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
8 changes: 3 additions & 5 deletions await/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.await'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
package com.adyen.checkout.await

import android.content.Context
import androidx.annotation.VisibleForTesting
import com.adyen.checkout.components.core.Amount
import com.adyen.checkout.components.core.AnalyticsConfiguration
import com.adyen.checkout.components.core.CheckoutConfiguration
Expand Down Expand Up @@ -105,7 +106,8 @@ fun CheckoutConfiguration.await(
return this
}

fun CheckoutConfiguration.getAwaitConfiguration(): AwaitConfiguration? {
@VisibleForTesting
internal fun CheckoutConfiguration.getAwaitConfiguration(): AwaitConfiguration? {
return getActionConfiguration(AwaitConfiguration::class.java)
}

Expand Down
8 changes: 3 additions & 5 deletions bacs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.bacs'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fun CheckoutConfiguration.bacsDirectDebit(
return this
}

fun CheckoutConfiguration.getBacsDirectDebitConfiguration(): BacsDirectDebitConfiguration? {
internal fun CheckoutConfiguration.getBacsDirectDebitConfiguration(): BacsDirectDebitConfiguration? {
return getConfiguration(PaymentMethodTypes.BACS)
}

Expand Down
8 changes: 3 additions & 5 deletions bcmc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.bcmc'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fun CheckoutConfiguration.bcmc(
return this
}

fun CheckoutConfiguration.getBcmcConfiguration(): BcmcConfiguration? {
internal fun CheckoutConfiguration.getBcmcConfiguration(): BcmcConfiguration? {
return getConfiguration(PaymentMethodTypes.BCMC)
}

Expand Down
8 changes: 3 additions & 5 deletions blik/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.blik'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ fun CheckoutConfiguration.blik(
return this
}

fun CheckoutConfiguration.getBlikConfiguration(): BlikConfiguration? {
internal fun CheckoutConfiguration.getBlikConfiguration(): BlikConfiguration? {
return getConfiguration(PaymentMethodTypes.BLIK)
}

Expand Down
8 changes: 3 additions & 5 deletions boleto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.boleto'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ fun CheckoutConfiguration.boleto(
return this
}

fun CheckoutConfiguration.getBoletoConfiguration(): BoletoConfiguration? {
internal fun CheckoutConfiguration.getBoletoConfiguration(): BoletoConfiguration? {
return BoletoComponent.PAYMENT_METHOD_TYPES.firstNotNullOfOrNull { key ->
getConfiguration(key)
}
Expand Down
8 changes: 3 additions & 5 deletions card/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.card'
compileSdkVersion compile_sdk_version
compileSdk compile_sdk_version

defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode version_code
versionName version_name
minSdk min_sdk_version
targetSdk target_sdk_version

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ fun CheckoutConfiguration.card(
return this
}

fun CheckoutConfiguration.getCardConfiguration(): CardConfiguration? {
internal fun CheckoutConfiguration.getCardConfiguration(): CardConfiguration? {
return getConfiguration(PaymentMethodTypes.SCHEME)
}

Expand Down
Loading
Loading