Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
20 views

When using Onesignal with a Firebase website: [Service Worker Installation] Installing service worker failed SecurityError: The operation is insecure

I get the error when the push notification service worker attempts to load on my firebase app after enabling notifications. The full error is: [Service Worker Installation] Installing service worker ...
Donkey45's user avatar
0 votes
0 answers
39 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
-1 votes
0 answers
30 views

Firebase Cloud Function returning inconsistent data from Airtable - wrong data/missing reccords [closed]

Context: I'm building a dealer portal where car dealerships login and view their fleet vehicles. Each dealership has a unique identifier called an RRDI (like a dealer code), and the Airtable database ...
parsaayoubi's user avatar
0 votes
0 answers
29 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
0 votes
0 answers
40 views

How to initialize Firebase/Firestore in Vercel project? [closed]

Here is the code I currently have. I get this error in the console when the page opens: Uncaught TypeError: The specifier “firebase/app” was a bare specifier, but was not remapped to anything. ...
max's user avatar
  • 1
1 vote
0 answers
59 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,895
0 votes
0 answers
36 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
0 answers
33 views

Unable to login to firebase - unable to fetch CLI MOTD and remote config [closed]

I keep getting this same error when trying to login to firebase CLI, using Terminal on MacOS catalina - firebase login i The Firebase CLI’s MCP server feature can optionally make use of Gemini in ...
Chase Tilton's user avatar
0 votes
0 answers
81 views

Firebase Error: "API key not valid. Please check your configuration" [closed]

I’m building my mobile app using React Native with Expo and Firebase. When I initialize Firebase I get this error: FirebaseError: Firebase: Error (auth/invalid-api-key). My config file looks like ...
user31787907's user avatar
0 votes
2 answers
89 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
-1 votes
0 answers
47 views

Why do I get a weird output from 'result.getText()' when using 'GoogleSearch Grounding Tool' in "firebase-ai" android sdk [closed]

here is the weird result: <ctrl42> call:google_search.search{queries: [ ] } <ctrl43> <ctrl44> This happens whenever I set a configBuilder.setResponseSchema(schema) I've to ...
Kenechukwu Akubue's user avatar
0 votes
0 answers
62 views

Firebase and IndexedDB caching strategies [closed]

I have been working on my React + Firebase app for the past year and I've come to the realization that I will need a caching layer to avoid unnecessary Firestore costs. My idea for the flow is as ...
Emi Buliga's user avatar
0 votes
2 answers
115 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
84 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
-1 votes
1 answer
61 views

How can I change the output folder of the generated SDK in Firebase DataConnect? [closed]

I'm following this codelab. The data-connect folder is generated at app\src\lib\dataconnect-sdk . Is there a way to make the generated sdk be outputted in another folder of my choice? Like C:\...
savram's user avatar
  • 618
0 votes
0 answers
72 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
74 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
26 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
-2 votes
0 answers
94 views

Very Slow App Performance - Waiting for a blocking GC Alloc - Flutter - Android Only [closed]

My production application has suddenly become very slow. I am using Firebase streams to load various lists from Firestore, but the issue occurs only on Android. I tried replacing the streams with ...
JIJO J's user avatar
  • 215
0 votes
0 answers
40 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
56 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
74 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
88 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
120 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
168 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
28 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
53 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
72 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
87 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,342
0 votes
1 answer
84 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
  • 157
0 votes
1 answer
49 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
99 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
36 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
32 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
93 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
45 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
61 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
52 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 vote
1 answer
46 views

Firebase onCall function returning null even though await is there

I was able to successfully send this email with a onRequest call, but I would like to convert these on onCall Firebase calls. Here in my function below. For the sake of privacy, I removed the company ...
letsCode's user avatar
  • 3,106
0 votes
0 answers
69 views

My App Flutter app isn't producing the required products in the widget, i'm using cubit for state management

Stream<List<PhysicalProductEntity>> getAllProducts() { final productsCollection = firestore .collection('items') .where('type', isEqualTo: 'product'); ...
dungu's user avatar
  • 133
1 vote
2 answers
484 views

Flutter Firebase error in release mode: PlatformException channel-error, Unable to establish connection on channel

I'm working on a Flutter app using firebase_core, and everything runs fine in debug mode, but in release mode, I keep getting the following error on startup in android: > PlatformException(channel-...
Muhammad Umair's user avatar
1 vote
0 answers
169 views

Why does Firebase App Check think that my app is not registered?

I've been working on a Flutter project for iOS, and I'm confused on why Firebase App Check isn't working. Last release, it worked fine, but this release, it fails...so this leads me to believe that it'...
5rod's user avatar
  • 450
0 votes
0 answers
89 views

Flutter 3.35 Android Release Build Crash – java.lang.NullPointerException: Attempt to invoke virtual method 'void Z2.j.D(...)' on a null object ref

I recently upgraded my Flutter SDK from 3.32.7 → 3.35.0. Since then, my app works fine in debug mode, but crashes on launch in release mode with the following stacktrace: FATAL EXCEPTION: main E/...
Shashank Jain's user avatar
1 vote
1 answer
61 views

Why would a firebase HTTP function deploy as a Cloud Run url?

I have a new project that I am just starting to build some Express endpoints for. It deployed with a URL in the format of https://app-[random string].run.app/ instead of the expected format of https:/...
Matthew Michaud's user avatar
0 votes
0 answers
84 views

Could not parse the Android Application Module's Gradle config after changing compileSdk and buildToolsVersion

I am encountering the following error in Android Studio: Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync. I have tried several things to fix ...
Scepticul's user avatar
1 vote
1 answer
89 views

Flutter mobile app, debugToken not showing in logs, even with AndroidProvider.debug

I have a flutter app, that was working perfectly in development mode, but not in production. I fixed it so that now it uses playIntegrity and works in production, but now it's failing to run in debug ...
nycynik's user avatar
  • 7,571
0 votes
0 answers
32 views

Error while distribute app to firebase using Azure pipeline

After iOS build pipeline in Azure pipelines, I am running 'Distribute app to firebase' task but it fails with below error Attempting to distribute IPA: /Users/runner/work/1/a/FinalIPA/**.ipa App ID: *...
Salman's user avatar
  • 1,999
0 votes
0 answers
212 views

Firebase Push Notification Not Working, APNs token is null on iOS

Flutter Environment Flutter Version: 3.29.3 (stable) Dart Version: 3.7.2 Xcode Version: 26.0.1 CocoaPods Version: 1.16.2 Firebase Packages firebase_core: ^4.1.1 firebase_messaging: ^16.0.2 Device /...
Ragul PR's user avatar
  • 412
1 vote
1 answer
78 views

Getting error while distribute app to firebase using Azure pipeline

After iOS build pipeline in Azure pipeline, I am running 'Distribute app to firebase' task but it fails with below error ##[error]IPA file not found at /Users/runner/work/1/a/FinalIPA/ggg.ipa. ...
Salman's user avatar
  • 1,999
0 votes
1 answer
54 views

How to see events and reports in GA4 only from the one app source

My Firebase project contains multiple apps, each one is different, and each one has GA4/Google Analytics added. But I would like to see events and reports in the Analytica console for each app ...
Tehleel Mir's user avatar

1
2 3 4 5
2873