I’m building an app which handles notifications pushed from Parse, and trying to create a notification history function. I’ve enabled the background modes successfully, so when the app is running in the background, the app can get the payload well via application:didReceiveRemoteNotification:fetchCompletionHandler
even the banner/alert is not tapped. However, when force-quit / swipe up to kill the app, application:didReceiveRemoteNotification:fetchCompletionHandler
is not called.
Is there any method to implement for getting the push notification payload when the app is killed without tapping the banner/alert? Thank you in advance!
application:didReceiveRemoteNotification:fetchCompletionHandler
works only when app is running. How can you call a function of an app when its not running? And what will you do with the data when app is not running? It needs to be handled only when app runs foreground/background. – iphonic