All Questions
Tagged with firebase-admin java
197 questions
0
votes
0
answers
43
views
Initializing Firebase Cloud Message from a Google Cloud Function
We have two projects. One contains a Google Cloud Function. The other is a Firebase project.
How should Firebase be initialized by the GCF? Ideally, I'd like to use Application Default Credentials (...
0
votes
0
answers
30
views
Setup Firebase Admin SDK with mixed Credentials (because of IID server usage)
I am building a java backend that manages subscription of devices to firebase topics, and send messages to these topics.
I am using the official sdk firebase-admin-java 9.2.0 for this.
My company ...
1
vote
0
answers
51
views
Bulilding Javafx with Firebase into Jar
I have been trying for two weeks now to build my javafx and firebase project into jar. Firstly when i build the normal projec into jar and run it without firebase and google cloud dependecy it works ...
0
votes
0
answers
41
views
Java , firebase-admin module not found
I've just created new java 17 project with gradle 8.5 build system.
added admin sdk dependecy in build.gradle.
Synced project. Dependecy was downloaded. But after i was tried to run main module with ...
1
vote
0
answers
77
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
vote
0
answers
46
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 ...
2
votes
1
answer
266
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
152
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, ...
2
votes
0
answers
152
views
Does the Firebase Admin SDK support workload identity federation ?
Recently, we made the service account key and saw a box that said
Service account keys could pose a security risk if compromised. We recommend that you avoid downloading service account keys and ...
0
votes
0
answers
43
views
In the Rest API I developed with Java Spring, where I authenticate with Firebase Auth, I get an access error even though the token is correct
In the Rest API I developed with Java Spring, where I authenticate with Firebase Auth, I receive a response from this mailman even though the token is correct.
{
"timestamp": "2024-05-...
0
votes
0
answers
44
views
How to use firebase storage in spring mvc for upload image
I have configured firebase realtime database and firebase storage but only the realtime database can be used and when I use the storage it gives me a 401 unauthorized error.
com.google.cloud.storage....
0
votes
0
answers
422
views
Error : Error getting access token for service account: Remote host terminated the handshake, iss
I'm using below Java snippet to get the Authentication token for Firebase Messaging. But its throwing error during refreshIfExpired method call.
Java code:
private static String getAccessToken() ...
0
votes
0
answers
25
views
Firebase ID token has incorrect "aud"
0.we finished this stpes follow guide.
0.1.create project on firebase and added android app
enter image description here
0.2.opened Firebase Authentication
enter image description here
0.3.re-...
0
votes
0
answers
198
views
Thread pool not released
I upgrade the firebase-admin to 9.2.0, and I want use FirebaseMessaging.getInstance().sendEachForMulticastAsync(multicastMessage) to instead of the FirebaseMessaging.getInstance().sendMulticast(...
1
vote
0
answers
158
views
Problems using firebase java admin sdk with tomcat
Is anyone successfully using the java firebase admin sdk with apache tomcat?
I'm experiencing big problems, probably related to the internal messaging system (io.netty) used by the firebase sdk: after ...