How to create an endpoint to call Firebase Cloud Messaging

216 views
Skip to first unread message

Mahmoud Alaa

unread,
Nov 14, 2017, 4:39:53 AM11/14/17
to Google Cloud Endpoints
Hello everybody, I'm new to Google Cloud.
I need to create a REST API with Cloud Endpoints or Cloud Functions, not sure which is suitable for my case, to call Firebase Messaging to send a notification to a specific device token. Is there a built in service on Google Cloud to call FCM or I just call FCM in my endpoints code like here: https://github.com/olucurious/PyFCM.


Wesley Wong

unread,
Nov 14, 2017, 2:19:55 PM11/14/17
to Mahmoud Alaa, Google Cloud Endpoints
Hi Mahmoud,

This is similar to your other question about accessing PostgreSQL:

You should be able to use Endpoints for this and have your app handle calling Firebase Messaging.

Cheers,
Wesley

On Tue, Nov 14, 2017 at 1:39 AM Mahmoud Alaa <'mahmoud...@positiveedge-mea.com> wrote:
Hello everybody, I'm new to Google Cloud.
I need to create a REST API with Cloud Endpoints or Cloud Functions, not sure which is suitable for my case, to call Firebase Messaging to send a notification to a specific device token. Is there a built in service on Google Cloud to call FCM or I just call FCM in my endpoints code like here: https://github.com/olucurious/PyFCM.


--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/02d9ee96-df0f-49df-a24f-0e15a0d93b6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages