Anyone is having the same issue?
Hi @Fernando_Rojas,
To initiate Firebase from Google AI Studio, you need to integrate Firebase into your project and ensure that your Google Cloud Project is properly configured for both Firebase and AI Studio.
If you have done these steps and still facing issue, please share your full error logs to investigate further.
Hi-cristlight s Hi, how are you? Note that I’ve already reviewed the configuration and made all the suggested changes, but it still fails to initialize all Firebase services, specifically the database.
All the apps are showing same error
Hi @Fernando_Rojas,
Apologies for the delay.. Are you still facing this issue?
The current Google AI Studio build environment presents significant challenges for seamless Firebase integration. In repeated implementation attempts, Firestore database connectivity consistently fails—most likely due to the environment’s limited access to required environment variables (.env). Although Firebase Authentication works reliably, service worker implementation fails, highlighting architectural gaps in the integration support provided by AI Studio.Furthermore, the environment often enters persistent auto error-correction loops: it repeatedly overwrites previously fixed files, ultimately leading to full application crashes and unrecoverable preview errors. This behavior severely reduces development efficiency and productivity, making the developer experience frustrating and resource-intensive.Despite thorough research and engagement with the community forums, there appears to be a persistent lack of clear, authoritative guidance or timely responses from Google representatives on these issues.It is critical for Google to clarify whether AI Studio is intended purely for prototype and mock-data scenarios, or if it is meant to support production-grade app development. If the latter, comprehensive integration documentation and rapid stability improvements are urgently needed to retain developer trust and prevent erosion of goodwill within the community.
I’m having trouble getting Firebase authentication to work in my app built with Google AI Studio. Could you show me the client-side code I need to add to make it work? I’ve already created a Firebase project and registered my app as a “web app,” which I hope is the right step. I’ve looked through the documentation and reached out to Firebase Support, but I haven’t gotten enough clear, detailed information to succeed yet.
