fix(ios): invoke onBrowserCreated when viewDidLoad is called with windowId
This commit is contained in:
parent
ee1b0d7ff7
commit
2f48b81403
|
@ -116,6 +116,7 @@ public class InAppBrowserWebViewController: UIViewController, InAppBrowserDelega
|
||||||
|
|
||||||
if let wId = windowId, let webViewTransport = InAppWebView.windowWebViews[wId] {
|
if let wId = windowId, let webViewTransport = InAppWebView.windowWebViews[wId] {
|
||||||
webView.load(webViewTransport.request)
|
webView.load(webViewTransport.request)
|
||||||
|
onBrowserCreated()
|
||||||
} else {
|
} else {
|
||||||
if #available(iOS 11.0, *) {
|
if #available(iOS 11.0, *) {
|
||||||
if let contentBlockers = webView.options?.contentBlockers, contentBlockers.count > 0 {
|
if let contentBlockers = webView.options?.contentBlockers, contentBlockers.count > 0 {
|
||||||
|
|
Loading…
Reference in New Issue