From ee14d6aecf4735818ac4250854f75f20f03bec68 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 19 Mar 2018 08:49:48 +1100 Subject: [PATCH 1/2] Update composer.json Change Push Notification package --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ec03789d4eed..57f79e45de6d 100644 --- a/composer.json +++ b/composer.json @@ -59,7 +59,7 @@ "roave/security-advisories": "dev-master", "simshaun/recurr": "dev-master", "symfony/css-selector": "~3.1", - "turbo124/laravel-push-notification": "2.*", + "davibennun/laravel-push-notification": "dev-laravel5", "webpatser/laravel-countries": "dev-master#75992ad", "websight/l5-google-cloud-storage": "dev-master", "wepay/php-sdk": "^0.2", From bc9f237c433851d0241943961fc71f45c0920f8d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 19 Mar 2018 08:50:32 +1100 Subject: [PATCH 2/2] Update push-notification.php Use Symphony updated GCM driver which supports FCM --- config/push-notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/push-notification.php b/config/push-notification.php index 31e51edb88a9..adbe5f9f70a1 100644 --- a/config/push-notification.php +++ b/config/push-notification.php @@ -17,7 +17,7 @@ return [ 'ninjaAndroid' => [ 'environment' =>'production', 'apiKey' =>env('FCM_API_TOKEN'), - 'service' =>'fcm' + 'service' =>'gcm' ] ];