[iOS] Not triggering calldidChangeState if using createCallAgentWithCallKitOption. And not able to accept the call in App killed state

Open
#316 4 comments 0 reactions 1 assignee View on GitHub

@raosanat is already working on this.

Since Jun 18, 2021.

Assessment

This issue has not been assessed yet.

Description

ADO Linked Bug Calling iOS

Describe the bug
SDK Version: - AzureCommunicationCalling 1.1.0-beta.1

We are creating callAgent using the new method createCallAgentWithCallKitOptions.

We implemented VoIP push. Added Notification Hub for handling notifications. Using the registerPushNotifications method we are registering for push notification with the token generated from the didUpdate credentials PKPushRegistryDelegate method.

The VoIP push is receiving and if the app is in background or foreground everything working fine. But calldidChangeState is not called after accepting the call. And I couldn't see any methods that give information like, user rejected the call, user accepted the call from the CallKit.

If the app is killed state accepting call is not working. After receiving the VoIP push we are calling CallClient.reportToCallKit method. From the success case we will create call agent and pass the PushNotificationInfo to the callAgent using the handlePush method.

Smartphone (please complete the following information):

  • Device: iPhone XS
  • OS: iOS 14.6
Dominant language
No language data
Stars
340
Forks
113
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/Communication

All issues in Azure/Communication

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.