but my VoIP token was getting rejected by APN server saying that it's an invalid token. After seeing this I've tried using PushNotificationIOS for token and generated a token using the following code:
and surprisingly this token was different from VoipPushNotification generated token and my APN server accepted this token.
There are multiple questions that I want to clarify
Why both tokens are different even VoipPushNotification used PushNotificationIOS to generate there token?
What's the difference between VoIP token and normal token? Can I use a normal token using the second method only?
I'm trying to get VoIP notification using RN-VoIP-PN library so I've generated my VoIP token using following method:
but my VoIP token was getting rejected by APN server saying that it's an invalid token. After seeing this I've tried using PushNotificationIOS for token and generated a token using the following code:
and surprisingly this token was different from
VoipPushNotification
generated token and my APN server accepted this token. There are multiple questions that I want to clarifyVoipPushNotification
usedPushNotificationIOS
to generate there token?Thanks in advance