title: React-Native Firebase Phone Auth freezes iPhone
body: <p>I want to sign the user in by phoneNumber in react-native. On Android this code snippet works neat. But on iOS always when I start this function the emulator freezes. I am trying to use this code <a href="https://rnfirebase.io/docs/v3.3.x/auth/phone-auth" rel="nofollow noreferrer">Auth-Example</a> I am using the react-native-firebase library.</p>
  
  <pre><code>  openPhoneVerification() {
      firebase
        .auth()
        .signInWithPhoneNumber(this.state.phoneNumber)
        .then(confirmResult =&gt;
          this.props.navigation.navigate("PhoneVerification", {
            confirmResult
          })
        )
        // Wrong number - https://firebase.google.com/docs/reference/js/firebase.auth.Auth#signInWithPhoneNumber
        .catch(error =&gt;
          Alert.alert(
            "Number not valid",
            "Please check your number and type in again",
            [
              {
                text: "OK",
                style: "cancel"
              }
            ],
            { cancelable: true }
          )
        );
    }
  </code></pre>