David,
There was a bug ... and on top of that Microsoft changed the interface and added a new parameter Handled.
The new parameter was added to the parameter list asĀ I don't think many developers used the OnPermissionRequested event yet.
The AntView control however does not currently support the Handled parameter yet.
In order to be able to add support for it I would have to make too many changes due to it only having been introduced in WebView2 version 1.0.1185.39. The implementation for the Handled parameter will arrive in AntView version 1.2.x (soonish)
The bug you bumped into was with State and that has now been fixed.
There was also a possible code path that could prevent the event from getting triggered. I'm not entirely convinced that it was what prevented the event from working on your end, but we will see. If it still does not trigger then there is additional logging for us to see what happens.
I will email you a link to a private build of the control by email.
--
Wil
There was a bug ... and on top of that Microsoft changed the interface and added a new parameter Handled.
The new parameter was added to the parameter list asĀ I don't think many developers used the OnPermissionRequested event yet.
The AntView control however does not currently support the Handled parameter yet.
In order to be able to add support for it I would have to make too many changes due to it only having been introduced in WebView2 version 1.0.1185.39. The implementation for the Handled parameter will arrive in AntView version 1.2.x (soonish)
The bug you bumped into was with State and that has now been fixed.
There was also a possible code path that could prevent the event from getting triggered. I'm not entirely convinced that it was what prevented the event from working on your end, but we will see. If it still does not trigger then there is additional logging for us to see what happens.
I will email you a link to a private build of the control by email.
--
Wil