Skip to content

Commit ef808b7

Browse files
committed
Corrected kOSSettingsKeyInOmitNoAppIdLogging check
1 parent a1fba3d commit ef808b7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
3.22 KB
Binary file not shown.

iOS_SDK/OneSignal/OneSignal.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ + (id)initWithLaunchOptions:(NSDictionary*)launchOptions appId:(NSString*)appId
186186
}
187187

188188
if (!app_id) {
189-
if (!settings[kOSSettingsKeyInAppLaunchURL])
189+
NSLog(@"settings[kOSSettingsKeyInOmitNoAppIdLogging]: %@", settings[kOSSettingsKeyInOmitNoAppIdLogging]);
190+
if (![settings[kOSSettingsKeyInOmitNoAppIdLogging] boolValue])
190191
onesignal_Log(ONE_S_LL_FATAL, @"OneSignal AppId never set!");
191192
return self;
192193
}

0 commit comments

Comments
 (0)