IOS - do not receive push notification from APN - how to debug?

I am trying to add push notifications to my application. I have taken all the steps to do this. I see that my application registers the device token on my server, and I see that my server is sending a notification. I use the development key and development profile. Is the way debugging this? I do not know what the problem is, since I have no errors in my application.

I am sure that the code on my server is working because I had an older version of the application working with the server code. I think this is a configuration problem in the Xcode project, but I cannot find the problem.

+6
source share
2 answers

There are many possible reasons for this to go wrong. Apple has an excellent detailed technot for debugging push notifications , which I would highly recommend reading to track down the problem.

+1
source

Source: https://habr.com/ru/post/977646/


All Articles