firebase-admin Questions
1
Solved
When I run firebase emulators:start I have this error
Error: Cannot start the Storage emulator without rules file specified
In firebase.json
Before installing Storage emulator, I can set the rule...
Borchert asked 5/7, 2021 at 10:5
3
Solved
I use firebase-admin and firebase-functions to upload a file in Firebase Storage.
I have this rules in storage:
service firebase.storage {
match /b/{bucket}/o {
match /images {
allow read;
al...
Stertorous asked 2/11, 2017 at 10:24
1
Solved
I recently enabled App Check for my firebase app and enforced it on both my cloud functions and database. The cloud function workflow is behaving correctly. However, I can no longer access the data...
Stalder asked 25/6, 2021 at 10:43
1
I'm trying to create a user with email and password using firebase admin sdk in firebase cloud function, the user is created but it shows up as anonymous even if I pass email, password, and display...
Questa asked 24/4, 2018 at 16:40
2
Solved
I am attempting to set a notification priority to HIGH, as noted in the docs here and specific parameter defined here. However, when I set this property in my cloud function, I get the following er...
Roux asked 27/2, 2020 at 3:4
3
Solved
I am working with Cloud Storage for Firebase and can't figure out how to to access storage files
According to https://firebase.google.com/docs/storage/web/start official guide and https://firebase...
Tapley asked 14/12, 2017 at 9:41
5
Solved
I'm using multiple databases in a Firebase project. Cloud functions for the main (default) database work great, however, I cannot make them work for a secondary database. For example I want to make...
Sapers asked 18/12, 2017 at 2:25
2
Solved
I am using firebase auth and functions for my project. My database api is with a different provider. I need to make some calls to my database from functions as "admin". My server is set up to verif...
Adrell asked 13/5, 2020 at 6:21
1
Using the code here: https://github.com/firebase/functions-samples/blob/master/child-count/functions/index.js I get the "app already exists" error when deploying to Firebase. I have only changed th...
Pentastyle asked 1/3, 2020 at 14:47
2
I am building a python client-side application that uses Firestore. I have successfully used Google Identity Platform to sign up and sign in to the Firebase project, and created a working Firestore...
Cambist asked 11/2, 2021 at 10:49
0
Does anyone know why Firebase admin auth in node.js doesn't use ADC (Application Default Credentials)? I always have to set GOOGLE_APPLICATION_CREDENTIALS to a credentials file to get auth to work....
Mariehamn asked 9/2, 2021 at 15:31
4
Solved
so i've read all the documentation everything about increment a counter in a Firestore database.
I have this code
const admin = require("firebase-admin");
const db = admin.firestore();
...
db
.co...
Sniff asked 13/4, 2020 at 13:55
4
Solved
I'd like to make a copy of a collection in Firestore upon an event using Cloud Functions
I already have this code that iterates over the collection and copies each document
const firestore = admi...
Twaddle asked 6/4, 2018 at 10:57
1
I'm trying to have users of my app sign in by email + link, password-less. The client (written in React Native) asks for the sign-in link using the Javascript SDK like so, based on this answer:
va...
Katusha asked 13/1, 2021 at 4:10
2
Solved
I'm playing around with the new firebase auth emulator (on the node admin SDK), and have made some tests that run perfectly if I manually delete the created users between each test, but I can't see...
Venal asked 15/11, 2020 at 14:21
6
Hi there I'm new in python.
I would like to implement the listener on my Firebase DB.
When I change one or more parameters on the DB my Python code have to do something.
How can I do it?
Thank a lo...
Rycca asked 16/4, 2018 at 18:9
3
Solved
In order to set a custom claim, one uses:
admin.auth().setCustomUserClaims(uid,{claim:value});
There does exist
admin.auth().updateUser(uid,{claim:value});
...but I'm not exactly clear on ho...
Melitamelitopol asked 9/1, 2018 at 19:35
2
Solved
I have node app with service account based access, so I used firebase-admin. As I could see before, firebase-admin mostly duplicated firebase package (except for authentication part, signatures and...
Khmer asked 29/11, 2020 at 13:11
4
I want to delete a folder in firebase storage with node js because this is a firebase function.
For example :
storageRef.child(child1).child(child2).delete();
something like this, but firebase...
Peewit asked 8/1, 2019 at 10:12
2
Solved
I am trying to create a user in firebase database using cloud functions. This is my code :
exports.AddUser = functions.https.onRequest(function(req, res){
if(req.method == 'GET'){
email = req....
Outcome asked 15/6, 2018 at 23:23
3
Solved
When using Firebase Storage to store images, there is a URL to the image that looks like this :
https://firebasestorage.googleapis.com/v0/b/[MY-APP].appspot.com/o/[FILE-NAME]?alt=media&token=[T...
Armet asked 4/11, 2019 at 7:50
2
Solved
I am trying to send a push notification via Firebase cloud messaging. I am using Firebase admin sdk to send push notification in fcm . I am using nodejs
When I am trying to send a push msg , ...
I ...
Shoa asked 23/6, 2020 at 10:39
0
I have a Python2/Django application running on AWS Beanstalk. I use Dockerfile for deployment. Everything was working fine until I added firebase-admin==3.2.1 dependency to my requirements.txt. Wha...
Corrigan asked 8/11, 2020 at 11:36
2
Solved
I am trying to install my node.js server in hosting. The server running on Windows but not work in hosting.
RUN NPM INSTALL ERRROR
An error occured during installation of modules. The operation ...
Assortment asked 27/1, 2020 at 9:8
5
I'm creating a website where businesses can offer my service to their clients/users for free. For a business to add a user (under their business account), the business logs in and inputs one of the...
Interoffice asked 22/6, 2018 at 1:34
© 2022 - 2024 — McMap. All rights reserved.