Open maedamin opened 5 years ago
Well. After the investigation, I found that GCM would be terminated... We need to use Firebase? If so, how should I update it?
I updated the all to the new one and the error message has gone. But, push message does not reach devices though there is no error log. I also tried $params['notificationData'] method described in https://github.com/Ph3nol/NotificationPusher/issues/181. (I have not changed any in Android App. It still just supports GCM.)
Up ! I have exactly the same error when i send pushnotification for android ! And it's works before !!! Have you find a solution @maedamin ?
GCM is not working anymore. It needs to update accordingly FCM. Getting same 400 bad request error
I am sure that it worked before, but recently I found the following log in laravel.log.
I tested it by creating a simple program, and I confirmed that it works for iOS, meaning that the contents of the message would be OK. But I faced the same error of '400' in case of Android.
I found the following source code in the server.
The error occurred at
$this->response = $client->send($message);
(When I checked the source code in GitHub, and I found that the source code is slightly different. Should I update it??)This is my first time to open an issue in GitHub, so I am not sure how I should do... Anyway, any information is very helpful because I am now in stuck ....