Push notification doesn't appear on notification center or locked screen

Hi all,
I’m working on an iOS app that uses push notifications. I followed this raywenderlich tutorial. I receive the notification when the app is running and it call the didReceiveRemoteNotification method.

But the notification doesn’t appear on the notification center or on looked screen neither if the app is running nor it is terminated.

This is the payload object

payload =
{ 
   alert = "Title goes here";
   myid = 304;
   xxxxxx = 51;
   sound = default;
};

Thanks.

Hi @ellajohn, could you provide a code snippet and possibly the link of the tutorial you were following please?

This topic was automatically closed after 166 days. New replies are no longer allowed.