title: Firebase.auth() is not a function Error REACT NATIVE
body: <p>I am trying to implement firebase authentication in my project. However, I'm getting the error Firebase.auth() is not a function. Does anyone know why this is happening?</p>
  <p>App.js</p>
  <pre><code>import { initializeApp } from 'firebase/app';
  import * as firebase from &quot;firebase/app&quot;;
  const firebaseConfig = {
    apiKey: &quot;&quot;,
    authDomain: &quot;&quot;,
    projectId: &quot;&quot;,
    storageBucket: &quot;&quot;,
    messagingSenderId: &quot;&quot;,
    appId: &quot;&quot;
  };
  firebase.initializeApp(firebaseConfig);
  </code></pre>
  <p>js</p>
  <pre><code>import React from &quot;react&quot;;
  import * as firebase from &quot;firebase/app&quot;;
  export const loginRequest = (email, password) =&gt;
    firebase.auth().signInWithEmailAndPassword(email, password);
  </code></pre>