We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb5e301 commit 53459a0Copy full SHA for 53459a0
FirebaseRemoteConfig/Sources/RCNConfigRealtime.m
@@ -462,10 +462,12 @@ - (void)fetchLatestConfig:(NSInteger)remainingAttempts targetVersion:(NSInteger)
462
integerValue] >= targetVersion) {
463
// only notify listeners if there is a change
464
if ([update updatedKeys].count > 0) {
465
- for (RCNConfigUpdateCompletion listener in strongSelf
466
- ->_listeners) {
467
- listener(update, nil);
468
- }
+ dispatch_async(strongSelf->_realtimeLockQueue, ^{
+ for (RCNConfigUpdateCompletion listener in strongSelf
+ ->_listeners) {
+ listener(update, nil);
469
+ }
470
+ });
471
}
472
} else {
473
FIRLogDebug(
0 commit comments