Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2024-09-09 15:20:54 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4e2ed29ce264d3575987a084a533e2cfbb60cf2b
4e2ed29c
1 parent
215e56ab
fix webview to open telephone calls
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CampaignViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CampaignViewController.swift
View file @
4e2ed29
...
...
@@ -489,6 +489,15 @@ var timer2: DispatchSourceTimer?
}
}
}
// Example Deeplink: tel:%202109233182
if
redirectedUrl
.
absoluteString
.
contains
(
"tel:"
)
{
if
UIApplication
.
shared
.
canOpenURL
(
redirectedUrl
)
{
UIApplication
.
shared
.
open
(
redirectedUrl
,
options
:
[:],
completionHandler
:
nil
)
decisionHandler
(
.
cancel
)
return
}
}
}
// }
...
...
Please
register
or
login
to post a comment