matrix-org / matrix-org/matrix-ios-sdk
UI Unresponsiveness Due to Callback on main thread
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 484
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
There is a callback in the SDK (Specified in the ScreenShot - Code Line 310) which leads to the main app's UI unresponsiveness when it gets called.

**Correct Behaviour**
Must not lead to app hang
**Current Behaviour**
Causes UI unresponsiveness
**Specs:**
Matrix iOS SDK: 0.24.0
iOS Device: iPhone 13 Pro Max iOS 16.2

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the SDK callback shown at line 310 in the attached screenshot and trace where it is invoked on the main thread. Reproduce the unresponsiveness with the reported Matrix iOS SDK 0.24.0 and iPhone 13 Pro Max/iOS 16.2 setup; done means the callback no longer causes the app UI to hang.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100