title: FCM Notifications not getting called in background for Oreo
body: <p>I am using FCM notifications for chat when user is not connected to xmpp.</p>
  
  <p>There are 2 modes of Notifications in FCM
  1. Notifications Message
  2. Data Messages</p>
  
  <p>I an using Data messages as Notification messages won't come if my app is cleared from recents</p>
  
  <p>This approach is working fine for all the version except Oreo.</p>
  
  <p>For Oreo, I only get notifications if the app is not connected to xmpp and in foreground. My onMessageReceived method is getting called.</p>
  
  <p>But the same is not happening when the app is killed or removed from recents ONLY for Oreo.</p>
  
  <p>Edit: I tried on One Plus 3 device.</p>
  
  <p>Any help is appreciated.</p>