title: Not getting Pubnub payload in bundle from Notification tray. When app is killed
body: <p>I have integrated pubnub API in one of my project. I am trying to get bundle of data that i have sent in payload. I have added FCM for push notification. I am getting push notification in all cases but not getting bundle data when app is killed or in background. Already getting payload object when app is in foreground but not getting any data when app is in background or killed.</p>
  <p>Payload 1 :</p>
  <pre><code>{
     &quot;pn_gcm&quot;: {
     &quot;notification&quot;: {
     &quot;title&quot;: &quot;Barack Obama&quot;,
     &quot;body&quot;: &quot;12&quot;,
     &quot;channelName&quot;: &quot;Hell 4_656&quot;
     }
   },
  &quot;firstName&quot;: &quot;Barack&quot;,
  &quot;lastName&quot;: &quot;Obama&quot;,
  &quot;displayName&quot;: &quot;Barack Obama&quot;,
  &quot;profileImageUrl&quot;: &quot;abcURL&quot;,
  &quot;userId&quot;: &quot;173&quot;,
  &quot;type&quot;: &quot;sender&quot;,
  &quot;time&quot;: &quot;1615958943297&quot;,
  &quot;message&quot;: &quot;12&quot;
  }
  </code></pre>
  <p>PayLoad 2 :</p>
  <pre><code>{
  pn_gcm={
    notification={
    title=BarackObama,
    body=Hello,
    image=Hell4_656
    }
    },
    firstName=Barack,
    lastName=Obama,
    displayName=BarackObama,
    time=1615958740553,
    type=sender,
    message=Hello,
    profileImageUrl=abcURL,
    userId=173
  }
  </code></pre>
  <p>I am getting notification object when app is in foreground but not getting any of them when app is in background or killed.(Getting some FCM default object)</p>
  <p><strong>I am trying to get notification object in bundle when launch app from Notification tray</strong></p>
  <p><strong>Answer</strong>
  Made JSON payload like this :</p>
  <pre><code>  {
  &quot;pn_gcm&quot;: {
    &quot;notification&quot;: {
      &quot;title&quot;: &quot;Barack Obama&quot;,
      &quot;body&quot;: &quot;18&quot;
    },
    &quot;body&quot;: {
      &quot;channelName&quot;: &quot;Hell 5_657&quot;,
      &quot;firstName&quot;: &quot;Barack&quot;,
      &quot;lastName&quot;: &quot;Obama&quot;,
      &quot;displayName&quot;: &quot;Barack Obama&quot;,
      &quot;profileImageUrl&quot;: 
      &quot;http://3.137.127.137/quiqle/uploads/profile/1615523786_4866.jpg&quot;,
      &quot;userId&quot;: &quot;173&quot;,
      &quot;type&quot;: &quot;sender&quot;,
      &quot;time&quot;: &quot;1615965488916&quot;,
      &quot;message&quot;: &quot;18&quot;
    }
  }
  }
  </code></pre>