VOIP Call Not Triggering in Any App State – CallKit Not Invoked on iOS

Hello CometChat Support Team,

I hope you’re doing well.

We are currently integrating CometChat VOIP calling in our iOS application to support call notifications across all app states — foreground, background, and terminated (kill state). However, we are currently facing a critical issue: incoming calls are not being received at all, regardless of the app’s state. As a result, the CallKit UI is not being triggered.

We are registering VOIP push tokens using CometChatNotifications.registerPushToken(), and have verified that the tokens are correctly generated and sent to CometChat.

Upon checking the push notification logs, we are seeing multiple failures with 400 response codes, along with the following error messages:

  • “BadDeviceToken”
  • “Reason not provided by APNs”

In some cases, we also observe a 404 error:

  • “Requested entity was not found.”

We are currently using the following SDK versions:

  • CometChatSDK version 4.0.62
  • CometChatCallsSDK version 4.1.2

These issues seem to be directly impacting our ability to receive VOIP calls. For reference, we have included a screenshot of the push notification error logs:
:link: Screenshot

We would appreciate your help with the following:

  1. What are the potential reasons for BadDeviceToken and Reason not provided by APNs errors?
  2. What does the 404 - Requested entity was not found mean in this context?
  3. Could this issue be due to a misconfiguration or incorrect VOIP push setup?

Please let us know if you need any additional information from our side to investigate further.

Looking forward to your guidance and support on this issue.

Best regards,
Jenil shingala

This request was closed and merged into request #37780 “VOIP in iOS Critical Issues”.