user2014175
user2014175

Reputation: 169

Action if app has received push notification

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

Upvotes: 0

Views: 95

Answers (1)

lammert
lammert

Reputation: 1454

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.

Upvotes: 2

Related Questions