NOT MAINTAINED! ⛔️ Push notifications/messages for mobile devices. Supports iOS, Android (C2DM, GCM), Blackberry and Windows Mobile (toast only). A Symfony2 bundle.
MIT License
321
stars
152
forks
source link
No way to send push notifications. No problem with a php code apart to send them. #64
public function pushAction()
{
$message = new AndroidMessage();
$message->setGCM(true);
//$message = new iOSMessage();
$message->setMessage('Oh my! A push notification!');
$message->setDeviceIdentifier('*********************');
$this->container->get('rms_push_notifications')->send($message);
return new Response('Push notification send!');
}
When I request pushAction() in my localhost the loading spinner on my browser turns around and around...
In my remote host, I get a 500 error but I can not found any error in the apache log or prod symfony log. This is the host: http://185.37.226.104/push
I don't have problems runnning this code that sends a push notification:
Hi,
this is my code:
When I request
pushAction()
in my localhost the loading spinner on my browser turns around and around...In my remote host, I get a 500 error but I can not found any error in the apache log or prod symfony log. This is the host: http://185.37.226.104/push
I don't have problems runnning this code that sends a push notification:
Any help?
Im on Ubuntu client and server.