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 30e2622 commit b9b8a58Copy full SHA for b9b8a58
iOS_SDK/OneSignalSDK/Source/OSMessagingController.m
@@ -316,7 +316,7 @@ - (void)presentInAppPreviewMessage:(OSInAppMessageInternal *)message {
316
317
- (void)displayMessage:(OSInAppMessageInternal *)message {
318
// Check if the app disabled IAMs for this device before showing an IAM
319
- if (_isInAppMessagingPaused) {
+ if (_isInAppMessagingPaused && !message.isPreview) {
320
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"In app messages will not show while paused"];
321
return;
322
}
0 commit comments