Overview
When the Freighter wallet session expires while the app is open, the connect button continues showing "Connected" with the user's address. Subsequent transaction attempts fail with a cryptic wallet error.
Problem
Users believe they are connected and attempt to create or withdraw from streams, only receiving an error at the wallet signing step with no helpful explanation.
Proposed Solution
- Detect wallet session expiry by catching the "no session" error from Freighter on any signing attempt
- On detection: clear the connected state, show the connect button, and display a toast explaining the session expired
- Proactively poll for session validity every 60 seconds when the app is focused
Acceptance Criteria
Overview
When the Freighter wallet session expires while the app is open, the connect button continues showing "Connected" with the user's address. Subsequent transaction attempts fail with a cryptic wallet error.
Problem
Users believe they are connected and attempt to create or withdraw from streams, only receiving an error at the wallet signing step with no helpful explanation.
Proposed Solution
Acceptance Criteria