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 07362ec commit 7e5ba60Copy full SHA for 7e5ba60
Firebase/Core/FIRApp.m
@@ -106,7 +106,7 @@ + (void)configure {
106
// Read the Info.plist to see if the flag is set. At this point we can't check any user defaults
107
// since the app isn't configured at all, so only rely on the Info.plist value.
108
NSNumber *collectionEnabledPlistValue = [[self class] readDataCollectionSwitchFromPlist];
109
- if (!collectionEnabledPlistValue || [collectionEnabledPlistValue boolValue]) {
+ if (collectionEnabledPlistValue == nil || [collectionEnabledPlistValue boolValue]) {
110
[[NSNotificationCenter defaultCenter]
111
postNotificationName:kFIRAppDiagnosticsNotification
112
object:nil
0 commit comments