Skip to content

Any example with FCM? #39

Description

@gibigate
No description provided.

Activity

  1. beverloo commented on Apr 1, 2019

    @beverloo
    Owner

    What do you mean by FCM? https://tests.peter.sh/push-message-generator/ can already send messages to FCM, also using the older proprietary mechanism (select that under authentication).

  2. FluorescentHallucinogen commented on Jul 28, 2022

    @FluorescentHallucinogen
    Contributor

    @gibigate

    See https://web-push-book.gauntface.com/faq/#what-is-the-deal-with-gcm-fcm-web-push-and-chrome.

    TL;DR: Firebase Cloud Messaging is not a Web Push API, it's another proprietary API. It uses Firebase Cloud Messaging JavaScript SDK, different tokens, different headers, but the same https://fcm.googleapis.com/fcm/send endpoint, and can send push notifications to native Android and iOS apps, not only to web apps.

    See https://github.com/firebase/quickstart-js/tree/master/messaging for the demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions