title: C++ exception in 'nativeFlushQueueImmediate' when trying to access firebase on react native
body: <p>I'm using <a href="https://rnfirebase.io" rel="nofollow noreferrer">https://rnfirebase.io</a> in react native, and I'm getting this strange error when trying to call firebase sign in with phone</p>
  
  <pre><code> submit() {
      firebase
        .auth()
        .signInWithPhoneNumber(this.phoneInput)
        .then(confirmResult =&gt; console.log(confirmResult))
        .catch(error =&gt; console.log(error));
    }
  </code></pre>
  
  <p>What could it be?</p>
  
  <p><a href="https://i.stack.imgur.com/ZP6V0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZP6V0.png" alt="error"></a></p>