Key and Cert based Notifications

Greeetings,

I am trying to setup two notification channels. One using keys (firebase) and one using certs (a 3p notification service).

I can show that the key based notifications work via registering my device id in the firebase test notification ux and sending my device a test notification using the reported device id.

For the cert based notifications, I am using these instructions: https://developer.apple.com/documentation/usernotifications/sending_push_notifications_using_command-line_tools to generate and test the cert before installing it in the 3p service and am using the same device id as firebase. It fails with a {"reason":"BadDeviceToken"} and I'm not sure how to proceed.

Couple thoughts / questions:

  • Should I expect both channels to work or is it a "one channel" kinda thing?
  • Should I expect to use the same device id like I am using?

Any other help would be greatly appreciated

And I tried both the token as reported back to me (in the same format as I registered with Firebase that worked) as well as url encoding the device id in case there was an issue with the special characters in the device id

Key and Cert based Notifications
 
 
Q