Skip to content

Commit

Permalink
2.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
adyen-git-manager committed Apr 17, 2019
1 parent 6471c07 commit f60a84c
Show file tree
Hide file tree
Showing 16 changed files with 269 additions and 179 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To give you as much flexibility as possible, our Android SDK can be integrated i
Import the quick integration modules by adding these lines to your build.gradle file.

```groovy
final checkoutVersion = "2.4.1"
final checkoutVersion = "2.4.3"
implementation "com.adyen.checkout:ui:${checkoutVersion}"
implementation "com.adyen.checkout:nfc:${checkoutVersion}" // Optional; Integrates NFC card reader in card UI
implementation "com.adyen.checkout:wechatpay:${checkoutVersion}" // Optional; Integrates support for WeChat Pay
Expand Down Expand Up @@ -136,7 +136,7 @@ By default, we use the font that is declared in the theme that is used for check
#### Installation
Import the following modules by adding these line to your `build.gradle` file.
```groovy
final checkoutVersion = "2.4.1"
final checkoutVersion = "2.4.3"
implementation "com.adyen.checkout:core:${checkoutVersion}"
implementation "com.adyen.checkout:core-card:${checkoutVersion}" // Optional; Required for processing card payments.
implementation "com.adyen.checkout:nfc:${checkoutVersion}" // Optional; Enables reading of card information with the device"s NFC chip.
Expand Down Expand Up @@ -183,7 +183,7 @@ PaymentController.handlePaymentSessionResponse(/*Activity*/ this, encodedPayment

With the `PaymentReference` you can retrieve an instance of a `PaymentHandler`. Here you can attach the desired Observers and Handlers in the scope of the current Activity (Observers and Handlers will automatically be removed when the `Activity` is destroyed):

> `PaymentReference` is `Parcelable`, so you can pass it along to another `Activity`.
> `PaymentReference` is `Parcelable`, so you can pass it along to another `Activity`.
```java
@Override
Expand All @@ -192,7 +192,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {

PaymentReference paymentReference = getIntent().getParcelableExtra("EXTRA_PAYMENT_REFERENCE");
mPaymentHandler = paymentReference.getPaymentHandler(/*Activity*/ this);

// Observe data
mPaymentHandler.getNetworkingStateObservable().observe(/*Activity*/ this, new Observer<NetworkingState>() {
@Override
Expand All @@ -212,7 +212,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
// TODO: Handle PaymentResult.
}
});

// Handle data
mPaymentHandler.setRedirectHandler(/*Activity*/ this, new RedirectHandler() {
@Override
Expand Down Expand Up @@ -252,6 +252,7 @@ If you are using ProGuard add the following options:
-dontwarn com.adyen.checkout.nfc.**
-dontwarn com.adyen.checkout.googlepay.**
-dontwarn com.adyen.checkout.wechatpay.**
-dontwarn com.adyen.checkout.threeds.**
```


Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ ext {
"com.tencent.mm.opensdk:wechat-sdk-android-without-mta:9a15154c07c05eadba8351c110647c1754316e32d8f12f55e24679891b52739c:SHA-256",
]

versionCode = 211
versionName = "2.4.2"
versionCode = 243
versionName = "2.4.3"

testCoverageEnabled = true
}
Expand Down
2 changes: 1 addition & 1 deletion checkout-core-card/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ dependencies {
implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"
implementation "com.adyen.cse:adyen-cse:${rootProject.adyenCseVersion}"

implementation project(":checkout-base")
api project(":checkout-base")
}
2 changes: 1 addition & 1 deletion checkout-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ dependencies {
implementation "android.arch.persistence.room:runtime:${rootProject.roomVersion}"
annotationProcessor "android.arch.persistence.room:compiler:${rootProject.roomVersion}"

implementation project(":checkout-base")
api project(":checkout-base")
}
8 changes: 4 additions & 4 deletions checkout-googlepay/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ dependencies {
implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"
implementation "com.google.android.gms:play-services-wallet:${rootProject.playServicesWalletVersion}"

implementation project(":checkout-base")
implementation project(":checkout-core")
implementation project(":checkout-core-card")
implementation project(":checkout-util")
api project(":checkout-base")
api project(":checkout-core")
api project(":checkout-core-card")
api project(":checkout-util")
}
2 changes: 1 addition & 1 deletion checkout-nfc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ android {
dependencies {
implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"

implementation project(":checkout-core-card")
api project(":checkout-core-card")
}
6 changes: 4 additions & 2 deletions checkout-threeds/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ android {
dependencies {
implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"

implementation "com.adyen.threeds:adyen-3ds2:0.9.4"
implementation("com.adyen.threeds:adyen-3ds2:0.9.5") {
exclude group: 'com.android.support', module: 'appcompat-v7'
}

implementation project(":checkout-base")
api project(":checkout-base")
}
Loading

0 comments on commit f60a84c

Please sign in to comment.