Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set content_available option for ios notification #10

Open
waleedazam opened this issue Oct 12, 2016 · 2 comments
Open

how to set content_available option for ios notification #10

waleedazam opened this issue Oct 12, 2016 · 2 comments

Comments

@waleedazam
Copy link

I try to add new option in IOS notification its called content_available
how to add it to notification to run it in background
Regards

@redjanym
Copy link

Add it as a data attribute:

$message
    ->setNotification(new Notification('some title', 'some body'))
    ->setData(['content_available' => 'value'])
;
`

@nandorh
Copy link

nandorh commented Dec 20, 2016

Hi @waleedazam Check out the latest version, it should solve your problem ;)

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

No branches or pull requests

3 participants