title: React Native Push Notifications with react-native-fcm
body: <p><a href="https://github.com/evollu/react-native-fcm" rel="nofollow noreferrer">I'm using this library.</a></p>
  
  <p>I'm attempting to get push notifications to display in the notifications tray on my Nexus 5 (android 6.0.1). Using React Native 0.42, React Native CLI 2.0.1. I'm developing on Ubuntu 14.04.</p>
  
  <p>I'm using firebase. I go into my console > notifications > send a message > specific device (which I get from remote debugging console.log, below).</p>
  
  <p>I am logging notifications, as you can see in code, and they do get to my device, as I can see them in the logs.</p>
  
  <p>But, I don't know how to display them in the notifications tray. Looking through the docs and searching forums, it seems they should show up by default.</p>
  
  <pre><code>componentDidMount() {
          FCM.requestPermissions(); // for iOS
          FCM.getFCMToken().then(token =&gt; {
              console.log(token)
              // store fcm token in your server
          });
          this.notificationListener = FCM.on(FCMEvent.Notification, async (notif) =&gt; {
            console.log(notif)
  
          });
  });
  </code></pre>