element-hq / element-hq/element-ios
app doesn't detect connection loss
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
It seems when the homeserver is unavailable the app just assumes empty responses?
For example when you go to Security -> My Sessions you will just see an empty list.
Or when you sign out it'll wait a while and then remove the account from the app, while the session on the homeserver will still exist.
I assume this may be a more general problem?
Contributor guide
Research direction
Start by reproducing the behavior with the homeserver unavailable, especially under Security → My Sessions and during sign-out. Trace how unavailable responses are handled in those flows; done means connection loss is reported as an error rather than treated as an empty response or successful account removal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100