Skip to content

Other Parameters #4

@autopten

Description

@autopten

Hello, Filip. I'm testing how to send push notifications with PHP, following the instructions you have in this YT video: https://www.youtube.com/watch?v=MYZVhs6T_W8 and now I'm wondering how to send other parameters in the notification.

I tried adding them to the $message array, but it didn't work, it doesn't overwrite 'title' and the only one working is 'message'. So I wanted to ask you if I also have to change something in the Java files in order to make them work. Thanks a lot for any help.

$message = array(
		'message' => 'New Comment: test test...',
		'title' => 'This is a title',
		'subtitle' => 'This is a subtitle',
		'tickerText' => 'Ticker text here...Ticker text here',
		'vibrate' => 1,
		'sound' => 1, 
		'largeIcon' => 'ic_launcher',
		'smallIcon' => 'ic_launcher' 
	);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions