title: Sign out firebase auth
body: <p>Making a simple firebase auth app with react-native. Register/sign in works just fine, but I can't get the sign out to work properly. </p>
  
  <pre><code>loginUser = (email,password) =&gt; {
      try{
        firebase.auth().signInWithEmailAndPassword(email, password).then(function(user){
          console.log(user)
        })
      }
      catch(error){
        console.log(error.toString())
  
      }
    }
  
    signOutUser = () =&gt; firebase.auth.signOut();
  </code></pre>
  
  <p>The sign out button is easy as this: </p>
  
  <pre><code>&lt;Button style={styles.button}
              full
              rounded
              onPress={() =&gt; this.signOutUser()}
  &gt;
  </code></pre>