You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Firebase Cloud Messaging to send notifications and I need to translate the notifications depending the device locale.
If the app is in foreground, no prob I can get the device locale.
But when the app is in background I can't get the device locale with the flutter way (because the code is isolated).
What are the recommandations for this use case ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm using Firebase Cloud Messaging to send notifications and I need to translate the notifications depending the device locale.
If the app is in foreground, no prob I can get the device locale.
But when the app is in background I can't get the device locale with the flutter way (because the code is isolated).
What are the recommandations for this use case ?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions