FireBase Push Mass messages use v1.

197 views
Skip to first unread message

Denis Nagorny

unread,
Jun 14, 2024, 8:10:21 PM (12 days ago) Jun 14
to Firebase Google Group
I am moving application from old FCM functionality to new V1 according https://firebase.google.com/docs/cloud-messaging/migrate-v1?hl=en

However in the old functionality has had the ability to push mass messages by single request.

Do we have ability to do it use new V1?

Joe Spiro

unread,
Jun 21, 2024, 8:04:36 PM (5 days ago) Jun 21
to Firebase Google Group
Messages can be sent to many receivers using Topics but there is no ability to send to multiple registration tokens or users in a single invocation.

André Rodrigues

unread,
Jun 21, 2024, 10:22:48 PM (5 days ago) Jun 21
to Firebase Google Group
Hi Joe.

When using topics to send messages with API v1, is it possible to add more than 1000 tokens to a topic? and if possible, is it possible to send a message to a topic with more than 1000 tokens?

Joe Spiro

unread,
Jun 24, 2024, 5:06:36 PM (2 days ago) Jun 24
to Firebase Google Group
In short: Yes

For context as mentioned in the Topic Messaging docs for iOS and Android:

"
Topic messaging supports unlimited subscriptions for each topic. However, FCM enforces limits in these areas:
  • One app instance can be subscribed to no more than 2000 topics.
  • If you are using batch import to subscribe app instances, each request is limited to 1000 app instances.
  • 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.

André Rodrigues

unread,
Jun 24, 2024, 9:46:38 PM (2 days ago) Jun 24
to Firebase Google Group
I understood. Last question, where can I see the limit quota that can trigger 429 RESOURCE_EXHAUSTED?

Joe Spiro

unread,
Jun 25, 2024, 5:09:58 PM (yesterday) Jun 25
to Firebase Google Group
According to About FCM messages ::Topic message limit, it is 3000 QPS.
Reply all
Reply to author
Forward
0 new messages