Azure / Azure/Communication

[iOS AzureCommunicationCalling 1.0.1] Call state return .none when the network is intermittent and call end has no callback for the first tap

Open
#374 2 comments 0 reactions 0 assignees View on GitHub
Bug Needs: triage :mag:
Dominant language
No language data
Stars
340
Forks
113
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The call state would return .none after the internet connection is interrupted for 1 minutes.

**To Reproduce**
Steps to reproduce the behavior:
1. Join a call successfully with good network condition
2. call state return .connected
3. Open airplane mode for more than 1 minutes
4. call state return .none
5. end the call by `call.hangUp`
6. There is no callback for the first call hangUp. If you call `hangUp` again, it would have a callback

**Expected behavior**
When the network is interrupted, the callState should return `.disconnected` rather than `none`. And the `endCallReason` should indicate it's because of network issue

**Screenshots**
![Screen Shot 2021-09-14 at 12 33 45 PM](https://user-images.githubusercontent.com/75647512/133323301-71da69e0-c2fa-4a20-9137-6246276aac60.png)

- Version [1.0.1]

**Logs**
Log file:
[No Internet State.xcappdata.zip](https://github.com/Azure/Communication/files/7164715/No.Internet.State.xcappdata.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.