From 6bf57aaf0dc3056c35458e170fae0b03ffe21d1c Mon Sep 17 00:00:00 2001 From: Rahul Prasad Date: Tue, 31 May 2016 11:19:51 +0530 Subject: [PATCH] FCM support added. FCM is backward compatible with GCM, so GCM messages and tokens will still work with this endpoint --- sender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sender.go b/sender.go index 3c6292a..7ad8ba5 100644 --- a/sender.go +++ b/sender.go @@ -15,7 +15,7 @@ import ( const ( // GcmSendEndpoint is the endpoint for sending messages to the GCM server. - GcmSendEndpoint = "https://android.googleapis.com/gcm/send" + GcmSendEndpoint = "https://fcm.googleapis.com/fcm/send" // Initial delay before first retry, without jitter. backoffInitialDelay = 1000 // Maximum delay before a retry.