2023-03-31, 13:00:53
Hi Wil,
We are using a custom protocol handler in our application and are currently greeted by the security/safety dialog asking the user to allow use of our custom protocol / scheme. Microsoft added support to register custom scheme into the WebView2 control and I'd like to know whether you are going to expose that functionality in AntView already or in a future version?
https://learn.microsoft.com/en-us/dotnet....0.1661.34
This is related to the protocol_handler approach for PWA manifests.
For reference, please see WebView2 Feedback github: #1825 with last comment " Fixed in runtimes 110.0.1531.0+ "
I'm using AntView 1.1.270 with "Last Version" of WebView2 runtime 111.0.1661.62
If the user ticks the checkbox WebView2 runtime adds an entry for the custom scheme to the Preferences file:
I've seen that there would be a workaround using On[Frame]NavigationStarting() as mentioned here WebView2 Feedback github: #384 - however I'm not too keen to implement this. Or perhaps more likely to say that the pain is not high enough to take that approach.
We are using a custom protocol handler in our application and are currently greeted by the security/safety dialog asking the user to allow use of our custom protocol / scheme. Microsoft added support to register custom scheme into the WebView2 control and I'd like to know whether you are going to expose that functionality in AntView already or in a future version?
https://learn.microsoft.com/en-us/dotnet....0.1661.34
This is related to the protocol_handler approach for PWA manifests.
For reference, please see WebView2 Feedback github: #1825 with last comment " Fixed in runtimes 110.0.1531.0+ "
I'm using AntView 1.1.270 with "Last Version" of WebView2 runtime 111.0.1661.62
If the user ticks the checkbox WebView2 runtime adds an entry for the custom scheme to the Preferences file:
Code:
"protocol_handler": {
"allowed_origin_protocol_pairs": {
"file://": {
"customscheme": true
}
}
},
I've seen that there would be a workaround using On[Frame]NavigationStarting() as mentioned here WebView2 Feedback github: #384 - however I'm not too keen to implement this. Or perhaps more likely to say that the pain is not high enough to take that approach.