[iOS] Not triggering calldidChangeState if using createCallAgentWithCallKitOption. And not able to accept the call in App killed state
@raosanat is already working on this.
Since Jun 18, 2021.
Assessment
This issue has not been assessed yet.
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
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/Communication
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/Communication#600 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/Communication#599 · 4 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/Communication#598 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure/Communication#543 ·
-
Needs: triage :mag:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/Communication#447 ·