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

724 questions
90
votes
9 answers

How do you send a Firebase Notification to all devices via CURL?

I'm attempting to send out a notification to all app users (on Android), essentially duplicating what happens when a notification is sent via the Firebase admin console. Here is the CURL command I begin with: curl --insecure --header "Authorization:…
77
votes
6 answers

Android app not receiving Firebase Notification when app is stopped from multi-task tray

I have read a similar question on SO, however, I was not able to get the correct answer from it. I have a system wherein we send notification to around 500 devices. Unfortunately, many of these devices are not receiving the notification. I have…
72
votes
13 answers

Firebase onTokenRefresh() is not called

In my MainActivityin my log, I can see the token using FirebaseInstanceId.getInstance().getToken() and it display the generated token. But it seems like in my MyFirebaseInstanceIDService where it is extends to FirebaseInstanceIdService, the…
71
votes
4 answers

How To Create Topic in FCM Notifications

I'm trying Firebase-Notification API the service is worked perfect when i send downstream message from console to app, but how to send message to topic registered users ? i did in android side…
69
votes
5 answers

What is FCM token in Firebase?

In the new Firebase, under Notification, they have mentioned that developer can send notification to a particular device. For that, in console it asks for an FCM token. What is it exactly and how can I get that token?
61
votes
11 answers

Firebase FCM notifications click_action payload

I am trying to open a particular activity when the user clicks the notification when the app is in the background. From the Docs, I have got that click_action has to be added in the payload and an intent filter in the App to handle it. But, how to…
39
votes
5 answers

Open app on firebase notification received (FCM)

I want to open application automatically when notification is received, is this possible with Firebase and new FCM notifications? I know I can set click_action but that's only for customizing which activity will start on notification click, I need…
35
votes
2 answers

FCM Schedule delivery date or time of push notification

I have working with FCM console to send push notification and it has an option to schedule the delivery date. But in the references, this API is not documented as an option. I need to know if its possible to push a notification with predefined…
35
votes
6 answers

APNS Firebase Notification failed to fetch token

For Swift3 / iOS10 see this link: ios10, Swift 3 and Firebase Push Notifications (FCM) I'm trying to use the Firebase for Notifications and I integrated it exactly as described in the docs. But I don't understand why is doesn't work. When I build my…
32
votes
3 answers

Firebase notifications when app is closed

I have implemented Firebase notification in my Android application. When my app is running, notification is displayed with my custom layout, but when application is not running, the notification is displayed with the default layout. How can I change…
27
votes
1 answer

What is the difference between Firebase push-notifications and FCM messages?

Heloo, I am building an app where I am using push notifications via Firebase Console. I want to know what is a difference between simply push-notification and cloud message? Is it that messages from cloud messaging are data messages(have key and…
26
votes
5 answers

Open specific Activity when notification clicked in FCM

I am working on App in which I am required to show notification. For notification, i am using FireBase Cloud Messaging (FCM). I am able to get Notification when app is in background. But when I click on notification, it redirect to home.java page.…
26
votes
2 answers

Firebase Cloud Messaging Doesn't Create Push Notifications but Gets Information

I was working through this tutorial (https://www.youtube.com/watch?v=JsWHzU1DxjM) to try and put push notifications into my iOS app. I was able to successfully get the certificate for APNS and set the "push notification" and "background modes"…
pdrum
  • 269
  • 1
  • 3
  • 8
25
votes
10 answers

Clicking on notification doesn't open mentioned activity

I am trying to open an Activity when the notification is clicked and below is my code. Intent intent = new Intent(this.getApplicationContext(),…
25
votes
2 answers

Limitations for Firebase Notification Topics

I want to use Firebase notification for my android application and what i want to know is that is there any limitation for number of topics ? or for the number of users that can subscribe a topic ? For example can i have 10000 topics with 1 million…
Armin
  • 1,834
  • 2
  • 18
  • 25
1
2 3
48 49