Skip to content

Commit

Permalink
Moved gcm to fcm
Browse files Browse the repository at this point in the history
  • Loading branch information
POPSuL committed Nov 11, 2019
1 parent fdd57ec commit fb3cbf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "php-gcm/php-gcm",
"name": "sakhcom/php-gcm",
"description": "A PHP library for sending GCM messages",
"keywords": ["library", "gcm", "php", "android"],
"homepage": "https://github.com/lkorth/php-gcm",
Expand Down
4 changes: 2 additions & 2 deletions src/PHP_GCM/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class Constants {
/**
* Endpoint for sending messages.
*/
public static $GCM_SEND_ENDPOINT = 'https://android.googleapis.com/gcm/send';
public static $GCM_SEND_ENDPOINT = 'https://fcm.googleapis.com/fcm/send';

/**
* HTTP parameter for registration id.
Expand Down Expand Up @@ -179,4 +179,4 @@ final class Constants {
* JSON-only field sent by GCM when a message was successfully sent.
*/
public static $JSON_MESSAGE_ID = 'message_id';
}
}

0 comments on commit fb3cbf7

Please sign in to comment.