Skip to content

Commit 3e65d35

Browse files
authored
Merge pull request #795 from scottasoutherland/master
Fix iterable SDK bug #592
2 parents 8d2bb0f + 8327e03 commit 3e65d35

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

swift-sdk/Internal/DeepLinkManager.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,18 @@ class DeepLinkManager: NSObject {
4343
// Always return true for deep link
4444
return (true, pending)
4545
} else {
46+
var result: Bool = false
4647
if let action = IterableAction.actionOpenUrl(fromUrlString: url.absoluteString) {
4748
let context = IterableActionContext(action: action, source: .universalLink)
4849

49-
ActionRunner.execute(action: action,
50+
result = ActionRunner.execute(action: action,
5051
context: context,
5152
urlHandler: IterableUtil.urlHandler(fromUrlDelegate: urlDelegate,
5253
inContext: context),
5354
urlOpener: urlOpener,
5455
allowedProtocols: allowedProtocols)
5556
}
56-
return (false, Fulfill<IterableAttributionInfo?, Error>(value: nil))
57+
return (result, Fulfill<IterableAttributionInfo?, Error>(value: nil))
5758
}
5859
}
5960

0 commit comments

Comments
 (0)