Questions tagged [firebase-notifications]

Firebase Notifications is a free service that enables targeted user notifications for mobile app developers. Firebase Notifications is a cross-platform solution that lets you easily deliver notifications at no cost.

About Firebase Notifications

Firebase Notifications is a component of the Firebase suite of tools for cross-platform application development.

  • Send free and unlimited notifications across Android, and iOS.
  • Send messages and analyze effectiveness in one dashboard without writing any code
  • Integrate with Firebase Analytics to deliver messages to a user segment

Related tags

749 questions
9
votes
3 answers

Can't Expand Firebase Notifications

I've made an app using Firebase Auth and Messaging, I keep sending notifications to app through Firebase Console, the problem is I can't expand the notification if it is big. How do I do it? Help Me public class FirebaseNots extends…
9
votes
1 answer

How to use an existing GCM token within another Firebase project?

Lets say I have Google Cloud Project (GCP1) with GCM turned on with Client id P1. Now I have created a standalone Firebase project F2 WITHOUT importing it to GCP1. I have also released F2 to production. (Alternatively, I have imported F2 from an…
Arun Venkatesan
  • 403
  • 3
  • 7
9
votes
1 answer

firebase scheduled notifications

For my app, I want users to schedule the time which they receive a specific notification. I was looking over the Firebase docs and could not find a method that would allow me to do this. Is there a way to allow users to schedule notifications with…
8
votes
1 answer

Sending Emojis in Firebase notifications

Sort of a two part question here: How do I send emoji's through Firebase notifications? I tried entering a message of the thumbs up emoji with the message body being "\U1F44D" but that didn't render on my phone when the notification came…
8
votes
2 answers

How to detect if token is expired or not registred firebase FCM notification on app server?

I am using following code to send the FCM notification from server to device : String fcmServerKey = externalConfig.getFcmServerKey(); CloseableHttpClient httpclient = HttpClients.createDefault(); HttpPost httpPost = new…
8
votes
1 answer

What is the maximum limit of users for single topic subscription in Firebase?

I am using Firebase topics to send notification.While doing so i came across the Firebase notification console which shows (topic-name)<1000 estimated user on selecting sending notification through topics I have read this POST.It says Firebase can…
Burhanuddin Rashid
  • 5,260
  • 6
  • 34
  • 51
8
votes
2 answers

FCM push notification showing white square icon instead of app icon when app is in Background

I am using FCM in my android app to manage push notification. Its completely working fine when the app is in foreground and the app icon is also visible(properly). But when the app is running in background I am not getting the notification properly.…
8
votes
2 answers

Firebase Send a Notification to a User Segment on iOS not working

I've installed according to the manual. But only when I send the message to all iOS platform, only then I am getting the push notification. But when I am sending my massage to specific version or specific device for testing purposes, the massage is…
Luda
  • 7,282
  • 12
  • 79
  • 139
8
votes
2 answers

How to get custom data from android firebase notification?

I'm trying to implement firebase notifications. But I have trouble finding any documentation on how to retrieve custom data from firebase notification. But in in code how to get the custom key. I'm using FirebaseMessagingService.onMessageReceived…
Isuru
  • 3,818
  • 13
  • 49
  • 64
7
votes
2 answers

Firebase FCM notifications add action button

How to add action button to push notification like this: I tried this and its not working: => https://firebase.googleblog.com/2018/05/web-notifications-api-support-now.html here's my notification payload: array ( "title" => "FCM Message", …
7
votes
1 answer

Group notifications by id and display like Whatsapp

I've been trying to group notifications by an id to have them displayed as WhatsApp for example, without having one notification per line. Adding setGroup in either onNotification or onNotificationDisplayed seems to have no effect see examples…
7
votes
1 answer

react-native-firebase getInitialNotification loop

I use React Native Firebase to receive notifications in React Native. When message is received in background and I click on notification, getInitialNotification will be triggered. If I navigate to another screen an than back to my HomeActivity,…
7
votes
3 answers

How can i send push notification to specific users just knowing the userID inside Button OnClickListener? Firebase

I just need to send a push notification to a specific users inside my Button OnClickListener. Is it possible with userId and all information of this specific user? this is my Button OnClickListener() code richiedi_invito.setOnClickListener(new…
user8593304
7
votes
2 answers

different language notification Firebase

How can I send a notifications if the device is in English and an other notification for all other language ? I tried to make two different audience but the two audience are empty.
Max0u
  • 691
  • 1
  • 9
  • 21
7
votes
1 answer

Google Analytics for Android. Users that receive notifications are counted as active

I am using Google Analytics in my apps and it works correcly. However, if I have, lets say, 100 active users daily, and then I send a notification, I have a peak of 1000 connected users counted as "active". I don't know if there is an easy way to…