firebase-notifications

Open activity on firebase notification received in foreground

≯℡__Kan透↙ 提交于 2020-12-01 10:04:30
问题 When my application is open and I receive a notification I want to be able to open the activity associated immediately without the need of the user to tap on the notification. This question is very similar: Open app on firebase notification received (FCM) But it opens the app when it is in background, I need to do it when my app is in foreground. From the firebase documentation: Notifications delivered when your app is in the background. In this case, the notification is delivered to the

What is the maximum limit of users for single topic subscription in Firebase?

一笑奈何 提交于 2020-07-15 11:57:04
问题 I am using Firebase topics to send notification.While doing so i came across the Firebase notification console which shows (topic-name)<1000 estimated user on selecting sending notification through topics I have read this POST.It says Firebase can create unlimited topics.But my question is that how many maximum number of user can subscribe to a single topic because in console it showing (topic-name)<1000 estimated user and Firebase has not describe anything in doc about max limit users

How to send FCM notification to all android devices using Node.js

心不动则不痛 提交于 2020-06-15 21:36:36
问题 I want to send the notification to my Android app developed using Ionic t from Node.Js code. I have tried following code and getting Exactly one of topic, token or condition is required. How can I send notification all my users without any condition? var serviceAccount = require("/path/to/config.json"); admin.initializeApp({ credential: admin.credential.cert(serviceAccount), databaseURL: "https://myApp.firebaseio.com" }); var message = { notification: { title: '$GOOG up 1.43% on the day',

How to send scheduled message via HTTP POST? [duplicate]

情到浓时终转凉″ 提交于 2020-04-30 07:35:27
问题 This question already has answers here : FCM Schedule delivery date or time of push notification (1 answer) How to send firebase notifications to audience via HTTP (4 answers) Closed 3 years ago . In FB Console, I can schedule the message to be sent at later time. Is this possible to do with HTTP POST from my server? Something like this: { "to" : "/topics/news", "at": "2016-01-13T14:55", "data" : { "message": "sync" } } 回答1: Unfortunately, as of the moment, no such parameter exists that can

Firebase notification count restriction by topic on REST API

久未见 提交于 2020-03-05 07:14:07
问题 From my google search, we can send notifications to all users only from FCM console. Currently there is no support for that in REST API. But we can specify a topic in REST API and whoever subscribed to that topic will get the notification. Is there any restriction on user count on a single topic. What if 10k users subscribed to the topic and REST API choose that topic to send the notification. Will FCM send notification to all 10k users? I'm asking this because when i try to send notification

Firebase scheduled notification in android

会有一股神秘感。 提交于 2020-02-14 13:23:47
问题 I'm developing an android app using firebase, this app should push notifications twice a day by hours user should set in app settings. I saw a similar question was asked at least 2 years ago, but no answer, maybe now there is an option to do it. Is there anyway I can achieve this using Firebase ? If no, how can I achieve it ? 回答1: You can schedule sending notifications from the Firebase console. But that is limited to notifications you manually enter. There is no way to schedule "twice a day"

Firebase scheduled notification in android

社会主义新天地 提交于 2020-02-14 13:23:26
问题 I'm developing an android app using firebase, this app should push notifications twice a day by hours user should set in app settings. I saw a similar question was asked at least 2 years ago, but no answer, maybe now there is an option to do it. Is there anyway I can achieve this using Firebase ? If no, how can I achieve it ? 回答1: You can schedule sending notifications from the Firebase console. But that is limited to notifications you manually enter. There is no way to schedule "twice a day"

Not Seeing “Opened” Firebase Notification Stats

给你一囗甜甜゛ 提交于 2020-02-02 06:33:27
问题 I'm manually handling firebase notifications by overriding the onHandle intent of the FirebaseMessagingService. And using the intent I generate a notification. Is there a way to manually report the notification opened to the Firebase at all because I'm not getting opened statistics reported back to the firebase console. As above, even when letting firebase notifications get handled per normal, these open notifications are not being reported either. Thanks! 回答1: The stats shown in the