richsage / RMSPushNotificationsBundle

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

Bugfix android message #21

Closed christiaan closed 11 years ago

christiaan commented 11 years ago

The following didn't work while IMHO it should. This branch fixes this.

$msg = new AndroidMessage();
$msg->setGCM(true);
$msg->setMessage('Test message');

$pusher->send($msg);

The pullrequest also contains some fixes that I needed to get phpunit running.

richsage commented 11 years ago

Great - thanks! :)