Web-Push working in Edge but not in WebView2

Copper Contributor

Using Microsoft Edge (Chromium) Version 85.0.564.51 (Official build) (64-bit) and the web-push example https://tests.peter.sh/notification-generator works ok (after allowing notifications from that site):

Notification Generator _ Peter.sh-2020-09-18 07_15_21.png

 

Notification Generator _ Peter.sh and 1 more page - Personal - Microsoft​ Edge-2020-09-18 07_33_49.png <-- Click here!


-2020-09-18 07_24_37.png

However, when using WebView2 and the WebView2APISample from https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/win32 you get informed that permissions are required (first image above) but nowhere is there a button to grant such a permission.

Is there a solution to this?

 

0 Replies