The OwnID iOS SDK WebView Bridge facilitates the injection of JavaScript code, enabling communication between the OwnID Web SDK and the native OwnID iOS SDK.

Prerequisites

Integration of WebView Bridge

To integrate the OwnID WebView Bridge into your WebView you need inject the OwnID WebView Bridge into your WebView.

This injection must be done before loading the content into the Webview.

let webBridge = OwnID.CoreSDK.createWebViewBridge()
webBridge.injectInto(webView: webView)