kreait / firebase-bundle

A Symfony Bundle for the Firebase PHP Admin SDK
https://github.com/kreait/firebase-php
MIT License
135 stars 25 forks source link

Feature request: support for FCM localization #39

Closed marcoberetta96 closed 2 years ago

marcoberetta96 commented 2 years ago

Hi. It seems that FCM localization is not supported by this library. I'm referring to the parameters body_loc_key, body_loc_args, title_loc_key, title_loc_args. Are you going to add support for this? Thanks

jeromegamez commented 2 years ago

Hey there 👋!

You can add platform-specific parameters, including those you mentioned, by following the SDK's docs, there you will you can find further links to the platform-specific payload references (Android, APNS).

Please note that this SDK uses the HTTP V1 API, not the Legacy HTTP Server Protocol.