Skip to content

Switch from node-gcm to firebase-admin dependency #219

Closed
@mtrezza

Description

@mtrezza

New Feature / Enhancement Checklist

Current Limitation

The push adapter is depending on https://github.com/parse-community/node-gcm, which is using a now deprecated API for Google's FCM. The API will be decommissioned in June 2024:

On June 20, 2024, we’re reducing the number of Firebase Cloud Messaging (FCM) legacy register APIs and legacy send APIs that provide similar functionality. This step will allow us to provide you with a more consistent experience and align with Google security standards to improve security, reliability and performance. Because of these API decommissions, some already-deprecated SDKs and features will stop working after June 20, 2024. Please consult the tables below to find which Firebase Cloud Messaging (FCM) APIs and corresponding services/SDKs/features will be discontinued and replaced with new alternatives.

It's unclear at this point whether the community of the original node-gcm repository will adapt the node-gcm to the new API, especially since Firebase provides a native SDK as alternative with firebase-admin-node.

Feature / Enhancement Description

Evaluate whether to adapt node-gcm or switch to the firebase-admin-node. If the community of the original node-gcm repository won't update it, then the initial assumption is that switching to the native SDK will bring more benefits over the long run, as it will be maintained by Google and receive continuous updates. The effort required to switch may be similar to the effort required to adapt node-gcm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$250Bounty applies for fixing this issue (Parse Bounty Program)type:feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions