143,927 questions
0
votes
0
answers
18
views
Flutter Appcheck fails after following all steps [closed]
I have a Flutter app where everything works fine with unrestricted rules in firestore DB but I start getting this error after enabling appcheck:
(25.1.4) [Firestore]: Listen for Query(target=Query(...
0
votes
0
answers
31
views
AllUsers have Storage Viewer Permission but removing it creates error
I have a bucket that has AllUsers permission set to Storage Object Viewer.
There's an exclamation mark on GCP about how this is not safe. I have Firebase rules that govern how images/videos are ...
0
votes
1
answer
31
views
Does Firebase Firestore charge for loading cached documents?
When I subscribe to a collection that results in 100 documents, a couple of days later, I start my app again. I am offline. I see all 100 documents because Firestore cached them for me. Then I go ...
0
votes
0
answers
24
views
Access Google Cloud Storage Bucket Generation 2 Run Cloud Function Firebase App
I am updating a version one cloud function to generation 2 cloud run, which is no longer working. I'm getting the error failed to import the @google-cloud/storage library (version 7.16.0 is installed ...
0
votes
1
answer
36
views
Correct firebase rules for deleting a document with subcollections via web [closed]
The delete call from the web app:
deleteDoc(doc(db, 'users', uid));
The rule in Cloud Firestore:
match /users/{userId}/{documents=**} {
allow delete, read, write: if request.auth.uid == userId; //...
3
votes
1
answer
61
views
Unity + Firebase BOM 34.0.0: NoClassDefFoundError for com.google.firebase.ktx.Firebase despite not using KTX APIs
I'm building a Unity 2022.3.47 Android app that uses Firebase Remote Config via native Kotlin code. I recently updated to Firebase BOM 34.0.0, which removes all ktx libraries per Firebase's Kotlin-...
0
votes
0
answers
36
views
Flutter iOS: "Multiple commands produce .app" error on Xcode 16.4. Even legacy build system fails
I keep getting these "Multiple commands produce" errors when building my Flutter iOS app. This started after updating to macOS 15.6 and Xcode 16.4.
Error:
Error (Xcode): Multiple commands ...
0
votes
0
answers
31
views
Firebase Cloud Function fails with "TypeError: func is not a function" on deployment
I'm building a football match prediction system using JavaScript and Firebase. Users can make predictions on match results, and for users who don’t submit a guess, I want to automatically assign a ...
1
vote
0
answers
22
views
I have a project in Firebase studio. Er released new modules and now the preview keeps returning firebase 404 error This page could not be found [closed]
Project tech stack:
Framework: Next.js (using the App Router)
Language: TypeScript
UI Library: React
Component Library: shadcn/ui
Styling: Tailwind CSS
Hosting: Firebase Hosting, configured for a ...
0
votes
1
answer
28
views
Cloud Functions for Firebase Gen2 Scheduled Functions Fail to Deploy - Container Fails to Listen on Port 8080
I'm building a football match prediction system using JavaScript and Firebase. Users can make predictions on match results, and for users who don’t submit a guess, I want to automatically assign a ...
-1
votes
0
answers
42
views
Set up static web app in Firebase App Hosting
I'm trying to set up a static server in my App Hosting backend for my Angular app (client-side rendering).
For that, I'm following the instructions provided here and I am trying to use superstatic, as ...
1
vote
1
answer
36
views
Flutter Firebase notification does not trigger onMessageOpenedApp
I'm implementing code for notification navigation after user press on notification. Below is my code.
FirebaseMessaging.instance
.getInitialMessage()
.then((RemoteMessage? message) {
...
0
votes
1
answer
57
views
Flutter Android error: was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.8.0
I’m working on a Flutter app and trying to run it on Android using:
Kotlin version: 2.2.0
Gradle version: 8.14.3
JVM target: 17
But I keep getting this error during the build:
e: .../jetified-play-...
0
votes
1
answer
41
views
How to control order in which functions are displayed in firebase console?
In the Firebase Console, when showing the list of functions, what determines the order in which the functions are displayed?
I am in the very early stages of a project and already have 16 functions, ...
0
votes
0
answers
28
views
How to securely implement rate limiting for authenticated users in Firebase Firestore? [duplicate]
Problem Context
I'm building a Firebase iOS app application where authenticated users can access their own documents. Each user has a dedicated document in Firestore with security rules like:
match /...