End to end Encrypted workplace app background notification help

Hi,

We are a new startup LetrWing from Delhi, India. We are building a new end to end encrypted workplace. For our app to function properly we will need to silently send notification in background to decrypt the content on client side and then show users the notification with decrypted content. As per the documentation we noticed that content-available = true wont be sufficient as this can delay the delivery of notifications (specially for our chat / time critical notifications ). We are using pushkit for our meeting and calls but we were wondering if there is a way to either use pushkit for time critical notifications or if there is any other means we can get silent notifications reliably on time and show our users meaningful messages ?

We came across several post where the use of com.apple.developer.pushkit.unrestricted-voip-regulatory entitlement was proposed will it be possible to share how can we apply for using this entitlement in our app ?

Thanks a lot in advance

There is no need to send silent notifications, nor there is a need for any entitlements. You can do what you want to do (decrypt a message) , in the Notification Service Extension as discussed at https://developer.apple.com/documentation/usernotifications/unnotificationserviceextension.

The Notification Service Extension will be executed for every visible push notification. So, it will serve your needs to replace the sent encrypted content into a human readable content, as long as the user has not disabled the visibility of your notifications through various settings (in which case the whole process is moot).

End to end Encrypted workplace app background notification help
 
 
Q