Title not working on parsePush for Android devices
dsmalicsi opened this issue · 3 comments
dsmalicsi commented
Hi, I don't know if I did something wrong or it's a bug. The title setting isn't working for Android push notifications.
The line of code I used is:
$parsePush->title = 'Title';
Would be great if you could help me out, Thanks!
andrewscofield commented
not sure what the deal is. Nothing seems to have changed on the rest API:
https://parse.com/docs/push_guide#options-data/REST
is that the exact code you are using? Maybe your real code has an error in it somewhere?
dsmalicsi commented
I just copied the code from parsePushTest.php and uncommented the line for the Title
Here's the full code that im using. Channel, Alert and Type works except for the Title
$parsePush = new parsePush();
$parsePush->channels = array('One', 'Two'); //this or just channel required
$parsePush->alert = 'Test'; //required
$parsePush->type = 'android';
$parsePush->title = 'Title'; //android only - gives title to the notification
$return = $parsePush->send();
dsmalicsi commented
Sorry for commenting again, but is there any update or known workaround for this?