Azure / Azure/Communication

[iOS] Hanging up a call via `UIApplicationWillTerminateNotification` triggers an exception

Open
#235 6 comments 0 reactions 1 assignee Claimed by @raosanat View on GitHub
ADO Linked Bug Calling iOS
Dominant language
No language data
Stars
340
Forks
113
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I'm attempting to hang up a call after `UIApplicationWillTerminateNotification` is posted so the user can be disconnected from an active call when they kill their app. However, the call to `hangup:` is triggering an exception somewhere with the ACS SDK.

**To Reproduce**
Steps to reproduce the behavior:
1. Add notification observer for `UIApplicationWillTerminateNotification`
2. When this notification is posted, trigger `ACSCAall hangup:`
3. Observer exception

**Expected behavior**
Hangup should be handled gracefully in this case.

**Smartphone (please complete the following information):**
- iPhone 11 Pro
- iOS 13.2.3

**Logs**
[acs_sdk-0-1447557035.blog.zip](https://github.com/Azure/Communication/files/6160367/acs_sdk-0-1447557035.blog.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.