title: Get data payload of android notification on dismiss
body: <p>I'm using Firebase Cloud Messaging to send notifications with data payload to my app.</p>
  
  <p>When i send a notification, if my app is running (foreground) i get the data overriding the <code>onMessageReceived()</code> from <code>FirebaseMessagingService</code> class.</p>
  
  <p>If my app is not running the notification is sent to the "system tray" and when the user click's in notification my app start and i can get the data with the <code>getExtras</code> of the intent.</p>
  
  <p>But, how could i get the data if the user dismiss the notification in "system tray"?</p>
  
  <p>I need to write some background service that "listen" to the notifications to get this?</p>