You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SDK 6.0.0, pressing the hardware back button while LinkActivity is displayed does not dismiss it after some progress has been made through the Plaid Layer flow. The back button appears to do nothing — the Layer UI stays on screen and the activity result is never delivered to the host activity.
This is a regression from 5.x, where back correctly dismissed the activity and delivered a LinkExit result.
Environment
Generic Android 17 emulator
Steps to Reproduce
Launch any standard Plaid Layer session (Plaid.createPlaidLayerSession)
Once the Plaid session is visible, press the hardware back button immediately, back dismisses correctly
Launch the session again
Tap any UI element inside the session to progress through the Layer flow
Press the hardware back button, back does not dismiss; Plaid session stays on current screen
The issue does not reproduce with sdk-core:5.5.2.
Expected Result
Pressing the hardware back button while Plaid session is displayed should dismiss it.
Screenshots
Screen.Recording.2026-07-15.at.5.56.25.AM.mov
Logs
No logs emitted when pressing back.
Code To Reproduce Issue
override suspend fun openLayer(token: String, phoneNumber: String): PlaidLinkOutcome {
val outcome = CompletableDeferred<PlaidLinkOutcome>()
val handshake = CompletableDeferred<Boolean>()
pendingResult = { outcome.complete(it) }
// layerHandshake.complete(true) called when LinkEventName.LAYER_READY event received
layerHandshake = handshake
startListening()
val handler =
Plaid.createPlaidLayerSession(
context = context,
configuration = LayerTokenConfiguration.Builder().token(token).build(),
)
handler.submit(SubmissionData(phoneNumber = phoneNumber))
when (handshake.await()) {
true -> {
launcher?.launch(handler)
outcome.await()
}
false -> outcome.await()
}
}
The problem
In SDK 6.0.0, pressing the hardware back button while LinkActivity is displayed does not dismiss it after some progress has been made through the Plaid Layer flow. The back button appears to do nothing — the Layer UI stays on screen and the activity result is never delivered to the host activity.
This is a regression from 5.x, where back correctly dismissed the activity and delivered a LinkExit result.
Environment
Generic Android 17 emulator
Steps to Reproduce
The issue does not reproduce with sdk-core:5.5.2.
Expected Result
Pressing the hardware back button while Plaid session is displayed should dismiss it.
Screenshots
Screen.Recording.2026-07-15.at.5.56.25.AM.mov
Logs
No logs emitted when pressing back.
Code To Reproduce Issue