-
-
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
Cloud messaging report say successful send 1 but no notification send or visible in firebase console #18
Comments
Unfortunately, there is no way of telling from our side whether there is a problem with message delivery. The Firebase console doesn't display messages sent over the Firebase APIs, and we can only say: If the Firebase API doesn't return an error, we can assume:
From there on it's out of our vision - we can't tell when the message will be actually delivered or if it will be delivered at all. In the past years it was sometimes the case that https://status.firebase.google.com/ et.al. was green, but the APIs returned errors, or that messages took hours to arrive at their target. Sometimes the notification was received at the target, but the app didn't recognize it or crashed, or the message was a data only message and didn't trigger a notification on the target device(s) (your message contains a notification, so that wouldn't apply). Long story short: Sadly I'm unable to give you more information from the SDK perspective, but perhaps https://firebase.google.com/support/troubleshooter/fcm/delivery/diagnose can provide some further help 🤞 |
Am I the only one to face problems to send notifications with your library ? My code seems correct, otherwise I would get an error ? |
No, you're not the only one, but it's rather rare that I hear of issues like this (or, if there are more, they don't get reported). But again: your code is correct, and the library works (otherwise you would get an error because Firebase rejects the requests). Of course, the SDK will always be "late": if a new feature or change is implemented by Firebase, this SDK will only implement it later - but if you don't get an error, it should be fine on the SDK level. |
Ok, thanks for your reply, I will investigate on my side because I can't give up this feature for my backoffice application. All advices are welcomed. |
I'm closing this now, but feel free to add further comments or create a new issue. FYI: If the issue is with the Laravel Package, create a new issue, here. If it's an issue with the functionality, open an issue at https://github.com/kreait/firebase-php |
The only workaround I found is to use a nodejs server called with ajax...
Sad but it works !
Le sam. 22 févr. 2020 à 14:10, Jérôme Gamez <notifications@github.com> a
écrit :
… I'm closing this now, but feel free to add further comments or create a
new issue.
FYI: If the issue is with the Laravel Package, create a new issue, here.
If it's an issue with the functionality, open an issue at
https://github.com/kreait/firebase-php
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#18?email_source=notifications&email_token=AB45DMGUFRGTSNKI6AZRGK3REEP3HA5CNFSM4KT3HBHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMU76QA#issuecomment-589954880>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB45DMFQ4TYVZTLVSQNZZ4TREEP3HANCNFSM4KT3HBHA>
.
|
Hello I'm using this via ajax :
`
public function fcmSendMessageToAll(Request $request)
{
`
unfortunately it says "successful sends : 1" (I've got just one test user with token) but no notification is in the firebase console or received on my phone ?
Do you see where is my error or is it a bug ? Thanks.
The text was updated successfully, but these errors were encountered: