Skip to main content

All Questions

0 votes
0 answers
36 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 ...
ttben's user avatar
  • 113
0 votes
0 answers
48 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 ...
Drained's user avatar
  • 119
2 votes
1 answer
346 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 ...
Phoebus21's user avatar
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-...
Yigit Kula's user avatar
0 votes
0 answers
46 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....
user21960224's user avatar
1 vote
0 answers
177 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'...
simplexshotz's user avatar
0 votes
1 answer
346 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....
Fidelio Rainbow's user avatar
0 votes
1 answer
728 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 ...
Hoàng Trần's user avatar
0 votes
1 answer
146 views

Java Firebase Admin SDK - DatabaseReference - setValue vs setValueAsync

Using Java - Firebase Admin SDK. I have to make two updates on the Firebase Realtime Database. Update#1 has to happen and only then Update#2 should happen. I was earlier using this : ref.setValueAsync(...
ishallwin's user avatar
  • 310
0 votes
2 answers
696 views

Firebase IdToken not getting validated with Admin SDK

I need to do google signin in flutter app using firebase. Generate idToken at client, and send it to backend Admin SDK for verification of idToken. Issue: I am getting below error when calling method ...
anonymous's user avatar
0 votes
2 answers
129 views

How to modify a users firebase authentication token claims?

How can I update a users claims if the map returned is an immutable map? This is example code from Firebase Auth docs on how to update claims: UserRecord user = FirebaseAuth.getInstance() ....
TrollBearPig's user avatar
0 votes
1 answer
356 views

Firestore OR queries using Java

I want to perform OR query operation in Firestore using Java client. I am trying to merge the queries. Code : FirebaseFirestore rootRef = FirebaseFirestore.getInstance(); Query firstQuery = rootRef... ...
Neha's user avatar
  • 1
0 votes
1 answer
4k views

Firebase: Get list of users subscribed to a topic [duplicate]

Is there a way to, using the Firebase Admin SDK for Java, get a list of all registration tokens that are subscribed to a given topic? If not, is there a way to get that information using the REST API?
nixin72's user avatar
  • 342
0 votes
2 answers
503 views

java.lang.NoSuchMethodError when initialising firebase through admin SDK Java

I am trying to connect to firestore through the firebase admin SDK. However, when I call: FirebaseOptions options = new FirebaseOptions.Builder() .setCredentials(GoogleCredentials....
Aryan's user avatar
  • 156
0 votes
1 answer
94 views

Connection to a Firebase Real-time Database using admin SDK does not trigger the initial onDataChange callback

I am trying to retrieve data from a Firebase Realtime database using the Firebase Admin SDK in java (in a java server context). The authentication is done using the service account. I followed all the ...
Thibaut's user avatar

15 30 50 per page
1
2 3 4 5
10