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 ddf63b2 commit c6e6654Copy full SHA for c6e6654
iOS_SDK/OneSignalSDK/Source/OSMessagingController.m
@@ -539,7 +539,8 @@ - (void)messageViewDidSelectAction:(OSInAppMessage *)message withAction:(OSInApp
539
if (action.clickUrl)
540
[self handleMessageActionWithURL:action];
541
542
- [self handlePromptActions:action.promptActions];
+ if (action.promptActions && action.promptActions.count > 0)
543
+ [self handlePromptActions:action.promptActions];
544
545
if (self.actionClickBlock)
546
self.actionClickBlock(action);
0 commit comments