I want to enable particular feature based on user signed up city (Not based on user current geo location) in my android app.
I am able to get single city with key from Firebase Remote Config.But how do I map multiple cities with a single key so that I can a enable feature for those cities?
Will firebase remote config will help my requirement? If not, please suggest a tool which will meet my requirement.
Please find following snippet which I am trying using firebase-remote-config
//Here I am able to get single city only.
String enableCity = mFirebaseRemoteConfig.getString(ENABLE_CITY);
//lets take user city is Bangalore
if ("Bangalore".equalsIgnoreCase(enableCity)) {
//enable feature
}
Here I want to get list of enabled cities which are updated from remote config to enable feature.