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
27
votes
6 answers

Firebase Notification Always shows blank icon

I'm new with FCM. I cannot make FCM use my app icon as notification icon and the icon is always a white blank one. I imported an icon to mipmap folders but nothing seems changed. As some dude say that this is because of lollipop notification as in…
23
votes
6 answers

"Error : Use of undeclared type MessagingDelegate" in Firebase messaging

I have updated my firebase messaging pod recently and followed the Quickstart guide of Firebase to perform necessary changes of upgradation. I added the new extension AppDelegate : MessagingDelegate extension but getting certain errors.
20
votes
5 answers

How to handle launch options in Swift 3 when a notification is tapped? Getting syntax problems

I am trying to handle the launch option and open a specific view controller upon tapping a remote notification that I receive in swift 3. I have seen similar question, for instance here, but nothing for the new swift 3 implementation. I saw a…
TheBen
  • 3,410
  • 3
  • 26
  • 51
20
votes
4 answers

Firebase console: How to specify click_action for notifications

I implemented Firebase and testing the Firebase notifications. When the app is in the foreground I don't have problems, I implemented a service that extends FirebaseMessagingService and handle the message and data in onMessageReceived I have…
Alex
  • 1,447
  • 7
  • 23
  • 48
19
votes
3 answers

Can I move app from current project to another project with current data in Firebase Console of the same account

I have a project in firebase console, this project has two apps both android. I had only integrated Analytics, Notifications and Crashlytics. I had thought of just deleting the app and add it afresh to the new project in firebase I have created for…
18
votes
3 answers

Are there any limitations for the FCM topics names?

I'm trying to find out if there are any limitations for the topic names for FCM. Managed to find info about the number of topics (no limitations), but nothing like length of topic name or allowed characters.
18
votes
2 answers

Firebase (FCM) Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001

I'm trying to use FCM for notification. But Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)" occurs so I can't get notification. What's the problem? At the console, Failed to fetch APNS token…
18
votes
6 answers

use of unresloved identifier FIRMessaging

I'm facing a strange issue during integration of the Firebase Notification new API in my iOS Swift App. I encounter some difficulties receiving a push Notification sent from the Firebase web plateform. My certificate is OK since I tested it with a…
GrayFox
  • 824
  • 2
  • 10
  • 27
17
votes
6 answers

Is it possible to send PushNotifications, using Firebase Cloud Messaging (FCM) to special UDID, directly from device?

I am thinking about keeping all registration ids(push token) in DB and sending notifications to user from iPhone. I tried something like this but did not get any notification. func sendPNMessage() { FIRMessaging.messaging().sendMessage( …
17
votes
5 answers

Firebase on Android - I want to disable firebase notifications on Android client

I'm using Firebase console to send notifications to users. However I want to let users disable notifications. How can I disable them? I am able to handle (and stop) notifications through FirebaseMessagingService only when the app is in foreground.…
martinodecarlo
  • 173
  • 1
  • 1
  • 6
16
votes
1 answer

FCM notifications and collapse_key

I'm sending notifications to users Android devices though the Firebase Notification console and I notice that even if I send 10 different notifications while the user device is offline, once the user goes online she/he will receive all 10. However…
steliosf
  • 3,669
  • 2
  • 31
  • 45
16
votes
1 answer

How to auto increment iOS notification badge with Firebase Cloud Messaging?

How can I auto increment the iOS notification badge with Firebase Cloud Messaging? Is it possible to do something like +1 or ++?
16
votes
3 answers

What is the Character Limit for Message text in Firebase console based notification?

i'm using Firebase console to send a notification to my phone, the notification is successfully delivered to my phone, but i want to know, What is the Character Limit for Message text in Firebase console based notification?
Sarath Kumar
  • 1,922
  • 3
  • 19
  • 43
16
votes
6 answers

Firebase send push notification twice

I wrote a very simple android app to test firebase push notification and I get one notification twice. this is the manifest service:
16
votes
2 answers

Firebase Cloud Messaging (FCM) - Launch Activity when user clicks the notification with extras

I'm trying to open a specific activity when the user clicks the notification, when the app is in the background, with some extra parameters. I'm using the click_action and it's working fine, the app opens the desired Activity. Now I need the server…
1
2
3
49 50