Skip to content

fix: resolve signer login not advancing past auth screen#431

Merged
barrydeen merged 2 commits intomainfrom
fix/signer-login-navigation
Apr 5, 2026
Merged

fix: resolve signer login not advancing past auth screen#431
barrydeen merged 2 commits intomainfrom
fix/signer-login-navigation

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • External signer (Amber) login was stuck on auth screen after approval because navigateSafe() requires RESUMED lifecycle state, but ActivityResultLauncher callbacks fire during STARTED
  • Defer onAuthenticated via LaunchedEffect so navigation runs after the composable is fully resumed
  • Bump version to 0.17.3 (69)

Test plan

  • Login with external signer (Amber) — should advance past auth screen
  • Login with nsec/npub — should still work as before
  • Sign up — should still work as before

The navigateSafe() guard requires RESUMED lifecycle state, but
ActivityResultLauncher callbacks fire during STARTED. Defer the
onAuthenticated call via LaunchedEffect so navigation runs after
the composable is fully resumed.
@barrydeen barrydeen merged commit cbb1f23 into main Apr 5, 2026
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.

1 participant