0
votes

My app is receiving a notification and my problem is that when I received one or more notifications in the background and when i click the app icon to bring me in my app foreground then the notification message(s) doesn't able to display in the foreground it will only works if I click the pop up message in notification center not the icon.

1
What exactly do you want to achieve??Vishal Sonawane
@VishalSonawane: fetch the alert message in notification center so that i can save it in my database.ibmot

1 Answers

0
votes

You will not get remote push notification data on launch of app after tapping icon. You can only parse push notification body only on tap of notification alert. So if you want to do any MUST NEED operation for such notifications there is only way is to introduce server in between. So you can use any web service for it and this will be called every time your app launches or comes to foreground. Call that API on background and do the needful you want.