laravel-notification-channels / fcm

Firebase Cloud Messaging (FCM) notifications channel for Laravel
https://laravel-notification-channels.com/
MIT License
472 stars 121 forks source link

Set custom data (sound, color... etc.) #185

Closed idlleF closed 6 months ago

idlleF commented 6 months ago

Hello, I just update do 4.1 and seems like data as sound, color, icon is set insome other way? Can we have some breef doc to check how should be the array.

Thanks!

dwightwatson commented 6 months ago

Everything should be in the docs. Otherwise check the PR that made the changes: https://github.com/laravel-notification-channels/fcm/pull/172. Happy to accept any PRs that improve the docs.

tobischulz commented 6 months ago

Where to find the docs? README.md shows just a simple example without any further details on options like sound or anything. https://laravel-notification-channels.com/fcm/ is outdated since 2020. Sadly the fcmProject() method was removed without any notice. No multiple fcm projects in one code base possible anymore.

Can you please provide the docs you speaking of? Thanks

dwightwatson commented 6 months ago

I'm not sure where those docs are generated from - it looks like it's been generated from an older version of the source. Open to any contributions that fix that, or improve the README.