Repository navigation
Description
Summary
I am using com.sumup:merchant-sdk:7.1.0 in my Android application. SumUp login works correctly initially, but the SDK does not seem to maintain the login session.
After the application remains idle (standby) for more than 24 hours, SumUpAPI.isLoggedIn() returns false, and the user is required to log in to SumUp again.
The same issue occurs when the application is completely closed and restarted. Even though the user has previously logged in successfully, the SDK requires another login.
Is this expected behavior in SDK version 7.1.0, or is there a way to persist the SumUp login session across app restarts and extended periods of inactivity?
Steps to Reproduce
- Integrate SumUp SDK version
7.1.0into an Android application. - Initialize and perform SumUp login using the following code:
val sumUpLogin: SumUpLogin = SumUpLogin.builder(strSumUpID).build()
SumUpAPI.openLoginActivity(
this@DeviceManagementActivity,
sumUpLogin,
requestSumUpLinkCode
)- Complete the login process successfully.
- Verify the login status using:
SumUpAPI.isLoggedIn()- Keep the application in standby for more than 24 hours
- Check the login status again.
- Alternatively, completely close the application and restart it.
- Check the login status after restarting the application.
Expected Behavior
- SumUp login session should remain active after successful authentication.
- The user should not be required to log in again after restarting the application.
- The login session should ideally persist across extended periods of inactivity, unless the session expires or is explicitly invalidated by SumUp.
Actual Behavior
- Initially, login works successfully.
- After the application remains in standby for more than 24 hours,
SumUpAPI.isLoggedIn()indicates that the user is no longer logged in. - After completely closing and restarting the application,
SumUpAPI.isLoggedIn()also indicates that the user is not logged in. - The user must authenticate with SumUp again.
Android Version(s)
Not yet specified.
Impacted Devices
Not yet specified.
Impacted Readers
Not yet specified.
Firmware Version(s)
Not yet specified.
Crash Log
Not applicable. This is a login session persistence issue, not a crash.
Dependency Versions
- SumUp SDK:
7.1.0 - Kotlin: Not yet specified
- Android Gradle Plugin: Not yet specified
- Gradle: Not yet specified
Video / Screenshot
Not available.
Other Information
Login status is checked using:
SumUpAPI.isLoggedIn()Login is initiated using SumUpAPI.openLoginActivity() with a SumUpLogin instance built using the SumUp affiliate ID.
Questions:
- Does SumUp SDK 7.1.0 persist authentication sessions automatically?
- Is there any configuration required to maintain the login session across application restarts?
- Is there a known session expiration policy (for example, 24 hours of inactivity)?
- Is there a recommended way to restore or refresh the login session without requiring the user to authenticate again?
Activity
mkutlev commentedon Nov 23, 2026
Hi @amjed-ali-tect ,
Thanks for the report.
You're using the SDK's native login. We keep it for existing integrations and for testing. It doesn't refresh the access token when it expires, so you have to log in again.
For production, we recommend OAuth / transparent login.