-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target class [firebase.messaging] does not exist. #36
Comments
You don’t need to instantiate the factory or anything, You showed code, but what‘s the problem? 😅 |
Hey, thanks for the quick answer! Problem is I get this error: Target class [firebase.messaging] does not exist. |
Ah, missed the title 😅 Hm, strange. Have you set the |
If you prefer to use an array instead of a credentials file, you could publish the package configuration and use the array as a value for the |
Yep I do have the credentials set. This is the output of compose show | grep kreait kreait/clock 1.0.1 A PHP 7.0 compatible cloc... |
From what I can see, this does indeed look alright dependency-wise 🤔 If Laravel can‘t resolve the If you do a (I‘m writing this all on the phone, that‘s why you are receiving my thoughts and findings unfiltered 🙈) |
Thanks man, I am as stupid as it gets. I could swear I installed it, like I can see myself having done it. Must've done it for another project, or confinement has finally destroyed my brain. Anyways, thanks again for your help, is working now! |
I'm glad we figured it out together 🌺🥳 |
Hi, I was having this same error, I read all your comment but I thing I have all the setup config good. But I have continue getting the error: Class firebase.messaging does not exist I'm using lumen with the package Kreit. |
@juanzeta33 Did you add $app->register(Kreait\Laravel\Firebase\ServiceProvider::class); to your |
Hi, thanks for the quick answer. Yep, I have done that. I follow all the step (I think so) describe in the official documentation.
But continue having the error :( |
Hi, Forget everything, I just forget to updated the app.php file in my dev server. Sorry. |
What worked for me is updating packages.php & services.php in bootstrap/cache folder |
Hi, I'm trying to send a push notification to a device but cannot seem to make it work, added this package today and followed the docs but I must be missing something. Little help would be appreciated. This is what I have so far:
Hi, I'm trying to send a push notification to a device but cannot seem to make it work, added this package today and followed the docs but I must be missing something. Little help would be appreciated. This is what I have so far:
The text was updated successfully, but these errors were encountered: