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.
<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>
If you're trying to send push notifications from a server-side environment, take a look at https://firebase.google.com/docs/cloud-messaging/serverIf 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/652ff9a9-e343-4d8d-a3de-15d5602a8e77%40googlegroups.com.