kawankoding/laravel-fcm

Data Questions

nam-co opened this issue · 1 comments

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

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