title: Firebase user signOut doesn't work in react native
body: <p>I'm building an app and I'm handling the authentication with Firebase. The signIn create user functions work in the intended way, but for some reason, the signOut function doesn't work. When the button for the SignOut is clicked, the user should be signed out, but instead, he stays signed in</p>
  <pre><code>const signOutUser = () =&gt;{
          console.log(authentication.currentUser.email)//before calling this is test@test.com
          signOut(authentication)
          .then((result) =&gt; {
              console.log(result)
          })
          .catch((error) =&gt; {
              console.log(error);
          })
          console.log(&quot;entered sign out functions&quot;)
          console.log(authentication.currentUser.email)//after above code runs this is till test@test.com
      }
  </code></pre>
  <p>Could somebody please advise what I'm doing wrong?</p>