@@ -60,6 +60,7 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
6060 return [[[NSLocale currentLocale ] objectForKey: NSLocaleCountryCode ] lowercaseString ];
6161}
6262
63+ // TODO(rizafran): To migrate to use ISOLanguageCodes in the future
6364NSDictionary <NSString *, NSArray *> *FIRRemoteConfigFirebaseLocaleMap (void ) {
6465 return @{
6566 // Albanian
@@ -82,8 +83,6 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
8283 @" fi" : @[ @" fi" , @" fi_FI" ],
8384 // Hebrew
8485 @" he" : @[ @" he" , @" iw_IL" ],
85- // Hindi
86- @" hi" : @[ @" hi_IN" ],
8786 // Hungarian
8887 @" hu" : @[ @" hu" , @" hu_HU" ],
8988 // Icelandic
@@ -153,6 +152,9 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
153152 @" de" : @[ @" de" , @" de_AT" , @" de_DE" , @" de_LU" , @" de_CH" , @" de-DE" ],
154153 // Greek
155154 @" el" : @[ @" el" , @" el_CY" , @" el_GR" ],
155+ // India
156+ @" hi_IN" :
157+ @[ @" hi_IN" , @" ta_IN" , @" te_IN" , @" mr_IN" , @" bn_IN" , @" gu_IN" , @" kn_IN" , @" pa_Guru_IN" ],
156158 // Italian
157159 @" it" : @[ @" it" , @" it_IT" , @" it_CH" , @" it-IT" ],
158160 // Japanese
@@ -188,6 +190,7 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
188190 }
189191 return locales;
190192}
193+
191194NSString *FIRRemoteConfigDeviceLocale (void ) {
192195 NSArray <NSString *> *locales = FIRRemoteConfigAppManagerLocales ();
193196 NSArray <NSString *> *preferredLocalizations =
0 commit comments