firebase server side push notifications

76 views
Skip to first unread message

Partha Mandayam

unread,
Sep 26, 2019, 8:15:36 AM9/26/19
to Firebase Google Group
How to implement firebase server side push notifications?

Hiranya Jayathilaka

unread,
Sep 27, 2019, 6:23:30 AM9/27/19
to fireba...@googlegroups.com
If you're trying to send push notifications from a server-side environment, take a look at https://firebase.google.com/docs/cloud-messaging/server

If you're trying to receive push notifications from a server, that's not possible. FCM notifications can only be received from client-side devices.

Thanks,
Hiranya

On Thu, Sep 26, 2019 at 5:15 AM Partha Mandayam <partha.c...@gmail.com> wrote:
How to implement firebase server side push notifications?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/652ff9a9-e343-4d8d-a3de-15d5602a8e77%40googlegroups.com.


--

Hiranya Jayathilaka | Software Engineer | h...@google.com | 650-203-0128

Partha Mandayam

unread,
Sep 27, 2019, 12:59:28 PM9/27/19
to Firebase Google Group
I've seen this but it's not very clear
How to do this in firebase console. can you give detailed steps.

eg. where to enter this code

<message id="">
 
<gcm xmlns="google:mobile:data">
  {
      "to":"REGISTRATION_ID",  // "to" replaces "registration_ids"
     "notification": {
        "title": "Portugal vs. Denmark”,
        "body”: "5 to 1”
      },
      "time_to_live":"600"
}

  }
 
</gcm>
</message>

On Friday, September 27, 2019 at 3:53:30 PM UTC+5:30, Hiranya Jayathilaka wrote:
If you're trying to send push notifications from a server-side environment, take a look at https://firebase.google.com/docs/cloud-messaging/server

If you're trying to receive push notifications from a server, that's not possible. FCM notifications can only be received from client-side devices.

Thanks,
Hiranya

On Thu, Sep 26, 2019 at 5:15 AM Partha Mandayam <partha....@gmail.com> wrote:
How to implement firebase server side push notifications?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages