All Questions
427 questions
1
vote
1
answer
363
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
53
views
Firebase Push Notifications Failing on Dev Server: java.io.IOException Access Token Error in Java
I am encountering the following exception when sending push notifications (both token-based and topic-based) using Firebase in my Java Play Framework application on the development server:
Caused by: ...
0
votes
1
answer
34
views
Firebase device token based push notifications not working in Java Play framework
I am using Java version 8, with Play framework version 2.2.6.
My firbase-admin dependency version is 6.8.1.
I tried initializing firebase in my code with the json file provided. Sharing the ...
0
votes
0
answers
37
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 ...
0
votes
1
answer
985
views
How to obtain the Cloud Messaging server key to be able to send push notifications between mobile devices? Android - Flutter [duplicate]
I am trying to get a mobile device to send a push notification to another following a course.
In the image you can see that in the course I am following the cloud messaging server key appears
But ...
-1
votes
1
answer
60
views
How to solve problem Firebase Cloud Messaging
i'm trying to send Pushnotification via Firebase Cloud Messaging to my mobile but i received the below error so can you please help in fixing this issue
public String pushNotificationFCM(ProfileDTO ...
-2
votes
1
answer
6k
views
June 20, 2024 the legacy Firebase Cloud Messaging (FCM) APIs will be discontinued [duplicate]
We’re writing to remind you that starting June 20, 2024 the legacy
Firebase Cloud Messaging (FCM) APIs will be discontinued. This change
will cause the legacy APIs to return an increased number of ...
2
votes
0
answers
254
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
28
views
unable to run firebaseMessaging
I am unable to run firebase messaging on device
this is MyFirebaseMessagingService.java
package com.xyz;
import static androidx.core.content.ContextCompat.getSystemService;
import android.app....
0
votes
1
answer
243
views
Firebase - Send messages to specific devices in Java
I have this piece of code:
log.info("Sending message to topic: " + topic);
// This registration token comes from the client FCM SDKs.
String registrationToken = &...
1
vote
2
answers
168
views
Android Application Not Sending Notifications
I'm encountering an issue with sending notifications to my Android app despite having implemented all necessary additions.
I developed a WebView application and followed the common practices found on ...
1
vote
0
answers
107
views
FirebaseMessagingService does not receive notifications
I tried to add push notifications to my app via FirebaseMessagingService, however, it seems like the server itself is not working.
This is the code of sending a notification function:
private void ...
0
votes
0
answers
47
views
Keep getting sendID mismatch with Firebase messaging class
I'm testing the Messaging class that is modified from the Firebase Java Quickstart. But it keep telling me SenderId mismatch error which I'm sure my app got the valid push token under the same ...
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 ...