I'm trying to implement VoIP push notification
for my VoIP app. I have generated apple push notification certificate and VoIP push notification certificate.
I have generated a p12 file from the certificate which I downloaded from apple developer account.
And when I am trying to send push notification from my app server to apple server, I'm getting invalid token.
I have looked into these links in SO:
APNS: invalid token (8)
APNS: Invalid token causes all subsequent push notifications to fail
APNS server responds with status 8-invalid-token, but devices are being registered properly
iOS Push notifications : invalid tokens
"Invalid Token" while sending PushKit notification in production environment
And still so many more links.
From after following all links, I have checked all these below things mentioned from the links.
My device is able to generate a push token. I'm able to send that to my app server. I have verified when sending a request to an apple push server, token id is same. I'm able to generate a p12 file from the certificate by following the steps mentioned in the above links.
But still, I get the error invalid token. I still can't figure out what I'm missing? How can I check whether my token is valid? How can I check whether the p12 file generated is valid and correct? When sending push notifications from android firebase, I have the option to send from firebase console. Is there any console to check apple push notification?