London Escorts sunderland escorts 1v1.lol unblocked yohoho 76 https://www.symbaloo.com/mix/yohoho?lang=EN yohoho https://www.symbaloo.com/mix/agariounblockedpvp https://yohoho-io.app/ https://www.symbaloo.com/mix/agariounblockedschool1?lang=EN
11.8 C
New York
Friday, February 28, 2025

iOS App (inbuilt ReactJS + Capacitor) stops working after I add Firebase Auth


I’ve a ReactJS App that works nicely on internet and Android, however doesn’t load on iOS, all I get is a white display screen. With a view to debug I did a create-react-app app with a easy doc fetch from Firebase. Every little thing works nicely after I solely initialise the database in firebase.js, like so:

 // src/firebase.js
import { initializeApp } from "firebase/app";
import { getFirestore } from "firebase/firestore";

const firebaseConfig = {

};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const db = getFirestore(app);

export { db };

however as quickly as I add the Auth to it, it stops working. The info merely by no means masses, although Im not even utilizing the auth within the app, simply initializing it.

import { getAuth } from "firebase/auth";

After I add a console log to verify the initialisation, it reveals up within the console with out issues

console.log("Firebase Auth Initialized:", auth);

I’ve added GoogleServices-Information.plist file to Xcode, and added Keychain Signing to the app.

I don’t know what else I might attempt… any options can be significantly appreciated!

Related Articles

Social Media Auto Publish Powered By : XYZScripts.com