Open MateuszWilk opened 8 years ago
Hi :) Did you get it working since your message ?
Maybe you should try to use setMessage
, $message->setMessage(array('title' => $title, 'body' => $body));
instead of using setData
.
I don't know if it works, but you should try it. :)
Just tested it...isn't working ... even with the test push command and a payload it is not working.
According to this thread on stackoverflow and the apple documentation, since iOS8.2 there is a possibility to change the default title (which is the apps name) to a custom one. Is it already possible in this bundle, because i couldn't make it work, even setting the iOS message data to an array with title and body like so:
$message = new iOSMessage(); $message->setData([ 'title' => $title, 'body' => $body ]);
Anyone with the same problem or (even better) with a solution??