title: FCM push message not receiving in Oreo
body: <p>I have implemented <code>FCM</code>. The messages are receiving in <code>Android N</code> and lower devices. </p>
  
  <hr>
  
  <p><strong>dependency</strong></p>
  
  <pre><code>implementation "com.google.firebase:firebase-messaging:17.1.0"
  </code></pre>
  
  <p>I have tried sending messages from <code>firebase</code> console. It showing in <code>Android N</code> but not in <code>Android O</code>.</p>
  
  <p>I have tried sending data notification from the server. Didn't got any call on <code>onMessageReceived()</code> in <code>Android O</code>.</p>
  
  <hr>
  
  <p><strong>Added channel while showing notification</strong></p>
  
  <pre><code> val notificationManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
  
      // Since android Oreo notification channel is needed.
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) {
          val channel = NotificationChannel(channelId,
                  "CRW notification channel",
                  NotificationManager.IMPORTANCE_HIGH)
          notificationManager.createNotificationChannel(channel)
      }
  
      notificationManager.notify(0 /* ID of notification */, notificationBuilder.build())
  </code></pre>
  
  <p>I have checked this in <em><code>Samsung S2</code></em> and <em><code>One plus 6</code></em>.</p>
  
  <p>Do I need to do anything extra for <code>Android O</code> other than setting notification channel on showing the notification? </p>