Azure / Azure/Communication

[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 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**
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

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.