Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 20 additions & 0 deletions src/content/changelog/android-sdk-7.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Android SDK 7.1.0"
tags: ["Android SDK", "Android", "SDK"]
publishedDate: 2026-06-19
---

[Android SDK](https://github.com/sumup/sumup-android-sdk) 7.1.0 has been [released](https://github.com/sumup/sumup-android-sdk/releases/tag/v7.1.0).

**Added:**

- Support for target SDK 36.
- Support for Android Gradle Plugin 9.x.
- `SumUpLoginContract`, `SumUpCardReaderPageContract`, and `SumUpCheckoutContract` to support Activity Result API integrations. Existing onActivityResult-based integrations remain unchanged. Please refer to the documentation for more information.

**Improvements:**

- Reduced SDK size by approximately 8 MB.
- In offline sessions, totalApprovedAmount now includes tip amounts.

**Important:** SDK v7.1.0 introduces internal changes that are not backward compatible. After upgrading and running the application with v7.1.0, downgrading to an earlier SDK version is not supported.
35 changes: 31 additions & 4 deletions src/content/docs/terminal-payments/sdks/android-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ Sensitive card data is never passed to or stored on the merchant's phone. All da
| Requirement | Minimum |
| --------------------- | ------- |
| `minSdkVersion` | 26 |
| `targetSdkVersion` | 35 |
| Android Gradle Plugin | 8.8.0 |
| Kotlin | 1.9.0 |
| `targetSdkVersion` | 36 |
| Android Gradle Plugin | 9.2.1 |
| Kotlin | 2.4.0 |
| Java | 17 |

## Sandbox Merchant Account
Expand Down Expand Up @@ -74,7 +74,7 @@ You can use the sample app provided in the repository as a reference.
2. Add the SDK dependency to your app module build file:

```groovy
implementation 'com.sumup:merchant-sdk:7.0.0'
implementation 'com.sumup:merchant-sdk:7.1.0'
```

3. Sync your project.
Expand Down Expand Up @@ -103,6 +103,15 @@ SumUpLogin sumupLogin = SumUpLogin.builder(mAffiliateKey).build();
SumUpAPI.openLoginActivity(MainActivity.this, sumupLogin, 1);
```

To integrate with the Activity Result API, use `SumUpLoginContract`:

```kotlin
val loginLauncher = registerForActivityResult(SumUpLoginContract()) { result ->
// Login result
}
loginLauncher.launch(sumupLogin)
```

<Image alt="Login screen" src="/img/guides/android_sdk_login.png" width="40%" />

<Aside>
Expand Down Expand Up @@ -170,6 +179,15 @@ Override `onActivityResult` to handle payment results:
}
```

To integrate with the Activity Result API, use `SumUpCheckoutContract`:

```kotlin
val checkoutLauncher = registerForActivityResult(SumUpCheckoutContract()) { result ->
// Checkout result
}
checkoutLauncher.launch(payment)
```

### Connecting Reader

## Additional Features
Expand Down Expand Up @@ -208,6 +226,15 @@ When a merchant is logged in, you can open this activity to access all the setti
SumUpAPI.openCardReaderPage(MainActivity.this, 4);
```

To integrate with the Activity Result API, use `SumUpCardReaderPageContract`:

```kotlin
val cardReaderPageLauncher = registerForActivityResult(SumUpCardReaderPageContract()) { result ->
// Card reader page result
}
cardReaderPageLauncher.launch(null)
```

<Image
alt="Card Reader Page"
src="/img/guides/android_sdk_reader_view.png"
Expand Down