Update SDK to version 7.1.0#280
Merged
Merged
Conversation
DmBard
approved these changes
Jun 19, 2026
* With support for target SDK 36 * With support for Android Gradle Plugin 9.x * Integrate Activity Result API for Login, CardReaderPage and Checkout
f43968b to
9492d27
Compare
There was a problem hiding this comment.
Pull request overview
Updates the sample app and build configuration to align with SumUp Android SDK v7.1.0, including Target SDK 36 / AGP 9.x adoption and migrating the sample’s SDK entry points to the Activity Result API-based contracts.
Changes:
- Bump build tooling (Gradle wrapper + AGP) and Android SDK levels to target/compile 36
- Migrate
MainActivityfromonActivityResulttoSumUp*Contractlaunchers - Update offline-related types/packages and polling delay to
Duration
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
gradle/wrapper/gradle-wrapper.properties |
Updates Gradle wrapper distribution to Gradle 9.5.1. |
CHANGELOG.md |
Adds release notes for SDK v7.1.0. |
build.gradle.kts |
Updates AGP classpath and buildscript configuration for the new toolchain. |
app/build.gradle.kts |
Updates compile/target SDK to 36, bumps dependencies, and adjusts Kotlin/packaging settings. |
app/src/main/java/com/sumup/app/presentation/MainActivity.kt |
Migrates SDK flows to Activity Result API contracts (login/checkout/card reader page). |
app/src/main/java/com/sumup/app/presentation/MainViewModel.kt |
Removes unused dispatcher injection from the ViewModel constructor. |
app/src/main/java/com/sumup/app/di/KoinModules.kt |
Updates Koin wiring to match new ViewModel constructor and Koin 4 APIs. |
app/src/main/java/com/sumup/app/data/repository/ReaderSdkRepositoryImpl.kt |
Updates offline contract imports and switches polling delay to Duration. |
app/src/main/java/com/sumup/app/data/mapper/OfflineSessionMapper.kt |
Updates offline session state import package. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update SDK to version 7.1.0: