davibennun / laravel-push-notification

Laravel package to enable sending push notifications to devices
1.23k stars 259 forks source link

Change shared to singleton for supporting Laravel 5.4 #160

Closed byhbt closed 7 years ago

byhbt commented 7 years ago

I updated the share to singleton because it's removed in Laravel 5.4 Docs: https://laravel.com/docs/5.4/upgrade

BuffaloDrew commented 7 years ago

I had this same problem after upgrading to Laravel 5.4. As a temporary fix I created and registered my own custom service provider from this commit (b84926cc0214110eee602dfffda408007c13e7e9). I'll delete it once this gets merged in.