From 2d2957c9a57bc7fbe663bb3670aa3555a9d8f72b Mon Sep 17 00:00:00 2001 From: Nan Date: Wed, 25 Oct 2023 15:30:21 -0700 Subject: [PATCH] Fix crash if influenceType is direct but there is no directId set cherry-pick of https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1311 --- .../OneSignalOutcomes/Source/Influence/OSChannelTracker.m | 1 - 1 file changed, 1 deletion(-) diff --git a/iOS_SDK/OneSignalSDK/OneSignalOutcomes/Source/Influence/OSChannelTracker.m b/iOS_SDK/OneSignalSDK/OneSignalOutcomes/Source/Influence/OSChannelTracker.m index 4ab0470da..d712247aa 100644 --- a/iOS_SDK/OneSignalSDK/OneSignalOutcomes/Source/Influence/OSChannelTracker.m +++ b/iOS_SDK/OneSignalSDK/OneSignalOutcomes/Source/Influence/OSChannelTracker.m @@ -146,7 +146,6 @@ - (OSInfluence *)currentSessionInfluence { } else { [OneSignalLog onesignalLog:ONE_S_LL_ERROR message:@"OSChannelTracker:currentSessionInfluence found a direct influence without a direct id."]; } - } } else if (_influenceType == INDIRECT) { if ([self isIndirectSessionEnabled]) {