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
3 answers

Is it possible to close an android app by sending a Firebase notification? If yes, how?

I have an android app, which I would like to close if it is open in background by sending a notification. Is this possible. If yes, how?
0
votes
1 answer

Sending notifications to multiple devices not subscribed to a certain topic

In a usual Firebase notification scenario, I understand that my apps should subscribe themselves to certain topics that they want to receive notifications for. However, there are cases in which I want to send notifications to specific devices that…
0
votes
1 answer

Can't extract data from Intent - Firebase Push Notification

I'm using Firebase Notifications. For test, I send notifications from the Firebase Console. But in my MainActivity I can't get data, which I set in the console. Method onMessageReceived(RemoteMessage msg) in MyFirebaseService doesn't get called (if…
Artem
  • 4,569
  • 12
  • 44
  • 86
0
votes
1 answer

SharedPreferences doesn't work in FirebaseMessageService when app is closed

I've tried everything to get PreferenceManagers default SharedPreferences into my FirebaseMessageService.onMessageReceived when the app is closed, but I just can't get it to work. I can't seem to find out why this isn't possible. I want the user to…
Jesper
  • 3,816
  • 2
  • 16
  • 24
0
votes
1 answer

Resubscribe to FCM topic not working

I subscribed and later unsubscribed a device from a topic in Firebase Cloud Messaging. Now when I try to subscribe again nothing happens. On the device the code FirebaseMessaging.getInstance().subscribeToTopic("topicName") is executed and the Log…
0
votes
0 answers

FCM Swift - Send Individual Notification doesn't work in Console

I get token on the console with this method: func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) { let tokenChars = UnsafePointer(deviceToken.bytes) var…
FireUser
  • 173
  • 1
  • 3
  • 13
0
votes
0 answers

Is it possible to store a push notification in Firebase sent without the console?

Like the title says, I'm searching of a way to store a push notification sent by an HTTP request from my own back-end on Node.js, to the Firebase database (with fcm app server protocol). Actually, I can send a push notification to my device using…
0
votes
3 answers

Android FCM - Disable/Enable Notifications

I implemented like this: public static void setPushSetting(Context context, boolean flag) { if(flag) { FirebaseInstanceId.getInstance().getToken(); } else { try { …
0
votes
1 answer

FCM Topics - Notifications not received on iPhone 4 (iOS 7)

I am using Firebase to register for Topics and sending push notifications on iOS devices. Everything is working fine except for iPhone 4 (iOS 7), where I'm not receiving any notifications. I'm able to send single device notifications to all…
0
votes
1 answer

iOS - Do I need to enable push notifications under app capabilities?

I used Firebase push notifications service in my iPhone app using this guide: https://firebase.google.com/docs/notifications/ios/console-audience?authuser=3 and it works great, I can send notifications when the app is running on a device. But do I…
aghanim
  • 51
  • 6
0
votes
0 answers

FCM - Send Notifications using from within App

I'm trying to send a notification via FCM without the Firebase Console. I want to send a notification from my application. I saw a comment saying: You can send a notification by using cURL. curl -X POST --header "Authorization: key="…
0
votes
0 answers

how to implement firebase notification from both client and server side of android app?

I was quite friendly with GCM notification but didn't understand firebase notifications please help me with any working example of firebase notification on both android app and server side/
0
votes
1 answer

iOS app using Firebase for user engagement

In an iOS app, I need to present a screen. Let's call it user engagement screen to introduce upload photo feature to users (if they tap on a button in this screen they will be directed to the upload photo screen) if they land in the photo gallery…
Samira
  • 215
  • 2
  • 14
0
votes
3 answers

Auto Remove Firebase Notifications

I have a question, I have read both Make notification disappear after 5 minutes and Clearing notification after a few seconds , but I still don't understand the part where they call removing of the notification. I have a incoming firebase…
iOSAndroid
  • 17
  • 1
  • 11
0
votes
3 answers

Android notification white circle when app is not running

I'm using Firebase Notification for my app's push notifications. All working well but notification icon shows white circle when app is not running. I'm targeting SDK version 23, also I'm using Roman Nurik's notification icon generator to generate…