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: 
Already found, what causes that: this conbination of flags in receiving activity. 

```
android:configChanges="orientation"
            android:hardwareAccelerated="false"
            android:clearTaskOnLaunch="true"
            android:launchMode="singleTask"
            android:alwaysRetainTaskState="true"
            android:screenOrientation="portrait" 

```

After receiving in another activity, all become works as expected
You need to add the notification code within your MyFirebaseMessagingService class which u will create which will be extended from FirebaseMessagingService