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 d607541 commit 5fa898eCopy full SHA for 5fa898e
Firebase/Messaging/FIRMessaging.m
@@ -484,6 +484,7 @@ - (void)setAutoInitEnabled:(BOOL)autoInitEnabled {
484
BOOL isFCMAutoInitEnabled = [self isAutoInitEnabled];
485
[_messagingUserDefaults setBool:autoInitEnabled
486
forKey:kFIRMessagingUserDefaultsKeyAutoInitEnabled];
487
+ [_messagingUserDefaults synchronize];
488
if (!isFCMAutoInitEnabled && autoInitEnabled) {
489
#pragma clang diagnostic push
490
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
0 commit comments