Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Class fcm.sender does not exist #15

Closed
bearn777 opened this issue Oct 10, 2016 · 4 comments
Closed

Class fcm.sender does not exist #15

bearn777 opened this issue Oct 10, 2016 · 4 comments

Comments

@bearn777
Copy link

when i call:
$downstreamResponse = FCM::sendTo($this->tokens, $this->options, $this->notification,$this->data);

can someone help?

@brozot
Copy link
Owner

brozot commented Oct 10, 2016

Hi,

I think that you have forgotten to add the FCMServiceProvider in the file config/app.php for laravel or boostrap/app.php for lumen.

you can find more information in the installation section of the readme https://github.com/brozot/Laravel-FCM.

Can you give me a feedback if this solution solve your issue or not.

Best

Nicolas

@ghost
Copy link

ghost commented Jan 21, 2017

Please am facing the same error even though I have added LaravelFCM\FCMServiceProvider::class to the config/app.php.

@punithbm
Copy link

punithbm commented Feb 8, 2017

Hey @aliuwahab21 did you try --

composer dumpautoload
php artisan config:cache
php artisan optimize

@amalkronz
Copy link

I try what you said but nothing work well, any suggestion please?!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants