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
7
votes
1 answer

How to send Firebase message to specific application in project?

I have a doubt based on firebase. It allows to add multiple application for a single project. I have added App1, App2 and App3. How can I send a notification to App1 alone? Server key is the same for those 3 apps.
7
votes
1 answer

Cloud Functions for Firebase: Sending topic notification to Android device not working

I was following this tutorial from Udacity where Cloud Functions for Firebase was used to change the data of a ref on data added. I wanted to use similar function, but for sending a push notification to users subscribed to topic. This is the…
7
votes
2 answers

iOS: Invalid registration token. Check the token format

I am new for Firebase as well as for iOS. I am trying to send push notification using FCM. I registered an iOS app on FCM. Both .p12 certificates added. Code developed according to FCM. While sending notification through the Firebase Console, I'm…
7
votes
2 answers

Android Firebase Push notification restarts app when clicked

When receiving a Firebase push notification, while the App is backgrounded, Firebase automatically displays a notification. The pending Intent included in this notification seems to always include the FLAG_ACTIVITY_NEW_TASK flag, which will cause…
7
votes
3 answers

How to setup Android Firebase Notification in Manifest?

I'm trying to setup Firebase notifications. I did changes in app level and root level build.gradle. But still, its giving me error in Manifest for MyFirebaseMessagingService. Error is Unresolved Class.
coolamz
  • 377
  • 2
  • 3
  • 11
7
votes
2 answers

Push notification not received when App is in Background in iOS 10

I'm using FCM(Firebase Cloud Messaging) for sending push notifications in iOS. I'm able to receive the notification when App is in foreground state. But when the App is in background state, the notification is not received. Whenever the application…
7
votes
2 answers

FCM - Get Message Label

To send a message from FCM backend, we have this view : I wanna to get the message label (libellé du message) from RemoteMessage. When I debug for the field, the content in the message is labeled as google.c.a.c_l, which I think is an internal…
TooCool
  • 10,598
  • 15
  • 60
  • 85
7
votes
1 answer

iOS and Google Firebase - How to do Notification Actions

My Goal: Using Google Firebase Messaging, set up iOS Notification Actions Resources Referenced: Action Notification Tutorial FCM - Message Format FCM - Message Format with Data FCM - Handling Messages on iOS iOS - Remote Notification…
smileham
  • 1,430
  • 2
  • 16
  • 28
7
votes
2 answers

Notification sending from firebase console but its showing failed status but sending to all device is mark as completed

I have implemented push by firebase. I'm sending notifications but I am getting status of "Failed". When I send notification to all devices it is marking as completed but I am still not getting messages in device. Even when I send messages to…
Zaeem Sattar
  • 990
  • 2
  • 12
  • 30
6
votes
1 answer

Flutter - Cannot set Notification large icon

I'm using: flutter_local_notifications: ^5.0.0+3 I'm showing notification like this, its all working. The custom icon is also working. BUt I'm trying to set a large icon, and its just not showing. Here is a screen shot of the notification without…
RJB
  • 1,704
  • 23
  • 50
6
votes
1 answer

Firebase Cloud Messaging: how to send data message to all users?

I would like to send data messages to all users. Is it possible to do it programmatically, without using the Firebase Notifications Console? The problem with the Console is that the "message text" field at the beginning of the form is compulsory.…
Daniele B
  • 19,801
  • 29
  • 115
  • 173
6
votes
0 answers

how to receive FCM notifications when app is removed from background in android Oreo?

I am creating a web app which sends notification from my web server to the app. I wanted my app to receive notifications even when the app is removed from the background. I am using FCM for receiving the notifications. The app receives…
6
votes
1 answer

How to trigger notification from firebase at a specific time?

I am doing a fitness app in which I have to notify the user at a specific time from the date I have stored in firebase. For example: I am saving a today's timestamp in firebase DB say "start_at":"timestamp", now I have to send a notification after 1…
Hira
  • 293
  • 4
  • 19
6
votes
1 answer

How to know "topic" name from Firebase notification on iOS

I'm trying to use Firebase in my iOS application. I successfully integrated it and receiving notifications from all 3 Targets (user segment, topic and single device). My question is how to know a particular notification is received from which topic?…
6
votes
1 answer

iOS : Firebase notification not working for user segment

I recently upgraded my project to Swift3 and updated Firebase pod to version 4.0.0. After resolving all the errors and warnings, when I tried to send push notification from console. I found the single device push notification sending is working…