All Questions
99 questions
2
votes
0
answers
253
views
How do I send FCM requests to a large number of devices quickly? [closed]
I've inherited a Java project that sends push messages to various platforms, including Android an Chrome.
It also uses FCM legacy API, and we have to migrate it to FCM V1.
I've managed to deal with V1'...
0
votes
0
answers
36
views
how to open Android Application automatically when received FCM message
My app is receiving the notification but it's not opened alone here is the code I have:
public class MyFireBaseMessagingService extends FirebaseMessagingService {
private static final String ...
0
votes
0
answers
35
views
Push notifications from app when new record is added in firebase realtime database [duplicate]
My question is that how can I add the notifications in my app when new record is added in the firebase realtime database. I am using java for backend. I've checked the documentation but was not able ...
1
vote
1
answer
578
views
Android FirebaseMessagingService is not called when app is in background
In Android, I am using firebase notification service for push notification. The message need to modify/amend with custom data and will display to the user. I am doing it in onMessageReceived() as in ...
2
votes
0
answers
285
views
One Signal push notification getting failed if a custom category is used
In one of my one signal projects, I have created a custom category of notification channel from the one Signal dashboard itself, but sending notification with custom category getting failed for all ...
0
votes
2
answers
235
views
get Application Context error 'Context.getApplicationContext()' on a null object reference
I am new to android development. I couldn't find and so posting here.
I want to send firebase push notification to all user through using admin app when implementation is done i am getting error ...
0
votes
1
answer
274
views
how to receive push notifications even when the play services are disabled on android
As you know firebase uses play services to push notifications but I am working on an android app that requires to receive push notifications even when the play services are disabled and the phone is ...
0
votes
1
answer
228
views
Send Push notifications by FCM - Android
I'm working on application in which i want to send push notifications to specific user
I got his token, store it.
Also got my API key.
I tried to send POST request with postman and it did it ...
0
votes
0
answers
105
views
Unable to get push notification in the Android app using the firebase
I'm making use of Firebase account and In that I have selected Cloud messaging. Through that option, I can send any message from firebase to my Android emulator.
The token is generated and I have ...
0
votes
0
answers
274
views
android firebase schedule notification programmatically (even in months) [duplicate]
I am developing a personal app on android studio with java and firebase, in this specific project I don't have registration, protection or something else, just the java code connected to the firebase ...
-2
votes
1
answer
95
views
Need assistance with my deprecated FirebaseInstanceId code
The FirebaseInstanceId is deprecated and need to fix the code. Here below I'll post the errors and the code after that. Thanks in advance for any help.
Metadata.getDefaultSenderId(FirebaseApp....
0
votes
2
answers
820
views
firebase push notification sound not working on android app in android studio
I have implement Push notification firebase services class and add on my project and send notification API Request through so notification proper receive but notification sound work to app active ...
0
votes
0
answers
337
views
Firebase notification OnClick
I have made a Java app in which users can chat I what to add a feature through which when a user clicks on Button View a notification will be send to all users using FCM or Firebase Cloud Messaging
1
vote
3
answers
3k
views
How to open fragment from the click of the notification?
This is my onMessageReceived method. I am getting data from notification i want to open fragment when i click on this notification and get the data from this.
@Override
public void ...
0
votes
1
answer
2k
views
Get firebase registration token in SpringBoot java project
My serser uses Java with SpringBoot and my client is an expo react native app which uses typescript. I am really blocked by this feature: I want to sens push notifications. I tried a lot of methods, ...