All Questions
Tagged with firebase-admin java
193
questions
1
vote
0
answers
43
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
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 ...
2
votes
1
answer
117
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
53
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
51
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
38
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
21
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
263
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
24
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
141
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
121
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 ...
1
vote
0
answers
118
views
Java Firebase Admin SDK setValue Never Completes
I'm trying to make a mod for Minecraft 1.8.9 (using Forge), and I need to use Firebase as a part of the project. I've gotten Forge setup and Firebase is working as a dependency. The mod builds, and I'...
0
votes
1
answer
61
views
Can't build .jar file with firebase-admin-java
This bug prevents to use firebase-admin in pure Java/Kotlin projects. Is there a known fix/ad-hoc?
The error happens after running the .jar:
Error: Could not find or load main class MainKt
It looks ...
0
votes
1
answer
230
views
Firebase Admin Sdk for Java not working. I can't get any result or data [duplicate]
I have a firebase admin sdk project in java. I have a problem, I cannot get any data or result from my firebase server. here is my project: [[enter image description here](https://i.sstatic.net/Gn8XU....
0
votes
1
answer
537
views
error: cannot find symbol .setCredentials(GoogleCredentials.fromStream(serviceAccount))
Please help me with this code, I still don't understand why I'm like this, I edited the gradle file, and edited the java file but it still doesn't work, please help me fix it.
p/s: this is the first ...