We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c25aad commit 6ba286dCopy full SHA for 6ba286d
ios/Capacitor/Capacitor/CAPWebView.swift
@@ -25,13 +25,15 @@ open class CAPWebView: UIView {
25
private lazy var configuration = InstanceConfiguration(with: configDescriptor, isDebug: CapacitorBridge.isDevEnvironment)
26
27
private lazy var assetHandler: WebViewAssetHandler = {
28
- let handler = WebViewAssetHandler(router: _Router())
+ let handler = WebViewAssetHandler(router: router)
29
handler.setAssetPath(configuration.appLocation.path)
30
return handler
31
}()
32
33
private lazy var delegationHandler = WebViewDelegationHandler()
34
35
+ open var router: Router { _Router() }
36
+
37
public required init?(coder: NSCoder) {
38
super.init(coder: coder)
39
setup()
0 commit comments