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

Data Questions #27

Closed
nam-co opened this issue May 23, 2019 · 1 comment
Closed

Data Questions #27

nam-co opened this issue May 23, 2019 · 1 comment

Comments

@nam-co
Copy link

nam-co commented May 23, 2019

Hi, thank you for the package, I was wondering if its possible to send additional data, for example buttons and actions in the push notifications, thanks for you work

@erlangparasu
Copy link
Collaborator

erlangparasu commented May 24, 2019

currently it's not possible https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#resource:-message

you will need to send any custom data using ->data($arr) instead of ->notification($arr), than handle data and manually (eg. from Android) setup notification UI before display it to the user

@nam-co nam-co closed this as completed Sep 17, 2019
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

2 participants