-
-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hello,
I've implemented the push notifications system through Firebase as in the example. Everything's works fine on both iOS and Android, both apps can receive push notifications.
I have a problem when using localization strings on Android. Our backend create localized notifications, using for example the title-loc-key field instead of the title. On iOS I've added the translation key in the Localizable.string resource and it's fetched correctly, while on Android I've created a new localized strings.xml file directly in the App folder with Android studio and added the translations there.
When the device receive the notification while the app is in background (on Android) it correctly show the translated key, but when it receive the same notification while the app is in foreground the title and body are empty (I suppose because it can't either find the translation or the payload key title-loc-key is not supported.
Am I doing something wrong or remote notifications localization is not yet supported?
Thanks in advance,
Simone