143,597 questions
0
votes
1
answer
37
views
Firebase Crashlytics causing NoSuchMethodError for checkNotGoogleApiHandlerThread() in Flutter app
My Flutter app is crashing on startup with NoSuchMethodError when Firebase tries to initialize. The method checkNotGoogleApiHandlerThread() is not found in the Preconditions class, causing a FATAL ...
0
votes
0
answers
32
views
IOS setup in flutter firebase [closed]
Launching lib/main.dart on iPhone 15 in debug mode...
Xcode build done. 26.1s
Failed to build iOS app
Swift Compiler Error (Xcode): Expressions are not ...
0
votes
1
answer
62
views
TypeError: Cannot Read Property 'code' of undefined when using Google-sign in in Firebase [closed]
I keep getting:
TypeError: Cannot Read Property 'code' of undefined
Here is my code
import React, {useEffect} from 'react';
import {View} from 'react-native';
import {GoogleSignin, ...
1
vote
0
answers
47
views
How `fetch` and filters with date works on Firebase Remote Config?
I have an APP that fetchs and updates the Remote Config values on each initialization:
remoteConfig.FetchAndActivateAsync();
I have a date filter on my Remote Config to only change some parameters ...
0
votes
1
answer
70
views
Firebase version 3.4.0 not support GoogleCredential.FromFile("")
I’m using Firebase Admin .NET SDK v3.4.0 with .NET 8.
The methods GoogleCredential.FromFile(), FromJson(), and FromStream() are not available anymore in this version.
I need to load my Firebase ...
-3
votes
1
answer
72
views
google_sign_in error: GoogleSignIn has no unnamed constructor and signIn are not defined [closed]
I'm trying to add Google Sign-In with Firebase to my Flutter app, but I'm getting two different errors, and I'm confused about the correct implementation.
import 'package:firebase_auth/firebase_auth....
-3
votes
0
answers
45
views
LocalStorage and React state not resetting after Firebase deploy, but works correctly in local development [closed]
I've encountered an issue that appears only after deploying to Firebase Hosting — everything works perfectly during local development.
🟢 How it works locally
During local development, the player’s ...
0
votes
0
answers
22
views
Firebase Init Hosting failed to return firebase projects
As follows, I run firebase init hosting and it returns:
Error: Failed to list Firebase projects. See firebase-debug.log for more info.
I tried logging in and out of firebase and running:
gcloud ...
0
votes
1
answer
66
views
Firebase causing Unity Android build to fail
======
cocoapods-1.16.2
Unity 6000.0.41f1
Firebase 13.4.0
OSX 15.5
ISSUES:
Android: not building
> Could not resolve all files for configuration ':launcher:debugRuntimeClasspath'.
> Could ...
-2
votes
0
answers
65
views
How to fix problem with Publish Firebase Studio APP stop working [closed]
I have a problem publishing an app in Firebase Studio. At some point, the publish stops working and throws an error. In some version stop to publish , I can continue using the prototyper, but not ...
0
votes
1
answer
82
views
Migration of Firebase projects / Google analytics 4 properties
We are in the process of merging 2 separate applications(Android & iOS) into one. Each of the application has its own Firebase project, and its own Google Analytics 4 property. So essentially we ...
1
vote
0
answers
58
views
Error in firebase cloud functions document trigger using V2 functions: Failed to decode protobuf and create a before snapshot
I am migrating my Firebase Cloud Functions project from v1 to v2.
Since Auth triggers are not yet available in v2, I still have auth triggers in v1 — but all my Firestore triggers are now v2.
All of ...
0
votes
0
answers
60
views
Firebase signInWithRedirect always returns null after redirect
I am using Firebase Authenticatioin in my svelte app.
I called getRedirectResult in onMount and if it returns null, then, I call signInWithRedirect and getRedirectResult again.
I confirm that the page ...
0
votes
0
answers
80
views
Can't connect to firebase auth emulator
I successfully had the firebase auth emulator working a few days ago, but it has mysteriously stopped working. I get a generic network error when trying to authenticate with any platform. I am using a ...
1
vote
0
answers
76
views
What is the difference between the web API key and key under "Your Apps"
I noticed that in my Firebase project, under Project Settings > General, the value beside "Web API Key":
is different from the apiKey value in the Your Apps section just below that:
Why ...
0
votes
2
answers
111
views
Cannot connect to Firestore from Flutter project (Android)
I'm using Flutter in Visual Studio Code and Android Studio with a Pixel 6a emulator with Android 13 to preview the app.
Despite I could connect to other services of Firebase (Authentication, Storage, ...
0
votes
1
answer
92
views
Is there a way to handle situations where a user has blocked more than 10 users, so that the app doesn’t exceed Firestore’s not-in query limit?
func fetchNextPage() async {
guard !isLoading, !reachedEnd else { return }
isLoading = true
defer { isLoading = false }
let excluded = Array(BlockService.shared.blocked.prefix(10))...
1
vote
1
answer
117
views
Unresolved reference: FirebaseMessagingService even after adding firebase-messaging dependency in Flutter Android module
I have an app that I want to add Firebase Cloud Messaging. Now, when configuring the services, I am getting this error in my Kotlin file:
Cannot resolve symbol 'FirebaseMessagingService'
When I try ...
1
vote
0
answers
69
views
Flutter Firebase Auth crash on Windows with warning “message from native to Flutter on a non-platform thread”
I’m getting a crash and can’t seem to find any clear solution online. My Flutter app uses Firebase Auth (along with Firebase Core and Storage), and everything works fine on some Windows devices, but ...
1
vote
1
answer
96
views
GoRouter doesn’t redirect - after logout stays on protected page
Problem: I’m using GoRouter with a GoRouterRefreshStream that listens to my AuthCubit.stream (Cubit emits states like Authenticated, UnAuthenticated, etc.).
Everything works fine when logging in or ...
0
votes
2
answers
180
views
Why does a decoded Date from Firebase have a small milliseconds offset in Swift?
I’m fetching a Date stored in Firebase (Firestore or Storage metadata) and decoding it in Swift, but I noticed the resulting value isn’t exactly what I expect.
// The date is created for midnight (00:...
0
votes
1
answer
55
views
Why does Android app crash after installing the latest version with Firebase App Distribution?
I am new to Android development and I'm using the Firebase App Distribution tool. It successfully prompts the user when there is a new version available to download, and in the notification drawer it ...
0
votes
0
answers
93
views
Firebase Genkit using prompt in chat
I am using chat with genKit library like below:
const session = agenticAi.createSession<any>({
initialState: {
uid: uid,
},
});
const chat = session.chat({
model: googleAI.model('...
0
votes
1
answer
53
views
Is there a remote, administrative way to force mobile Firebase Email Sign In links to use a custom domain?
My React Native app (Android and iOS) uses Firebase Email Sign In links for authentication.
The app is configured to handle links that begin with a Custom Domain, which is registered and hosted by ...
0
votes
0
answers
39
views
Flutter Web App Shows Blank Page After Firebase Hosting Deployment
I built a Flutter web app using a --dart-define variable like this:
flutter build web --dart-define=MY_API_URL=https://api.example.com
When I serve it locally using:
firebase serve --only hosting
...