It is a similar question to the following.
When the application is started from the push notification specified by OpenDirect while the application is Inactive, both the WebView in the SDK and the WebView specified by you will start up. I want to prevent WebView in the SDK from starting, but before handling push notification as in the solution to the above question [[ETPush pushManager] setOpenDirectDelegate: self]; I am doing, but WebView in the SDK will start up.
It seems that WebView in the SDK is running before didFinishLaunchingWithOptions, but please tell me specific solution.
https://salesforce.stackexchange.com/questions/141054/opendirect-etinternallandingpagepresenter
ExactTargetOpenDirectDelegate
in your delegate?ExactTargetOpenDirectDelegate
in delegate. It also implements thedidReceiveOpenDirectMessageWithContents
method and the` shouldDeliverOpenDirectMessageIfAppIsRunning` method. As I was debugging, thedidReceiveOpenDirectMessageWithContents
method was called on WebView in the SDK. Is there any way to solve it?[[ETPush pushManager] setOpenDirectDelegate:self]
first, correct? And then, inshouldDeliverOpenDirectMessageIfAppIsRunning
you return YES? Those in combination will lead to the path of the delegate ONLY handling the presentation of the open direct message.