Push Notification - how to get the pushed data if app was not loaded previously
Hi,
I have the push notifications working on Android and am very pleased with it;s execution.
One issue I have is how I can get the push data to the application if the application was not loaded at the time of the push notification.
e.g.
Phone is restarted, Push is sent, Push is received.
Badge is displayed, user clicks on the push notification, app is loaded.
BUT, app does not grab the pushed data.....
Any ideas please?
Im using
alert (data.aps.alert);
to display the received push data at present, this works as long as the app is in memory or has been loaded first.