143,586 questions
-4
votes
0
answers
36
views
I'm confused with my college projects I need some suggestions [closed]
I'm a CSE AI & ML Student and want to work on some real life problems I'm already working on IOT Helmet and I need more suggestions related to my branch , any ideas....
1
vote
0
answers
45
views
What domain to add to Firebase Authentication for Firebase Studio with Google Auth?
I'm using Firebase studio to generate a small app, with Google Auth enabled. The app shows up fine, but when trying to use the Google Auth, like this:
async function logInWithGoogle(auth: Auth) {
...
0
votes
0
answers
25
views
Firebase Firestore Enterprise edition - Set rules for users in the database
How to create the rules and connect (read / write using the firestore database) from an android app?
Google Firestore Editions Overview
val db = Firebase.firestore
val userData = hashMapOf(
"...
-1
votes
0
answers
65
views
Play Store android app rejected due to suspected firebase auth 403 in review environment [closed]
Out of the blue, updates of our app have starting being rejected by the Play Store reviewers because they cannot log in using the supplied test credentials.
We use Firebase to manage our auth.
We ...
-1
votes
1
answer
61
views
Google Sign-In fails with ApiException: 10 [closed]
i am new to Flutter + Firebase Auth and I’m having a strange intermittent issue with Google Sign-In.
Sometimes it works perfectly, and sometimes I get these errors:
PlatformException(channel-error, ...
Advice
2
votes
0
replies
54
views
Why is my DAU different between Google Play Console, Firebase Analytics, and AdMob?
I’m having an issue with my DAU (Daily Active Users) numbers. I have two Android apps on Google Play, and the Google Play Console shows the following:
App 1: ~20,000 DAU
App 2: ~11,000 DAU
Total: ~...
-1
votes
1
answer
86
views
Flutter app shows black screen on iOS device (works on Android, no errors)
I'm trying to run my Flutter app on a real iOS device.
The app installs successfully, Firebase initializes, and logs show normal navigation (Splash → Onboarding).
But the screen becomes completely ...
0
votes
1
answer
53
views
How to change project name shown in Google Sign-In popup?
I have a frontend and a separate backend project. We use our own authentication system, and Firebase is used only for Google Sign-In.
The flow is:
Frontend uses Firebase to sign in with Google (popup)...
0
votes
0
answers
41
views
iOS Firebase appears to hang due to StoreKit (which isn't being used)
In the past few weeks something apparently has changed with xcode/Apple which is causing our iOS regression tests to hang on authentication using Firebase.
Googling the interleaved log error Error ...
0
votes
0
answers
70
views
Unity - Libraries of ARM64 not supporting 16 KB page size
I’m currently testing my Unity project for Android 15 compliance (Google Play requirement for 16 KB memory page sizes).
After upgrading to Unity 6000.0.62f1 (which claims to support 16 KB page size by ...
-4
votes
0
answers
61
views
Why is my Firebase Firestore query so slow, even with a small dataset? [closed]
Common reasons Firestore queries feel slow:
Missing Indexes
Composite queries require indexes. Firestore will show an error with a link to create one.
Large documents
Firestore charges & loads ...
-1
votes
1
answer
68
views
Firebase Missing or invalid credentials
From firebase i tried to git push, the authentication screen opened after entering credentials its redirected to my local machine, but the terminal is waiting for code, I tried pasting the code from ...
0
votes
0
answers
41
views
Workspace in Firebase Studio is stuck in a continuous loading stage
I am facing issue in loading of workspace in firebase studio, tried full browser clear data all time, checked allow third party cookies, used Edge browser as well. But still issue of workspace loading ...
-1
votes
0
answers
59
views
Expo Notifications on Android — InvalidCredentials: Unable to retrieve the FCM server key
I'm trying to get Expo push notifications on Android working and I'm stuck with this error:
InvalidCredentials: Unable to retrieve the FCM server key for the recipient's app. Make sure you have ...
0
votes
0
answers
43
views
Firebase Functions Deployment Fails: npm ci Can't Install Packages - package-lock.json Out of Sync Despite Fresh Installation [closed]
I'm trying to deploy a Firebase Cloud Function (2nd gen) but keep getting the same npm ci error about package.json and package-lock.json being out of sync, even after completely deleting and ...
Advice
0
votes
3
replies
74
views
Can multiple Firebase projects be linked to a single Google Cloud project?
I am working with Firebase and Google Cloud Platform, and I need clarification on the relationship between Firebase projects and Google Cloud projects. Specifically, I want to understand if it's ...
0
votes
1
answer
40
views
Firebase deploy getting eslintrc error, module not found
Im only using firebase functions, im building a flutter app for android and ios and my backend will be firebase functions, firestore, etc.
Everything is working just fine in my local, but when I ...
1
vote
1
answer
74
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
1
answer
110
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 ...
0
votes
1
answer
132
views
Firebase initialization failed on physical iPhone (iOS 26.1) – channel-error & iOS 14 deployment target issues
I’m facing a persistent issue when running my Flutter iOS app on a physical iPhone and iOS simulator (iOS 26.1). I am using the latest Flutter and Dart versions and my project is integrated with ...
Best practices
0
votes
3
replies
68
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:
[...
1
vote
0
answers
54
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 ...
1
vote
0
answers
74
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 ...
0
votes
1
answer
38
views
Firebase Functions v2 onCreate user [duplicate]
I can not for the life of me figure out why this is complaining. I was able to make an onCall function just fine (removed it here)... but when I make a firebase auth onCreate function, the get the ...
0
votes
1
answer
82
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 ...
0
votes
1
answer
104
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 ...
0
votes
0
answers
49
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 ...
1
vote
0
answers
65
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 ...
1
vote
0
answers
63
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&...
1
vote
1
answer
65
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 ...
0
votes
0
answers
65
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
2
answers
124
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
0
answers
93
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 ...
340
votes
65
answers
369k
views
Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)
The dialog for the credentials is opened successfully(Google's account selector dialog), but after I fill my credentials I'm getting this error. I followed the instructions from here. Created a ...
1
vote
3
answers
745
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-...
510
votes
29
answers
479k
views
No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() in Flutter and Firebase
I am building a Flutter application and I have integrated Firebase, but I keep getting this error when I click on a button either to register, login, or logout. I have seen other people have asked the ...
0
votes
0
answers
48
views
unable to deploy to firebase functions
package.json
{
"name": "functions",
"scripts": {
"lint": "tslint --project tsconfig.json",
"build": "tsc",
"...
0
votes
0
answers
28
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 ...
1
vote
0
answers
84
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
173
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-...
1
vote
0
answers
43
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 ...
0
votes
0
answers
48
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 ...
0
votes
2
answers
182
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:...
1
vote
1
answer
130
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 ...
156
votes
28
answers
205k
views
Swift pods cannot yet be integrated as static libraries FirebaseCoreInternal-library
I am building an app by Flutter. I got this error message when doing "pod install" or "pod install --repo-update" or "pod update" and the pod install failed and stopped.
...
2
votes
1
answer
142
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 ...
229
votes
42
answers
261k
views
CocoaPods could not find compatible versions for pod "Firebase/CoreOnly"
I've updated my flutter package to the last versions and now IOS doesn't work anymore.
When I try to update the pods it shows this error:
[!] CocoaPods could not find compatible versions for pod "...
0
votes
1
answer
99
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))...
0
votes
0
answers
64
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 ...
590
votes
32
answers
637k
views
How to handle notification when app in background in Firebase
Here is my manifest:
<service android:name=".fcm.PshycoFirebaseMessagingServices">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT&...