title: I have problem with firebase.messaging.requestPermission() always result in exception whatever I choose 'allow' or 'Not Allow'
body: <p>react-native firebase request permissions always result in an exception. </p>
  
  <p>I am trying to give the user the option to allow notifications in my react-native app. So, when the user install my react-native app an alert will be shown and he can choose whether to allow notifications on the app or not. I am using react-native-firebase to handle this. however, the firebase "requestPermission" function always fails whatever I click "allow" or "Not Allow".</p>
  
  <pre><code>firebase.messaging().requestPermission()
        .then(() =&gt; {
          console.log('User Now Has Permission')
        })
      .catch((error) =&gt; {
        console.log('Error', error)
      })
  
  
  
  </code></pre>