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
0
votes
0 answers

Firebase app Background or killed notfication

I'm programming a Firebase app for sending a notification when my app has a values(number)in red. I tried to send a message when the app is running in the background or is killed, but my program doesn't work and I don't know how to call the…
0
votes
1 answer

Sending FCM message from client not working

Note: I am well aware of the dangers of exposing my API Key. This is a personal app. I'm using this: String urlString = "https://fcm.googleapis.com/fcm/send"; JSONObject jsonObjects = new JSONObject(); try { …
0
votes
1 answer

Topic not being created in Firebase Notifications?

I'm able to send global notifications using Firebase messaging to all devices using the Firebase console. Now I'm trying to target certain devices by using topic subscription. In my code I'm subscribing to topics that might not exist yet using the…
MarksCode
  • 8,074
  • 15
  • 64
  • 133
0
votes
3 answers

Push notifications in Swift iOS

I am working with iOS Swift Notifications Module. I'm not getting the Alert/Banner Notification on the device. I’m able to get notification when the App is open i.e. in Foreground, but not when app in in Background or Terminated. Following is my…
0
votes
1 answer

Sending the firebase device token to server using angular2

firebase.service.ts The code below is the firebase service in my angular2 app. The configuration file is in app.module.ts. I want to send the device token id to the server. Everything works fine, but the "this.http.post(....)" portion do not work. …
Krisalay
  • 75
  • 3
  • 9
0
votes
0 answers

How to fire FirebaseMessagingService.onMessageReceived from main activity?

For testing purposes, I would like to fire (programmatically from the main activity of my app) the onMessageReceived method of my MyFirebaseMessagingService class extending from FirebaseMessagingService. How can I do that ? public class…
0
votes
1 answer

Save notification in console on use REST API

I'm using Firebase to send notification to devices. I'm following the specification of REST API as describe in firebase website. Everything is working fine. I would like to know if it is possible to keep a copy of sent message in the console even…
0
votes
0 answers

How to send notifications using Firebase notification, android

I am making 2 android apps. One for a customer and other for the administrator. I am using firebase as the backend service. I want to create a Notification service such that when the user/customer clicks confirms an order, it should send a…
Prateek Paliwal
  • 323
  • 1
  • 10
0
votes
0 answers

Implement and handler Android notifications via Firebase

I'm working on an app that needs to receive notifications, and open a precise activity when the notification it's clicked. I implemented the Firebase service and my app receive and handler notifications, via Firebase console, when the app is…
0
votes
0 answers

FCM send silent notification, if it's not delivered, send notification containing message title and body

if application is not running(force-quit by user) silent notification is never delivered, i wish to, if application is force-quit send normal notification(not-silent). for sending silent notification my payload structure is { "data" : { …
0
votes
2 answers

Send Firebase Notification to multiple registered Android devices

I want to send firebase notification to all registered token in mysql database for android devices, am using the normal php way of creating array of recipient tokens so that i can send the notification, but when i send notification non of the…
0
votes
1 answer

firebase messaging notification .dex file cannot exceed 64K on android studio

After I add Firebase to receive Push Notifications to my app, it gives me this error: I tried to put multiDexEnabled true on defaultConfig and compile 'com.android.support:multidex:1.0.0' on dependencies, but the problem still persists. This is my…
0
votes
2 answers

How to get the topic out of a Firebase message notification in iOS?

In Android you can use getFrom() to read the topic from the notification. Can anybody help me how I can get to know this in iOS?
0
votes
0 answers

Firebase push notification in Android

I am not receiving notifications after sending it through the Firebase console. My code is running well in Marshmallow, but not working in Nougat. I'm using Firebase push notifications. Searched many sites, but did not get any solution.
0
votes
0 answers

Can't receive the push notification message

Well, I have followed this tutorial and created two services to get the message and the token: public class MyAndroidFirebaseMessagingService extends FirebaseInstanceIdService { private static final String TAG = "MyAndroidFCMIIDService"; …