Skip to content

Commit 1ce8887

Browse files
authored
[Config] Fix Xcode 16.3 warning due to comparing two different enums (#14873)
1 parent 3abf1c3 commit 1ce8887

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

FirebaseRemoteConfig/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Unreleased
2+
- [fixed] Fix build warning from comparison of different enumeration types.
3+
14
# 11.13.0
25
- [fixed] Fix an issue where network requests would fail in the iOS 18.4
36
simulator due to a URLSession bug introduced in Xcode 16.3. (#14728)

FirebaseRemoteConfig/Sources/RCNConfigContent.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ - (void)copyFromDictionary:(NSDictionary *)fromDict
198198
toDict[FIRNamespace] = [[NSMutableDictionary alloc] init];
199199
NSDictionary *config = fromDict[FIRNamespace];
200200
for (NSString *key in config) {
201-
if (DBSource == FIRRemoteConfigSourceDefault) {
201+
if (DBSource == RCNDBSourceDefault) {
202202
NSObject *value = config[key];
203203
NSData *valueData;
204204
if ([value isKindOfClass:[NSData class]]) {

0 commit comments

Comments
 (0)