Skip to content

Update SDK to version 7.1.0#280

Merged
HeyPouya merged 1 commit into
masterfrom
feature/sdk-verion-7-1-0
Jun 19, 2026
Merged

Update SDK to version 7.1.0#280
HeyPouya merged 1 commit into
masterfrom
feature/sdk-verion-7-1-0

Conversation

@HeyPouya

Copy link
Copy Markdown
Contributor

Update SDK to version 7.1.0:

  • With support for target SDK 36
  • With support for Android Gradle Plugin 9.x
  • Integrate Activity Result API for Login, CardReaderPage and Checkout

@HeyPouya HeyPouya requested a review from DmBard June 19, 2026 11:11
@HeyPouya HeyPouya self-assigned this 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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 MainActivity from onActivityResult to SumUp*Contract launchers
  • 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.

Comment thread app/build.gradle.kts
Comment thread app/src/main/java/com/sumup/app/di/KoinModules.kt
@HeyPouya HeyPouya merged commit 8be9e2a into master Jun 19, 2026
3 of 4 checks passed
@HeyPouya HeyPouya deleted the feature/sdk-verion-7-1-0 branch June 19, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants