firebase-admin Questions
3
Solved
As of July 1, Firebase requires the addition of labels to messages in order for analytics to show about the number of data message sends etc.
'Starting Monday, 1 July 2019, you will be able to f...
Whisker asked 7/7, 2019 at 9:23
1
I am trying to use cookie based auth in addition to the normal clientside firebase auth for my Nextjs application. I have read around the internet and I have come across a few blogs like this one h...
Access asked 23/4, 2023 at 2:22
3
In my firebase cloud functions, I have upgraded firebase-admin to version 11.0.0 (from 9.12.0) and engines from 12 to 16. After that admin.firestore.FieldValue is undefined when I run my code in th...
Lavella asked 10/7, 2022 at 12:4
4
Solved
I am running a node server with the firebase admin sdk. However, everytime I try to send a push notification from the server, I get a 401 error.
Here's the exact error I'm getting:
errorInfo: {
co...
Kenton asked 2/6, 2022 at 17:26
6
I'm using firebase for auth and db, and AWS lambda for cloud functions.
To add firebase to my JS project, I initializeApp with the firebase config as parameter, as documented here : https://fireb...
Extemporize asked 3/9, 2019 at 1:21
7
I got this error firebaseapperror: failed to parse private key: error: invalid pem formatted message when I pushed my nodejs app to heroku.
I had my environment variables all set like this
# .env f...
Centenarian asked 8/12, 2021 at 20:10
2
The "old / version 8" JavaScript API for Firebase messaging had a function for sending a notification to the mobile device:
admin.messaging().sendToDevice(...)
The "new / modular / ...
Convivial asked 18/12, 2021 at 2:3
3
Is there anyway to check if all firebase transaction is completed in firebase-admin nodejs script, and properly disconnect from firebase and exit the nodejs script?
Currently, the firebase-admin n...
Valiant asked 13/1, 2017 at 8:43
3
Solved
The docs from Firebase suggest that the API offers the same features as the console:
It is not always convenient to have to visit the Firebase console in order to manage your Firebase users. The...
Intreat asked 25/9, 2017 at 12:1
2
Solved
I am using Node 10, firebase 8.0, firebase-admin 9.3.0. I've included a copy of my test code & client side js version.
Data
Document ID | name | is_visible
----------- | ---- | ----------
1 | ...
Dehumanize asked 3/11, 2020 at 15:45
8
I am using firebase cloud functions with javascript on cloud functions.
And, I want to switch from javascript to typescript.
However I cannot use firebase-admin on typescript as following command ...
Fricassee asked 27/5, 2017 at 18:28
7
I make an C# API to push notification to Flutter app.
My API basically like code below :
public async Task < IActionResult > pushNotification () {
FirebaseApp.Create(new AppOptions() {
Cred...
Mauricio asked 20/9, 2021 at 21:28
10
I have deployed a python code in Google App Engine.In my code,tried to import firebase_admin,but it shows following error,
import firebase_admin
ImportError: No module named firebase_admin
hello...
Burnham asked 7/8, 2017 at 18:28
3
I writing a hapi backend api with firebase admin. I can't find a fix for this error.
TypeError: Cannot read property 'cert' of undefined
at ModuleJob.run (internal/modules/esm/module_job.js:109:37...
Ambrotype asked 7/6, 2020 at 19:22
3
Solved
I have an API which uses the node admin sdk to connect and call to firebase. My clients hit my api for all the things they need. I do not want them to have to call out to firebase to authenticate d...
Westing asked 8/10, 2017 at 1:0
3
I require a Google Sign-In for a Firebase application, to get this done I used multiple sources:
auth-sessions provides a good out of the box example with NodeJS + Firebase + Google Login.
manage ...
Wilkerson asked 2/9, 2021 at 12:19
2
I am struggling to connect to the emulated Firebase Auth service via the Firebase Admin SDK. I cut down the code to really make the problem stand out, and hope someone can help.
This is the code of...
Botha asked 25/2, 2022 at 16:29
3
Solved
I'm getting this error in my terminal:
@firebase/database: FIREBASE WARNING: {"code":"app/invalid-
credential","message":"Credential implementation provided to .
initializeApp() via the \"creden...
Saidee asked 9/10, 2018 at 14:30
2
im using this tutorial:
https://firebase.google.com/docs/auth/admin/create-custom-tokens#using_a_service_account_id
to create a node.js function (deployed to google cloud functions) to authenticat...
Quiff asked 16/3, 2020 at 10:17
10
Solved
I'm trying to update a field timestamp with the Firestore admin timestamp in a collection with more than 500 docs.
const batch = db.batch();
const serverTimestamp = admin.firestore.FieldValue.serv...
Deciare asked 4/9, 2018 at 11:32
4
Solved
I have multiple firestore databases in my project.
The databases were created using the command line and I can see it in the Firestore Databases preview following the instructions here: https://clo...
Ski asked 7/9, 2023 at 17:26
4
Solved
I have a NodeJS Firebase Function that uses firebase-admin sdk. It has been working alright since last year. In the last 2 weeks, the following error started showing in the log:
Credential implemen...
Bandit asked 11/8, 2021 at 5:56
0
I'm initializing the firebase config as following,
firebaseAdmin.initializeApp({
credential: applicationDefault(),
projectId: "${my_project_id}",
});
Verify ID token is working,
fireba...
Kerplunk asked 10/8, 2023 at 21:36
8
Solved
How can I send a verification email after I create a user with firebase admin SDK?
I am trying to combine createUser function and sendEmailVerification function
could somebody indicate a hint or an...
Bludge asked 26/1, 2017 at 20:42
4
Im trying to use Firebase cloud functions to add the id of a chatroom to the users document in an array field. I cant seem to figure out the way to write to an array field type. here is my cloud fu...
Simon asked 12/1, 2018 at 18:19
1 Next >
© 2022 - 2024 — McMap. All rights reserved.