1

My app receives push notifications when it is running in the foreground. I have the following three methods implemented.

application:didReceiveRemoteNotification:
application:didRegisterForRemoteNotificationsWithDeviceToken:
application:didFailToRegisterForRemoteNotificationsWithError:

The app registers for the remote notifications successfully, and I send this token to my server. When the app is running the foreground, I can see the push notification perfectly fine.

If the app is running and the user presses the home button, meaning the app is now suspended, the push notifications aren't triggering anything. Nothing happens on the home screen. No message, sound, or badge.

I've tried searching to see if someone has the same issue, but other peoples' issues deal more with capturing the notification in the correct appdelegate method after it has been received.

Any clues?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • have you checked in settings if your app is allowed to receive notifications? – Calin Chitu Sep 12 '13 at 18:43
  • Did you end up figuring this problem out? I have the same exact problem - http://stackoverflow.com/questions/19390868/apple-push-notification-in-background-issue/19390972?noredirect=1#19390972 – ArtSabintsev Oct 15 '13 at 22:06

0 Answers0