attachTo

open fun attachTo(@NonNull webView: WebView, @NonNull pluginCallback: GigyaPluginCallback<A>, @Nullable progressView: View)

Attach a WebView instance to WebBridge. Allows external use of the Gigya web bridge.

Parameters

webView

WebView instance.

pluginCallback

Plugin callback used for JS and event interactions.

progressView

Optional progress view that will be triggered (VISIBLE/GONE) according to event life cycle.