Closed mrzepinski closed 10 years ago
This is problem have in iOS devices =((
I want replace code to AppleApnPush code for this project!
Sorry for the delay in this - personal circumstances dictated otherwise :-( I'm working on a getResponses()
implementation at the moment, I'll PR when it's hopefully ready :-)
Can we get the responses of sent gcm messages now?
Yes, you should be able to to now. The following services support the getResponses
call:
Android C2DM hasn't had it added yet, neither has Blackberry.
To use:
/** @var array */
$responses = $container->get("rms_push_notifications")->getResponses($osType);
where $osType
is one of the following:
It is not possible to get responses from GCM using current version.
We inject service like this:
$this->container->get('rms_push_notifications')
so we useRMS\PushNotificationsBundle\Service\Notifications
and there is no method likegetResponses()
which is inRMS\PushNotificationsBundle\Service\OS\AndroidGCMNotification
.I tried to use it and every time I received an exception.