Category "firebase"

How does one set private environment variables on Firebase hosting?

With Divshot shutting down recently, I've switched a number of applications over to Firebase hosting. Some of these apps connect to external APIs, so I need a

Deploy error Cloud Functions - Firebase Deploy

Error returning when executing the firebase deploy command. I tried some configuration options, but none worked. Error Firebase Deploy === Deploying to '###'...

Cloud Functions deploy error during lint on Windows: "enoent ENOENT: no such file or directory"

Following the firebase function getting started guide and getting a seemingly simple error once trying to deploy with: firebase deploy --only functions i dep

How can i upload multiple images to firebase in flutter and get all their download urls

Here is my upload function. My desired output is a list of all urls, but it returns an empty list. I have tried different suggested solutions, but all of them h

StorageException: An unknown error occurred, please check the HTTP result code and inner exception for server response

I use Firebase Storage to upfile. But it does not work THIS IS MY CODE. FirebaseStorage storage = FirebaseStorage.getInstance(); StorageReference storageRef = s

Query firestore database for document id

I want to query a firestore database for document id. Currently I have the following code: db.collection('books').where('id', '==', 'fK3ddutEpD2qQqRMXNW5').get

FIrebase deploy error: Cannot find module 'firebase-admin'

I recently started getting the error below when trying to deploy to Firebase (after having done so successfully in the past). I'm not sure what might have chang

Is It Possible To Get The ID Before It Was Added?

I know that in Realtime Database I could get the push ID before it was added like this: DatabaseReference databaseReference= FirebaseDatabase.getInstance().ge

android-firebase childEventListener in service

in my android application i am trying to implement childEventListener of firebase database even when the app is not active. means whenever the firebase db parti

firestore: PERMISSION_DENIED: Missing or insufficient permissions

I am getting the Error gettingdocuments.com.google.firebase.firestore.FirebaseFirestoreException: PERMISSION_DENIED: Missing or insufficient permissions.

Firebase recyclerview always refreshes and losses its scroll position when starting new activity and returning

My Firebase recycler view always refreshes and loses its scroll position when opening new activity and coming back. Tried multiple solution in Stack Overflow bu

what is the recommended Cloud Firestore location for Egypt and the middle east countries?

I was starting a new firestore database and actually I didn't know what GCP resource location that's suitable for my target audience in Egypt. Any help will be

How to reduce the size of my node js lambda function?

My Node lambda is a fairly small function in terms of what it does/lines of code. yet somehow is sitting at 18mb in size. I think this might be due to me instal

Getting 404-Page Not Found error, when i reload my react application which is on firebase

I have deployed my react application on firebase, when i reload the page it is showing the below page. Firebase.json { "hosting": { "public": "build",

FirebaseMessaging.onBackgroundMessage in iOS when app is terminated/in-background never called

I have this issue, that I have a handler passed to FirebaseMessaging.onBackgroundMessage(firebaseMessagingBackgroundHandler) that's responsible to save the inco

Firebase cloud function deploy error

irregularly my firebase deployment get stuck at this log: i functions: updating function [FUNCTION NAME]... After canceling the deploy and retrying it thro

Firebase SMS multifactor authentication, error.resolver is undefined

I'm following a seemingly outdated documentation page at https://cloud.google.com/identity-platform/docs/web/mfa#choosing_an_enrollment_pattern When signing in

Firebase Cloud Function config to access other project db

I need to create a Cloud Function that will access the Firebase DB that is running in another project. If it was accessing the db in the current project, I coul

Firebase dynamic link won't open Appstore when the app is not installed

I have set up the Firebase project and dynamic link. Tapping Firebase dynamic link while the app is installed: directly open the app, both on iOS and Android. T

Firebase functions dotenv variable undefined

I'm running an update of a Firebase functions project. Environment variables was managed with runtime environment configuration (functions.config). Regarding th