Skip to content

Support for sending batches of messages in API/v1  #114

@gersonazgo

Description

@gersonazgo

Feature Request

Is your feature request related to a problem? Please describe.
I'm using the 'fcm' gem in my Rails project to send my push notifications via Firebase. The problem I'm encountering is that the gem does not currently support batch messages (API/v1, the legacy works perfect). This means that I have to send each message individually, which is quite inefficient

Describe the solution you'd like
According to the Firebase Documentation, the REST API and Admin SDKs support sending messages in batches of up to 500 messages. This feature allows developers to group messages together and send them in a single API call, providing significant performance improvement over sending individual HTTP requests for each message.

Describe alternatives you've considered
Without this feature, I'm forced to loop through each message and send it individually or build the batch logic myself — which I think should belong in this gem.

Thank you for your consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions