5

I know this question has been asked in the past but none of the responses i have seen to date seem to solve my problem.

I am attempting to handle push notifications in the background on my iOS app, but for some reason the didReceiveRemoteNotification:fetchCompletionHandler: method only gets invoked in debug mode when the app is connected to xcode.

I am sending the notifications using PushSharp, and i have tried pretty much everything. I set content-available to 1, tried setting sound/alert to "", and even tried setting the priority to 1, 5, and 10 (i know its the default but worth a shot) but to no avail.

When i launch the app from xcode and press the home button, i am able to get the method to invoke by sending a push notification. However, if i stop the app, start it again on the device, press the home button, and send a push notification, the method never gets called.

Does anyone have any suggestions?

ozam
  • 61
  • 1
  • 3

0 Answers0