Open ghost opened 10 years ago
Sure - I've just had zero time this year unfortunately to develop the bundle as I'd have liked to! As always, pull requests are welcome if you have any documentation to add, no matter how rough - anything is better than nothing :-)
There's some basic documentation added about the iOS Feedback service now.
Is it possible to make the documentation usable for GCM?
@pculka what specifically did you need adding? The concept is:
$message = new AndroidMessage()
$message->setGCM(true);
$message->setDeviceIdentifier("yourGCMtoken");
$message->setData(["foo" => "bar"]);
$container->get('rms_push_notifications')->send($message);
@richsage yup, that exactly :) thanks :) was already browsing through the code how to properly set the data etc what to send. thanks
@pculka ah great - that is all in the README, but split into an iOS example and the setGCM()
bit separately :-)
@richsage well in the iOS you are using $message->setMessage('Oh my! A push notification!');
instead $message->setData([]);
and the difference in those is confusing
@pculka ah, with you now! Sure - I'll make a note to put that above snippet in the README then in that case.
We should add better documentation for this bundle. iOS Feedback is not specified in README docs, or how to handle responses, from both APN and GCM servers.