简体   繁体   中英

How to use "regions" as Firebase Remote Config condition?

When defining a new condition for Firebase Remote Config, I can see that there's the condition of "Country/Region". However, after tapping on the "Select countries/regions" only countries are available in the list - unlike in Audiences where regions like "Texas" are selectable. Does anyone know how to use the region as an RC condition?

According to the official documentation regarding condition rule types , at "Country/Region" it is said:

Select one or more regions or countries.

This rule evaluates to true for a given app instance if the instance is in any of the regions or countries listed.

So it's a country or a region and not a country and a region. So you cannot select a region within a particular country. And it makes sense since when you create a rule, the device country code is determined using the device's IP address in the request or the country code determined by Firebase Analytics (if Analytics data is shared with Firebase).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM