I’m playing with Firebase authentication. I used “expo install firebase” to install firebase. Any thoughts as to why I’m getting the error “initializeApp” is not a function in the following code? Does Expo Firebase not support the new tree-shaking coding style that google has implemented?
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
const firebaseConfig = {
// config items removed
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);