@@ -60,6 +60,7 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
60
60
return [[[NSLocale currentLocale ] objectForKey: NSLocaleCountryCode ] lowercaseString ];
61
61
}
62
62
63
+ // TODO(rizafran): To migrate to use ISOLanguageCodes in the future
63
64
NSDictionary <NSString *, NSArray *> *FIRRemoteConfigFirebaseLocaleMap (void ) {
64
65
return @{
65
66
// Albanian
@@ -82,8 +83,6 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
82
83
@" fi" : @[ @" fi" , @" fi_FI" ],
83
84
// Hebrew
84
85
@" he" : @[ @" he" , @" iw_IL" ],
85
- // Hindi
86
- @" hi" : @[ @" hi_IN" ],
87
86
// Hungarian
88
87
@" hu" : @[ @" hu" , @" hu_HU" ],
89
88
// Icelandic
@@ -153,6 +152,9 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
153
152
@" de" : @[ @" de" , @" de_AT" , @" de_DE" , @" de_LU" , @" de_CH" , @" de-DE" ],
154
153
// Greek
155
154
@" 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" ],
156
158
// Italian
157
159
@" it" : @[ @" it" , @" it_IT" , @" it_CH" , @" it-IT" ],
158
160
// Japanese
@@ -188,6 +190,7 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
188
190
}
189
191
return locales;
190
192
}
193
+
191
194
NSString *FIRRemoteConfigDeviceLocale (void ) {
192
195
NSArray <NSString *> *locales = FIRRemoteConfigAppManagerLocales ();
193
196
NSArray <NSString *> *preferredLocalizations =
0 commit comments