Reputation: 9123
When my app receives a push notification I can click on it and I can receive its data from the activity's intent.extras
in my Fragment.
However when I receive a push notification and click on the app icon instead (with the notification badge) - it doesn't hold intent.extras
.
So if I perform the latter, how can I access the data from the notification (such a title
, body
) etc?
Upvotes: 0
Views: 558