title: How to handle FCM data payload, without user tapping on the notification banner?
body: <p>I'm currently developing an app for a client, and one of its requirements is to handle notification data from FCM. I read the FCM docs and to handle FCM data when the app is background/closed, I'm using the getIntent().getExtras() method.
  However, this will only work if and only if the user taps the notification banner.
  So, if the user ignores the notification banner and launches the app on the home screen, there is no way of getting the data from the system tray.</p>
  <p><em><strong>So, is there a way to get the data from the system tray without tapping the notification banner?</strong></em></p>
  <p>I tried investigating other android apps' behavior, like Gmail and Outlook, by sending an email while the apps are closed.
  When a notification is prompted, I put my phone in airplane mode and launch the app without tapping the notification banner.
  Somehow the app was able to get the email.
  <em><strong>So is this data from the system tray's notification?
  or a query from a server</strong></em> (<em>I don't know if a post request from a server is possible since the app is in the background</em>).</p>
  <p>If anyone can explain or give a solution, it will be a big help for my project.</p>