diff --git a/examples/webview_custom_protocol.rs b/examples/webview_custom_protocol.rs index 7b326a8..626d8de 100644 --- a/examples/webview_custom_protocol.rs +++ b/examples/webview_custom_protocol.rs @@ -23,6 +23,8 @@ impl AppDelegate for BasicApp { pub struct WebViewInstance; impl WebViewDelegate for WebViewInstance { + const NAME: &'static str = "CustomWebViewDelegate"; + fn on_custom_protocol_request(&self, path: &str) -> Option> { let requested_asset_path = path.replace("cacao://", "");