title: React Native setBackgroundMessageHandler not triggering on quit state on physical device
body: <p>I have a RN app that uses firebase for push notification. as per docs, declare setBackgroundMessageHandler before registerComponent like this:</p>
  <pre><code>import {AppRegistry} from 'react-native';
  import App from './App';
  import {name as appName} from './app.json';
  
  import messaging from '@react-native-firebase/messaging';
  messaging().setBackgroundMessageHandler(async remoteMessage =&gt; {
      console.log(&quot;BG MESSAGE&quot;, remoteMessage);
  })
  AppRegistry.registerComponent(appName, () =&gt; App);
  </code></pre>
  <p>I can see the console log in the metro on background state but on quit state, there is no console message.</p>
  <p><strong>Plot twist</strong>, On emulator, the notification is receive on background and quit state.</p>
  <p><strong>More Plot twist</strong>, On emulator, with or without setBackgroudMessageHandler, the notification will still be received on background and quit state. On Physical device, only on background state. Though it will always return a warning that states need setBackgroudMessageHandler.</p>
  <p>No issues with iOS.</p>
  <p>We use react-native-push-notification for local notifications.</p>
  <pre><code>&quot;react-native-push-notification&quot;: &quot;^7.3.1&quot;,
  &quot;@react-native-firebase/messaging&quot;: &quot;11.5.0&quot;,
  &quot;react-native&quot;: &quot;0.63.4&quot;,
  </code></pre>