Matěj Kos
Matěj Kos

Reputation: 49

Behavior of localized push notifications using FCM

We are using localized notifications through FCM and are wondering how android and ios is working in certain situations:

  1. when we send localized notification with title_loc_key and body_loc_key and there is no key for title nor body in the application, is the system going to show something to user?

  2. what is the behavior of sending notification to firebase with loc_key and standard title and body parameters? Is the system going to use primarily the localized ones and if they are not available, they fallback to the standart ones?

Thank you everyone!

Upvotes: 1

Views: 821

Answers (1)

Matěj Kos
Matěj Kos

Reputation: 49

So experimentally I have found out that if you send in one notification loc_keys and normal title and body, if the application has the translation, it shows the localized notification and if not, it fallbacks to the normal title and body properties.

Upvotes: 1

Related Questions