Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
1 vote
1 answer
34 views

Is it normal for Flutter's main() function to execute as soon as a firebase notification is received in system notifications bar?

is it normal for Flutter's main() function to execute as soon as a firebase notification is received in system notifications bar? I am testing on Android 15 in a Pixel device. Here's what I did: I ...
rupinderjeet's user avatar
  • 2,868
0 votes
1 answer
38 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 ...
Minh Tuấn Bùi's user avatar
Best practices
0 votes
1 replies
43 views

How to not write a Firestore Converter for each type. (Firestore + Unity / C#)

I am using Firestore and Unity, I want to be able to serialize a Unity class, say Vector2Int so I write a Vector2IntConverter(FirestoreConverter<Vector2Int>). When I upload my DTO, say: [...
guilleatm's user avatar
-3 votes
1 answer
52 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....
Logic Leap's user avatar
0 votes
0 answers
40 views

Can you bypass Safari popup when signing in with email link to Firebase on iOS with React Native?

I’m trying to get Firebase email link sign-in working smoothly on iOS. The link users get in their email comes from projectname.firebaseapp.com/__/auth/links?link=..., which then redirects to my ...
Sindhu Satyanarayanan's user avatar
-3 votes
0 answers
38 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 ...
Ken_ chik's user avatar
0 votes
0 answers
39 views

Persistent Firebase "auth/unauthorized-domain" error despite domain being correctly added in a dynamic environment

I'm developing a React web application using Firebase for authentication (Google Sign-In) and Firestore. I'm running into a persistent auth/unauthorized-domain error that I can't resolve, despite ...
Sebastiano Sardo's user avatar
0 votes
0 answers
20 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 ...
Martin Walczyński's user avatar
1 vote
0 answers
32 views

"permission denied" error in Cloud Function that imports gmail

I'm stuck getting a "permission denied" error when using the gmail googleapi in a firebase cloud function to "import" syntetic emails to a workspace email box. I've followed this ...
phosph's user avatar
  • 31
0 votes
0 answers
24 views

why fetch not working in firebase studio? [closed]

Every time i try to load file from storage in my web app it gives me fetch error, i tried creating a cor.json file and deployed it as well, load works fine in the live web app but not in the studio, ...
Aparajit Koirala's user avatar
0 votes
1 answer
54 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 ...
user3623413's user avatar
0 votes
0 answers
29 views

Firebase Authentication Mobile Linking issue [closed]

I faced a strange behaviour of Firebase Auth Linking that is not possible to catch, and I would like to ask your opinion about possible solutions to detect it. Problem is next: Users can bypass ...
Ice's user avatar
  • 781
-1 votes
0 answers
54 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 ...
Cristian Sandoval Villegas's user avatar
1 vote
0 answers
51 views

Not able to save document using React Native 0.81.4 & firebase

I am using react-native 0.81.4 CLI along with the following Firebase packages: "@react-native-firebase/app": "^23.5.0", "@react-native-firebase/firestore": "^23.5.0&...
Ahmad Habib's user avatar
  • 2,510
0 votes
0 answers
36 views

Web App - Unable to Store data in firebase firestore database [closed]

i created a signup.ts file, and i auth-web.ts file. the code is fine, im able to signup and im able to create an account, The email is successfully authenticated to firebase however the collection is ...
Fatima Ez-Zahraa AIT-HSSAIN's user avatar
0 votes
1 answer
74 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 ...
Ihmune's user avatar
  • 1
1 vote
1 answer
53 views

GCloud Error: Caller is missing permission 'iam.serviceaccounts.actAs' on service account [closed]

Situation This is pretty much my first experience with cloud tools. I'm trying to enqueue (schedule) a cloud task from a cloud function which gets called from my flutter app, the task would at the ...
ThisIsSidam's user avatar
1 vote
0 answers
56 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 ...
Abhijeet Kharatmol's user avatar
0 votes
0 answers
39 views

unable to deploy to firebase functions

package.json { "name": "functions", "scripts": { "lint": "tslint --project tsconfig.json", "build": "tsc", "...
Moblize IT's user avatar
  • 1,340
0 votes
0 answers
59 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 ...
Jamil's user avatar
  • 3
0 votes
0 answers
65 views

403 PERMISSION_DENIED on Route Optimization API from Firebase App Hosting Despite Correct IAM & API Setup

Problem Description: I am developing a Next.js application deployed on Firebase App Hosting. The application calls the Google Cloud Route Optimization API from a Server Action. Despite carefully ...
Maurizio Piredda's user avatar
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 ...
tim_d's user avatar
  • 133
0 votes
0 answers
42 views

Firebase Remote Config - Reference other parameter

I have an Android app which used Firebase Remote Config. Old versions of my app references a parameter, let's call it parameterA, which has a string type. I would like to create another derived ...
Filip Östermark's user avatar
1 vote
0 answers
72 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 ...
Jasperan's user avatar
  • 4,935
0 votes
0 answers
57 views

Flutterflow - how to add question to textbox

We're currently developing an app using flutterflow for our class, but we've gotten stuck with connecting our firebase, which contains the questions, with the textbox in flutterflow. We want the ...
Scully's user avatar
  • 1
0 votes
2 answers
110 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, ...
CBD's user avatar
  • 107
0 votes
2 answers
149 views

Android Gemini AI SDK (firebase-vertexai-ktx) fails with 404 Not Found (v1beta endpoint) despite latest library version

I'm developing an Android app using Kotlin and Jetpack Compose. I'm trying to integrate Gemini AI to analyze images uploaded by the user using the Firebase Vertex AI SDK (com.google.firebase:firebase-...
shubham's user avatar
0 votes
1 answer
90 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))...
CobraCodes's user avatar
0 votes
0 answers
73 views

Failed to get FirebaseApp Instance in Xcode Preview after Modularization

Upon moving a view and it's ViewModel(where i am using Firestore) from the main app module to it's own module, my Canvas Previews crash with the error: XCPreviewAgent crashed due to an uncaught ...
Geob's user avatar
  • 614
1 vote
1 answer
100 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 ...
grand_learner's user avatar
0 votes
0 answers
27 views

Firebase CLI fails with "An unexpected error has occurred" only when deploying storage

I'm trying to deploy Cloud Storage CORS settings using the Firebase CLI, but it consistently fails with a generic "Error: An unexpected error has occurred." Project ID: oa-maintenance-v2 ...
プラス田口's user avatar
-1 votes
0 answers
42 views

Can I send any event, analytics data to Firebase projects, android app, with JavaScript for tracking purposes [duplicate]

I have created a Firebase project and connected it with Google Analytics. Project consists of two apps, one is an Android App(android app data stream) other one is WebApp(web data stream). The web app ...
Tom's user avatar
  • 137
1 vote
0 answers
67 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 ...
Ali Akbar's user avatar
0 votes
0 answers
77 views

Flutter app stuck on launcher screen on some Android devices (Impeller / Firebase / AppLinks suspected)

I’m experiencing an issue where my Flutter app works fine on most devices, but on some Android devices and emulators, it gets stuck on the icon/logo screen during the first launch. Details from my ...
Mayuddin Rathod's user avatar
1 vote
1 answer
95 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 ...
Jelon's user avatar
  • 12
2 votes
1 answer
130 views

How to query Firebase Realtime Database for top N users and current user’s rank

How to index Firebase Realtime Database for leaderboard and get current user’s rank? I’m using Firebase Realtime Database to store user data for a game. I want to implement a leaderboard based on the ...
Oozeer's user avatar
  • 312
0 votes
2 answers
179 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:...
Xys's user avatar
  • 11.3k
0 votes
0 answers
33 views

Firebase Connectivity in ESP8266 NodeMCU

I am working on an ESP8266-based IoT project (waste segregation system) and trying to send data to Firebase Realtime Database. I am using the latest Firebase ESP8266 Client library (FirebaseESP8266.h) ...
Varunkumar's user avatar
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 ...
Josh McGee's user avatar
0 votes
1 answer
75 views

Null values of username are showing in my firebase console and flutter app

when i save in firebase, the data like username, phone number, and status are lost, leaving only the uid persistent. I'm using cubit for state management. The code for creating user: Future<void>...
dungu's user avatar
  • 133
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('...
Moblize IT's user avatar
  • 1,340
0 votes
1 answer
90 views

Firebase: Fetching documents from a database that is not default, but is still in the same project

I've been trying to fetch documents from a different database I made on my project. I have my primary database which is called 'Default' and I have another database in the same project called 'Staging'...
BSR's user avatar
  • 77
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 ...
Brad Stiff's user avatar
1 vote
0 answers
101 views

FIS_AUTH_ERROR when retrieving FCM token from FirebaseMessaging

I have an app which receives pushes to device. Some devices receive pushes well. Some has a problem with getting FirebaseMessaging token. In both situations Firebase initialization goes well. I tried ...
rstrelba's user avatar
  • 1,984
0 votes
0 answers
38 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 ...
Sirak Nigus's user avatar
0 votes
1 answer
35 views

Firebase Cloud Function returns "not-found" error when called from React Native app despite successful deployment

I'm trying to call a Firebase Cloud Function from my React Native Expo app to send invoice emails. The function deploys successfully, but when I call it from the app, I get a FirebaseError: not-found ...
Ronan power's user avatar
0 votes
1 answer
99 views

Firestore not working on ADK agent deployed to Agent Engine

My ADK agent works fine locally when running on adk web, but the instance running on Agent Engine always fails to read and write data from firestore. I get an error saying 403 Missing or insufficient ...
Victor's user avatar
  • 445
0 votes
0 answers
46 views

Ghost pushing in flutter app with push notifications

I created a flutter app with push notifications enabled, and I'm using firebase FCM HTTP v1 API to send push notifications to my device. Here's my FCM API POST payload. { "message": { &...
azdev's user avatar
  • 1
0 votes
1 answer
69 views

Flutter: `The method 'DataPart' isn't defined` when using firebase_ai for Gemini Vision

I'm trying to send an image and text to Gemini using the firebase_ai package in Flutter, but I'm getting a persistent error: The method 'DataPart' isn't defined for the type 'AiAssistantService'. The ...
Qasid Khyar's user avatar
1 vote
0 answers
63 views

Firebase Auth blocking function (Gen-2 / Cloud Run) returns 403 “not authenticated” from Identity Platform, despite Run Invoker granted

I am using Firebase Authentication blocking functions (Gen-2) with Cloud Run services for: • beforeUserCreated • beforeUserSignedIn Problem When Cloud Run security is set to Require authentication ...
M4trix Dev's user avatar
  • 2,354

1
2 3 4 5
2873