Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class Constants {
* Endpoint for sending messages.
*/
public static final String GCM_SEND_ENDPOINT =
"https://gcm-http.googleapis.com/gcm/send";
"https://fcm.googleapis.com/fcm/send";

/**
* Parameter for to field.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class DeviceGroupsHelper {

private static final String GCM_GROUPS_ENDPOINT =
"https://gcm-http.googleapis.com/gcm/notification";
"https://fcm.googleapis.com/fcm/notification";

private final Context mContext;
private final LoggingService.Logger mLogger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*/
public class GcmServerSideSender {

private static final String GCM_SEND_ENDPOINT = "https://gcm-http.googleapis.com/gcm/send";
private static final String GCM_SEND_ENDPOINT = "https://fcm.googleapis.com/fcm/send";

private static final String UTF8 = "UTF-8";

Expand Down