WebView Handoff
Launch SecureSign Mobile App from a WebView — no embedded signing SDK.
Overview
If your native app embeds a WebView that loads your signing portal, you do not embed a SecureSign SDK inside the WebView. Instead, the WebView page uses the same securesign://sign deep link as mobile browser integration. The SecureSign Mobile App handles token access and PIN entry.
Flow
- User taps Sign with DSC inside WebView-loaded portal page
- Portal JavaScript builds
securesign://signdeep link - Native app intercepts the link or WebView navigates to deep link
- SecureSign Mobile App opens, user signs with DSC token
- App returns to
callbackUrl— WebView or native handler receives signature
Android WebView
// In WebViewClient.shouldOverrideUrlLoading
if (url.startsWith("securesign://")) {
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(url)))
return true
}
// Or delegate to Mobile App Handoff from native code
iOS WebView (WKWebView)
func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction,
decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
if let url = navigationAction.request.url, url.scheme == "securesign" {
UIApplication.shared.open(url)
decisionHandler(.cancel)
return
}
decisionHandler(.allow)
}
No WebView SDK
No JavaScript bridge SDK
Toolsbots does not provide a WebView JavaScript bridge or embedded signing SDK. All signing goes through the SecureSign Mobile App. For enterprise embedded requirements, contact us.
See also Mobile App Handoff and Deep Link Protocol.