I am trying to implement the push notifications with APN for my website and keep running into problems with the push package signature. I have followed the instructions as provided by Apple and was able to succesfully run the .php script (after updating it to account for the required intermediate certificate) to compose my push package. Creation of the push package .zip file is succesful and a signature file is generated.
On asking the user for permission to send push notifications and when serving the push package I encounter the 'Signature verification of push package failed' error. After several attemps of trying to regenerate the push package as per Apple's instructions I am unable to determine exactly what the cause might be or what is wrong with the push package or signature.
Any suggestions as to what I may be doing wrong?
-
—
pavan_tank
Add a CommentHello DevIncore, I'm having the same issue as you. I've followed every steps from the doc and was trying to check/ask for notification permission and at that time I got the same error msg as you
Signature verification of push package failed.By the way I'm implementing APN into Next.js project and as a server I'm using /public of next.js project. Please guide me to solve my issue if you can. Thanks.