title: React Native Push Notifications not coming in the notification pane in Android
body: <p>I am trying the push notification for the first time. I followed a tutorial. After running the code, I send a test push notification from Firebase. The notification is appearing in the console log but its not coming in the notification pane.</p>
  <p>My code is as follows:</p>
  <p>RemotePushNotification.js</p>
  <pre><code>import React, { useEffect } from 'react'
  import PushNotification from 'react-native-push-notification'
  const RemotePushController = () =&gt; {
    useEffect(() =&gt; {
      PushNotification.configure({
        // (optional) Called when Token is generated (iOS and Android)
        onRegister: function (token) {
          console.log('TOKEN:', token)
        },
        // (required) Called when a remote or local notification is opened or received
        onNotification: function (notification) {
          console.log('REMOTE NOTIFICATION ==&gt;', notification)
          })
          // process the notification here
        },
        // Android only: GCM or FCM Sender ID
        senderID: '############',
        popInitialNotification: true,
        requestPermissions: true
      })
    }, [])
    return null
  }
  export default RemotePushController
  </code></pre>
  <p>AndroidManifest.xml</p>
  <pre><code>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    package=&quot;com.app3&quot;&gt;
  
      &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.WAKE_LOCK&quot; /&gt;
      &lt;permission
          android:name=&quot;${applicationId}.permission.C2D_MESSAGE&quot;
          android:protectionLevel=&quot;signature&quot; /&gt;
      &lt;uses-permission android:name=&quot;${applicationId}.permission.C2D_MESSAGE&quot; /&gt;
      &lt;!-- &lt; Only if you're using GCM or localNotificationSchedule() &gt; --&gt;
      &lt;uses-permission android:name=&quot;android.permission.VIBRATE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.RECEIVE_BOOT_COMPLETED&quot;/&gt;
  
      &lt;application
        android:name=&quot;.MainApplication&quot;
        android:label=&quot;@string/app_name&quot;
        android:icon=&quot;@mipmap/ic_launcher&quot;
        android:roundIcon=&quot;@mipmap/ic_launcher_round&quot;
        android:allowBackup=&quot;false&quot;
        android:theme=&quot;@style/AppTheme&quot;&gt;
  
  
        &lt;activity
          android:name=&quot;.MainActivity&quot;
          android:label=&quot;@string/app_name&quot;
          android:configChanges=&quot;keyboard|keyboardHidden|orientation|screenSize|uiMode&quot;
          android:launchMode=&quot;singleTask&quot;
          android:windowSoftInputMode=&quot;adjustResize&quot;&gt;
          &lt;intent-filter&gt;
              &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
              &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
          &lt;/intent-filter&gt;
        &lt;/activity&gt;
        &lt;activity android:name=&quot;com.facebook.react.devsupport.DevSettingsActivity&quot; /&gt;
  
  &lt;meta-data  android:name=&quot;com.dieam.reactnativepushnotification.notification_channel_name&quot;
                  android:value=&quot;YOUR NOTIFICATION CHANNEL NAME&quot;/&gt;
          &lt;meta-data  android:name=&quot;com.dieam.reactnativepushnotification.notification_channel_description&quot;
                      android:value=&quot;YOUR NOTIFICATION CHANNEL DESCRIPTION&quot;/&gt;
          &lt;!-- Change the resource name to your App's accent color - or any other color you want --&gt;
          &lt;meta-data  android:name=&quot;com.dieam.reactnativepushnotification.notification_color&quot;
                      android:resource=&quot;@android:color/white&quot;/&gt;
  
          &lt;receiver android:name=&quot;com.dieam.reactnativepushnotification.modules.RNPushNotificationActions&quot; /&gt;
          &lt;receiver android:name=&quot;com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher&quot; /&gt;
          &lt;receiver android:name=&quot;com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.BOOT_COMPLETED&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
          &lt;service
              android:name=&quot;com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService&quot;
              android:exported=&quot;false&quot; &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;com.google.firebase.MESSAGING_EVENT&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/service&gt;
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  <p>This is the console log</p>
  <pre><code> REMOTE NOTIFICATION ==&gt; {&quot;channelId&quot;: &quot;fcm_fallback_notification_channel&quot;, &quot;color&quot;: null, &quot;data&quot;: {}, &quot;finish&quot;: [Function finish], &quot;foreground&quot;: true, &quot;id&quot;: &quot;1987265985&quot;, &quot;message&quot;: &quot;fwafwaawf&quot;, &quot;priority&quot;: &quot;high&quot;, &quot;sound&quot;: null, &quot;tag&quot;: &quot;campaign_collapse_key_4557183047135736330&quot;, &quot;title&quot;: &quot;fawfaf&quot;, &quot;userInteraction&quot;: false, &quot;visibility&quot;: &quot;private&quot;}
  </code></pre>