All Questions
65 questions
1
vote
1
answer
342
views
Facing difficulty in multicast push notification in java spring boot
My requirement is that i am doing a news portal project where i want to send latest added news to all the tokens which i have. The issue i am facing is that, i am not able to use sendMulticast ...
0
votes
0
answers
72
views
how to authenticate account when login by sms otp with firebase using java spring boot
I want to authenticate my account by sms otp with firebase using java spring boot, I have read many sources of documents but still have not found the answer, please someone guide me, thank you very ...
-1
votes
1
answer
147
views
Spring Boot FirebaseAuth signInWithEmailAndPassword method undefined for (String, String)
I am trying to simply verify if the correct password was entered for a Firebase User given email and password. I assumed the easiest way to do this would just be signing in (if there is another way ...
1
vote
0
answers
171
views
Firebase app check backend implementation for Java/Springboot
I want to implement the firebase app check backend implementation for Java/Springboot (Maven). The official documentation only provides for nodejs and python implementations but it provides steps for ...
0
votes
1
answer
60
views
ClassCastException when trying to get the timestamp from firestore with springboot
I'm trying to get the timestamp from a document in a collection but I get an error:
ERROR 26920 --- java.lang.ClassCastException: class java.util.Date cannot be cast to class com.google.cloud....
0
votes
1
answer
466
views
How to mock TopicManagementResponse from firebase messaging in Junit using springboot
I have been trying to mock my TopicManagementResponse for testing my test class , but even after using TopicManagementResponse resposne = Mockito.mock(TopicManagementResponse.class) it still says ...
0
votes
0
answers
200
views
Where to put google-services.json file (that has API keys) in a Spring Boot application?
I am trying to understand the resources directory in a Spring Boot application and if it is the correct place to place my google-services.json file.
Are the files put in the resources folder visible ...
0
votes
2
answers
221
views
Unresolved dependency: firebase-database:20.2.2 in Spring Boot
I would like to ask for some help for a trouble I can't solve. I want to use Firebase Realtime Database in a Spring Boot controller but when I try to import the dependency, the gradle shows me the ...
0
votes
1
answer
487
views
How to use Google cloud Firestore Emulator for Java in Spring boot Application project
i tried to connect firestore emulator to spring boot application. but it is not working.
firestore emulator implementation firestore implementation.
firestore start. firestore start
0
votes
1
answer
40
views
How to get the name from firebase using spring
im new into using spring and firebase with Java and im trying to get the name of an user from my database on firebase to do a login that return the id of the name that the frontend sent me in a JSON ...
2
votes
1
answer
665
views
Can not create bean of 'firestoreTemplate'
When I try to run my application, I get this error, Field textbookRepository in com.uga.backend.controller.TextbookController required a bean named 'firestoreTemplate' that could not be found. No ...
0
votes
1
answer
612
views
Firebase Emulator - Spring boot - FirebaseApp with name [DEFAULT] doesn't exist
I have a spring boot app using a Firebase (Emulator) running in a docker container.
This is my configuration
GoogleCredentials credentials = GoogleCredentials
.create(new AccessToken(
"...
2
votes
0
answers
133
views
Create Firebase Dynamic Link using JAVA
In my firebase account, I create dynamic link manually and I got that dynamic link in my application, but the issue is that I need to create dynamic link randomly using JAVA.
I am able to create ...
0
votes
0
answers
199
views
Error when trying to request dockerized and deployed Spring Boot App with Firebase
I have a simple Spring Boot application with connection to the Cloud Firestore on Firebase. I can send some requests to this app, then Spring retrieves some documents from Firestore and returns to me ...
1
vote
0
answers
328
views
How to get fcm_option.link from [firebase-messaging-sw.js] Received background message (payload)
I'm trying to get my FCM web notifications to contain a clickable link to my site.
I have generated fcmlink through backend(java).
1.Created Class NotificationWebDataDTO which implements ...