Problems with ACS Voice and Video calling
Hello!
I am building an iOS app which can receive calls from Azure Communication Calling. During local development I get a pushkit notification from Azure as intended but when deploying to testflight we don't get any pushkit notification. Is there something we are missing? I can send pushkit notifications manually with the certificate I uploaded to the notification hub so it's not missing any entitlement or capabilities. The bundle ID's are the same for testflight and local debug mode.
Tested on iPhones using version 18 and higher, the versions of SDK we are using is 2.15.0 and we're using the SDKs implementation of callkit.
So with local debugging with app in background:
- Start a call using our web client
- PKPayload received and handled
- Call works
With testflight version with app in background:
- Start a call using our web client
- No PKPayload Received
- Put app in foreground and can see that didReceiveIncomingCall event is raised by the SDK
- ???
callAgent.registerPushNotifications(deviceToken: deviceToken) { error in
if let error = error {
NotificationHelper.shared.sendNotification(
title: deviceToken.debugDescription,
body: "registerPushNotifications called and failed: \(String(describing: callAgent))"
)
} else {
NotificationHelper.shared.sendNotification(
title: deviceToken.debugDescription,
body: "registerPushNotifications called and succeded: \(String(describing: callAgent))"
)
}
}
This is also called and returns success