File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Firebase/InAppMessaging/Runtime Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -347,10 +347,12 @@ - (void)internalStartRuntimeWithSDKSettings:(FIRIAMSDKSettings *)settings {
347
347
activityLogger: self .activityLogger
348
348
analyticsEventLogger: analyticsEventLogger];
349
349
350
- // Setting the display component. It's needed in case headless SDK is initialized after
351
- // the display component is already set on FIRInAppMessaging.
350
+ // Setting the message display component and suppression . It's needed in case
351
+ // headless SDK is initialized after the these properties are already set on FIRInAppMessaging.
352
352
self.displayExecutor .messageDisplayComponent =
353
353
FIRInAppMessaging.inAppMessaging .messageDisplayComponent ;
354
+ self.displayExecutor .suppressMessageDisplay =
355
+ FIRInAppMessaging.inAppMessaging .messageDisplaySuppressed ;
354
356
355
357
// Both display flows are created on startup. But they would only be turned on (started) based on
356
358
// the sdk mode for the current instance
You can’t perform that action at this time.
0 commit comments