PushKit Voip notifications not triggering CallKit UI in the background

I am trying to add voip call functionality to my app.

It works as expected while the app is in the foreground. But in the background it does not.

I have registered the app as requiring background voip permissions.

My implementation doesn't fit into one of these posts, so here is a gist:

https://gist.github.com/BrentMifsud/4be43c022c1279f04ecb56250a86b3f1

PushKit Voip notifications not triggering CallKit UI in the background
 
 
Q