title: How to get current user data from firebase realtime database in React Native
body: <p>I'm trying to get <strong>current signed user's</strong> <strong>image and name</strong> <strong>from the firebase realtime database</strong> in which his data was stored when he signup. I want to put these two items in the drawer header. <a href="https://i.stack.imgur.com/NZiTt.png" rel="nofollow noreferrer">enter image description here</a>You can see the attached screenshots.</p>
  
  <p>Here is the current user
  <a href="https://i.stack.imgur.com/NZiTt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NZiTt.png" alt="enter image description here"></a></p>
  
  <p>here is the data of the current user. I want to get that data on the basis of current user signed in</p>
  
  <p><a href="https://i.stack.imgur.com/eZaHs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eZaHs.png" alt="enter image description here"></a></p>