element-hq / element-hq/element-ios
Voice and Video call error after click notification when app is on background
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Where are you starting? What can you see?
I clone this repo and change homeserver with my own server and configuration. I did configure everything from APNs to sygnal config
2. What do you click?
I tried regular chat notification and it worked. And then when i tried voice or video call, notification show up, but when i click accept, it redirect to app and then terminated.

3. More steps…
So when app is on background but app still alive (not in terminated state), duration of notification shows like normal. But when app is on background but app is terminated, notification only show like 3 second and then dissapear.
Also got this error message from xcode

### Outcome
#### What did you expect?
Voice and Video call work like a charm after clicking from notification tray when app is on background
#### What happened instead?
When notification arrive, i clicked accept and then it redirect to app and then terminated. So i can't receive voice or video call from background state
### Your phone model
iPhone 11
### Operating system version
16.1
### Application version
1.9.7
### Homeserver
Matrix.org
### Will you send logs?
Yes
Contributor guide
Research direction
No source file, test, or entry point is identified in the report. Start by reproducing the failure on an iPhone 11 running iOS 16.1 with the app backgrounded or terminated, then inspect the Xcode error and verify that accepting a voice or video notification returns to the app without terminating it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100