I have an android app and using remote config.
I have this usecase and I want to send the app language change in that request. My app supports both English and Vietnam and the user can select their preferred language. I am just testing with changing to vietnam language.
However, in the request its always using my system device language. And as that is always set to English it always sends en-US.
In my firebase remote config console I have a field that has an Language condition for English and Vietnam. So based on that condition I can do something in the app.
Just a side question how does firebase know where to extract these properties and send them in the request?
To send the languageCode based on user selection in your app to Firebase Remote Config:
E.G
Firebase automatically gathers standard details like app version and device info via the integrated SDK. When you manually set additional properties, like languageCode, Firebase includes these in the server requests, helping determine the appropriate configuration to return based on your Remote Config settings.
You can also check their doc
Another approach
fetch all configurations, and select values based on the app's internal language setting since firebase won't allow dynamic fetch at run time
NB: configKey is a variable that represents the key for a specific configuration parameter you've set up in Firebase Remote Config