Skip to content

Commit

Permalink
refactor: remove google cloud messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
joostdebruijn committed Mar 3, 2025
1 parent 7602f41 commit d2c7453
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
10 changes: 0 additions & 10 deletions config/webpush.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,4 @@
*/
'automatic_padding' => env('WEBPUSH_AUTOMATIC_PADDING', true),

/**
* Google Cloud Messaging.
*
* @deprecated
*/
'gcm' => [
'key' => env('GCM_KEY'),
'sender_id' => env('GCM_SENDER_ID'),
],

];
4 changes: 0 additions & 4 deletions src/WebPushServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ protected function webPushAuth(): array
$publicKey = $webpush['vapid']['public_key'];
$privateKey = $webpush['vapid']['private_key'];

if (! empty($webpush['gcm']['key'])) {
$config['GCM'] = $webpush['gcm']['key'];
}

if (empty($publicKey) || empty($privateKey)) {
return $config;
}
Expand Down

0 comments on commit d2c7453

Please sign in to comment.