Question: I'm trying to receive push notification with data payload when app is in background/closed. But when parsing intent from onCreate/onNewIntent there are no extras data received. 

Push request body is following:

```
{
 "data": {
  "body": "here is body",
  "title": "Title",
  "type": "LOGIN",
        "intercomMessage": "test"
 },
"notification": {
  "body": "here is body",
  "title": "Title",
  "type": "LOGIN",
        "intercomMessage": "test"
 },
 "to": "#push_token"
}

```

With data only FCM all works fine, but we need to support notification messages with data payload

Answer: 
* Messages with both notification and data payload, when received in the background. In this case, the notification is delivered to the device’s system tray, and the data payload is delivered in the extras of the intent of your launcher Activity.
* You should use data payload to received data in onMessageReceived() and show notification
Just try the following JSON

```
{
 "data": {
  "body": "here is body",
  "title": "Title",
  "type": "LOGIN",
  "intercomMessage": "test"
 },
 "to": "#push_token",
 "priority": "high",
}

```

`notification` tag is not required