fix(ios): invoke onBrowserCreated when viewDidLoad is called with windowId

This commit is contained in:
Serjke Sorochinskiy 2022-09-30 15:42:37 +04:00
parent ee1b0d7ff7
commit 2f48b81403
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ public class InAppBrowserWebViewController: UIViewController, InAppBrowserDelega
if let wId = windowId, let webViewTransport = InAppWebView.windowWebViews[wId] {
webView.load(webViewTransport.request)
onBrowserCreated()
} else {
if #available(iOS 11.0, *) {
if let contentBlockers = webView.options?.contentBlockers, contentBlockers.count > 0 {