Open alexandrter opened 3 weeks ago
The documentation states that the message payload for a localised message should look like this:
{ "data": { "title_loc_key": "NOTIFICATION_TITLE", "body_loc_key": "NOTIFICATION_MESSAGE" } }
However, as commented by k-marciniak here, the actual payload for android should look something like:
{ "androidConfig": { "notification": { "titleLocKey": "NOTIFICATION_TITLE", "bodyLocKey": "NOTIFICATION_MESSAGE" } } }
It would also help a lot if the documentation could be adjusted for iOS as well since it's very inconvenient to test FCM on iOS and the currently documented approach did not work for me.
The documentation states that the message payload for a localised message should look like this:
However, as commented by k-marciniak here, the actual payload for android should look something like:
It would also help a lot if the documentation could be adjusted for iOS as well since it's very inconvenient to test FCM on iOS and the currently documented approach did not work for me.