Action if app has received push notification - ios

Afternoon, perhaps you can help me.
When my app loads ... or comes back from the background ... is it possible to tell whether it has received a push notification in the recent past? Or indeed was loaded as a result of a push alert?
I ask for the simple reason that I would like to have my app load in a different way if it has.
Any help would be greatly appreciated. Thanks

The only information you can get from a push notification is when it's opened from a push notification. There is no way to get information from other push notifications that have been received but were not opened.

Related

Is there any way to read all missed push notifications on app's launch

If my app has been closed for a while but some push notification were coming for the app and the user was not following them, is there a way to read all of those notification on the app's next opening?
Unfortunately No, There is nothing which will provide you all the missed notifications , you can only get information about notification which was tapped to open the app.
No way to get information about the missed notifications, only way to see it in notification center.

Appcelerator: Check if notifications are present in the Notification Tray

I have got push notifications working on my iOS application. I am able to receive the push notifications right away when the app is in focus. If the app is in the background, the push notifications get populated in the notification tray.
My issue is this. If I do not click on the notifications in the notification tray, the 'callback' event does not get called even when i get the app in focus.
I would like to know if there is a method in appcelerator which allows me to find if there are notifications related to my app pending in the tray (Something like Silent Notifications). Is there anything that i can use to achieve this?
I have googled and am unable to find a solution for this. Any thoughts or ideas are sincerely appreciated.

Show push notification while calling

I am having a problem to show push notification during native calling. As my tester said that whatsapp notifications appear while you are native calling or going to receive a call, but my app, when you are on calling screen it doesn't show push notification until you decline the call or end that call. After that the push comes and you can do whatever you want with that.
Can you people advice me that what's wrong with my app. As far as I know, if you are out of application and push comes then only the web server responsible for that or iOS handles the all. Can you suggest me what am I doing wrong? I mean to ask do I need to add something to .plist file or etc.
Any suggestion or advice appreciated.

Push Notification isn't delivered

my app uses Push Notification between clients as it uses a chat service [Note: i'm using PFPush from Parse.com]. When i'm sending a push that has it's Data property set to a value, the push is received when the app is in the foreground but not when it's in the background. i'm not sure if the app is receiving it but not displaying a notification alert or not. However, sending a push without setting a data it's working fine. I read that setting a data will overwrite the message property. so how could i fix that as the data property is something crucial in the delivery process as it holds data of the chat text and i cannot omit it? should i be sending two notifications? one to alert second for data? Thank you!
Oh your welcome. That is all i know let me search if i find any other solution. It should be one that you see a lot of apps that do this.
Try sending them both.i guess you should fix it in Notification settings.

MDM Push Text Message on iOS

I want to implement Push text message service inside the iOS MDM server, I don't want to store message, I want to show it on the screen only. Can anyone tell me how to implement this or provide the some references or tutorials to implement this functionality. I am not getting any clue. Any help will be appreciated ...
a) It has nothing to do with MDM.
b) It's called Push notification which is standalone functionality and can be used with or without MDM.
You will find here a nice Tutorial of Push Chat using push notification
URL: http://www.raywenderlich.com/32963/apple-push-notification-services-in-ios-6-tutorial-part-2
if you are not aware of push notification, then use this link to get started.

Resources