Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Title not working on parsePush for Android devices #132

Open
dsmalicsi opened this issue Dec 22, 2013 · 3 comments
Open

Title not working on parsePush for Android devices #132

dsmalicsi opened this issue Dec 22, 2013 · 3 comments

Comments

@dsmalicsi
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants