Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limitations for Firebase Notification Topics

I want to use Firebase notification for my android application and what i want to know is that is there any limitation for number of topics ? or for the number of users that can subscribe a topic ? For example can i have 10000 topics with 1 million users for each of them ?

like image 606
Armin Avatar asked Aug 08 '16 12:08

Armin


People also ask

Is there a limit for Firebase notifications?

Notification messages can contain an optional data payload. Maximum payload for both message types is 4000 bytes, except when sending messages from the Firebase console, which enforces a 1024 character limit.

Can FCM notification on Android overwrite previous one?

If specified and a notification with the same tag is already being shown, the new notification replaces the existing one in the notification drawer.

Is Firebase Cloud Messaging reliable?

Reliability & Platform SupportIn 2022, Firebase Cloud Messaging and the Firebase Notification Composer experienced many major issues, with an average resolution time of 13 days. For almost 25% of the year, Firebase was having at least one major issue. Cloud Messaging issues history for 2022, YTD as of September 2022.

What is payload in Firebase notification?

} 2. Data Payload: Data messages have to be handled by the android app. You can add this kind of messages if you want to send some only data along with the notification. It contains custom key value pairs.


2 Answers

There is no limitation on the number of topics or subscriptions. There was a limitation of 1 million subscriptions for the first year after topics was initially launched but that restriction was removed at this year's (2016) Google I/O. FCM now supports unlimited topics and subscribers per app. See the docs for confirmation.

like image 156
Arthur Thompson Avatar answered Sep 18 '22 15:09

Arthur Thompson


Topic messaging supports unlimited subscriptions for each topic. However, FCM enforces limits in these areas:

  1. One app instance can be subscribed to no more than 2000 topics.

  2. If you are using batch import to subscribe app instances, each request is limited to 1000 app instances.

  3. The frequency of new subscriptions is rate-limited per project. If you send too many subscription requests in a short period of time, FCM servers will respond with a 429 RESOURCE_EXHAUSTED ("quota exceeded") response. Retry with exponential backoff.

Check this https://firebase.google.com/docs/cloud-messaging/android/topic-messaging

like image 40
REMITH Avatar answered Sep 21 '22 15:09

REMITH