title: React-native-fcm not pushing notifications for closed app
body: <p>My App was getting notification only when app is open and in background. but i require notifications should reach even app is closed. How could i do this in reactnative using react-native-fcm?</p>
  
  <p>My code was below please refer to it</p>
  
  <pre><code>FCM.getInitialNotification().then(notif=&gt;console.log(notif));
              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; {
                  // there are two parts of notif. notif.notification contains the notification payload, notif.data contains data payload
                  if(notif.local_notification){
                    //this is a local notification
                    return;
                  }
                  if(notif.opened_from_tray){
                    //app is open/resumed because user clicked banner
                    console.log('clicked');
  
                    return;
                  }
                  this.showLocalNotification(notif);
  
              });
              this.refreshTokenListener = FCM.on(FCMEvent.RefreshToken, (token) =&gt; {
                  console.log(token)
                  // fcm token may not be available on first load, catch it here
              });
  
        showLocalNotification(notif) {
            FCM.presentLocalNotification({
              title: notif.title,
              body: notif.body,
              priority: "high",
              click_action: notif.click_action,
              show_in_foreground: true,
              local: true
            });
        }
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.VIBRATE"/&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/&gt;
  
      &lt;uses-sdk
          android:minSdkVersion="16"
          android:targetSdkVersion="22" /&gt;
  
      &lt;application
        android:name=".MainApplication"
        android:allowBackup="true"
        android:label="@string/app_name"
        android:icon="@mipmap/ic_launcher"
        android:theme="@style/AppTheme"&gt;
  
        &lt;receiver android:name="com.evollu.react.fcm.FIRLocalMessagingPublisher"/&gt;
        &lt;receiver android:enabled="true" android:exported="true"  android:name="com.evollu.react.fcm.FIRSystemBootEventReceiver"&gt;
          &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.BOOT_COMPLETED"/&gt;
            &lt;action android:name="android.intent.action.QUICKBOOT_POWERON"/&gt;
            &lt;action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/&gt;
            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
        &lt;/receiver&gt;
  
        &lt;service android:name="com.evollu.react.fcm.MessagingService" android:enabled="true" android:exported="true"&gt;
          &lt;intent-filter&gt;
            &lt;action android:name="com.google.firebase.MESSAGING_EVENT"/&gt;
          &lt;/intent-filter&gt;
        &lt;/service&gt;
  
        &lt;service android:name="com.evollu.react.fcm.InstanceIdService" android:exported="false"&gt;
          &lt;intent-filter&gt;
            &lt;action android:name="com.google.firebase.INSTANCE_ID_EVENT"/&gt;
          &lt;/intent-filter&gt;
        &lt;/service&gt;
  
        &lt;activity
          android:name=".MainActivity"
          android:label="@string/app_name"
          android:screenOrientation="portrait"
          android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
          android:windowSoftInputMode="adjustResize"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
          &lt;intent-filter&gt;
            &lt;action android:name="fcm.ACTION.HELLO" /&gt;
            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
        &lt;/activity&gt;
        &lt;activity android:name="com.facebook.react.devsupport.DevSettingsActivity" /&gt;
        &lt;meta-data
          android:name="com.google.android.geo.API_KEY"
          android:value="XXXXXX"/&gt;
      &lt;/application&gt;
  </code></pre>