andrewscofield / parse.com-php-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Title not working on parsePush for Android devices

dsmalicsi opened this issue · comments

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!

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?

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();

Sorry for commenting again, but is there any update or known workaround for this?