Is there a way to disable automatically OpenDirect handling from SDK when there's no ExactTargetOpenDirectDelegate
set?
The problem is when the app launches because of push notifications, didReceiveOpenDirectMessageWithContents:payload
method is called twice, once from application(didFinishLaunchingWithOptions)
method and once from userNotificationCenter(_:didReceive:withCompletionHandler:)
method.
One other note is why is ETPush.pushManager
calls open direct delegate on app launch instead of relying on push notification delegate? This is causing the open direct to be called twice unless I'm missing something here or there's a config that this behavior can be modified.