Questions tagged [firebase-admin]
The Firebase Admin SDKs are a set of libraries for accessing Firebase APIs from trusted environments, such as a development machine, a server that you control, or serverless backend such as Cloud Functions/Cloud Run. There are libraries for Node.js, Java, Python. Go and .NET.
firebase-admin
2,317
questions
0
votes
1
answer
31
views
Firebase-admin sdk for Python raise error "StreamGenerator" is not iterable
Previously(a week ago) my Python code for communicating with Firestore works perfectly fine. But today I started working on it again, it raise error when iterating the collection.stream()
...
-3
votes
0
answers
21
views
How to log Firebase-admin-java debug messages? [closed]
I'm using firebase-admin 9.2.0 libraries to send android pushes for my JavaEE program. I wanna log firebase's send/receive msg, so I added slf4j-simple.jar into {My APP}/WEB-INF/lib, and created ...
0
votes
0
answers
18
views
Issue with Data-Only Push Notifications Displaying in FCM
I'm using FCM to send push notifications to mobile devices with a Python backend, specifically using the firebase_admin library. I'm sending both data-only and notification messages. Here are the ...
1
vote
0
answers
41
views
Firebase Admin API fails silently when writing to realtime database
I am having problems with a dockerised Java application that uses the Firebase Admin SDK to make updates to a Firebase Realtime database.
This code has worked well for years in a Google hosted ...
-1
votes
0
answers
28
views
Use custom email handler for email revocation - Firebase Authentication
I've been using Firebase Authentication for user management. It does not allow to customize the email template for operations like password reset or email verification so I've been using custom email ...
3
votes
1
answer
139
views
Firebase-admin dependency farmhash-modern throws webassembly error
I'm trying to configure firebase-admin SDK on my nextjs + TS project. Whenever i try to invoke any SDK function, i get a webAssembly error. In my case, i am trying to configure a middleware for the ...
0
votes
1
answer
26
views
Sudden problem with event_time when sending firebase message
I have a service sending messages to FCM using C# .NET8.
Starting from sunday evening no messages are sent and the following error is reported
Invalid value at 'message.android.notification....
1
vote
0
answers
24
views
Remove data key from firebase cloud message
I am implementing push notifications for React Native applications - both iOS and Android.
Currently I am running into a problem that firebase admin SDK in Java(my backend), always sends the data key ...
0
votes
0
answers
83
views
Getting Unknown ErrorCode in response when sending FCM Notification by using FCM HTTP v1 SDK in C# .NET
I am using FCM HTTP v1 SDK to send Multicast Message as shown below in our C# .NET Application:
//Send MultiCast Message using SDK
BatchResponse pushRes = await FirebaseMessaging.GetMessaging(...
2
votes
1
answer
110
views
How can I download an object from Google Cloud Storage, through the Java Admin SDK?
I am currently developing a Java application that uses the Admin SDK to store and retrieve data from Google Firestore, but I also wanted to extend that use to Google Cloud Storage as well. When it ...
0
votes
0
answers
50
views
When sending a message using Firebase Admin SDK through a proxy with basic authentication, a 407 error occurs and the message cannot be sent
Currently, I am using the Firebase Admin SDK to send Firebase messages in a Java server-side application.
I can send messages without a proxy and through a proxy without basic authentication.
However, ...
0
votes
0
answers
30
views
Why did my Firebase Service Account stop working?
Today I began upgrading my NestJS backend from 9 to 10. The firebase upgrade was not a major upgrade.
Firebase upgrade:
"firebase-admin": "^12.0.0" to "firebase-admin": &...
1
vote
0
answers
25
views
Passing JSON data, back from a cloud function [duplicate]
The issue I am having concerns the cloud function hereafter.
The problem is in the dbRef.once({}) block. The traces observed due to the logs (i.e console.log(...)) are as expected. Having either "...
0
votes
0
answers
32
views
Errno 110 Connection timed out in firebase admin python lambda
I'm trying to create a lambda python api that can send notification to a user device but I'm encountering Connection Timed Out error.
Also tried already to set the timeout in lambda to 1 minute but ...
0
votes
1
answer
31
views
Testing if a data path exists in a realtime DB
I need to know the simplest way to test if some data path actually exists in a realtime database, inside a cloud function.
Here something I tried, but I already know it is wrong:
....
admin....