usabilla-u4a-ios-swift-sdk icon indicating copy to clipboard operation
usabilla-u4a-ios-swift-sdk copied to clipboard

`sendEvent` events not presenting campaign: Call a delegate method?

Open alejandroivan opened this issue 2 years ago • 0 comments

When you call sendEvent and a campaign appears, I can detect when it closes using the campaignDidClose delegate method. All works nicely in there.

Now, how do I detect when a campaign is not being presented (for example, I did call sendEvent and, as the campaign was already presented before, it will not present again)?

My current implementation makes me pop the current UIViewController when the campaign closes, but I'm lacking the ability to "just dismiss" if the campaign didn't show. Is there any workaround for this?

Can a method like campaignDidNotShow be added to the delegate protocol for this case to be considered?

alejandroivan avatar Apr 13 '22 20:04 alejandroivan