UWP WebView Save WebNotifications and Allow Downloads

  • Thread starter Thread starter DogFoxX
  • Start date Start date
D

DogFoxX

Guest
Hi there,

I have two issues at this stage with the WebView Control in my UWP App.

Issue no.1:

I'm using WebView to access WhatsApp Web, and there a user gets prompted to turn on Notifications, but the Prompt never comes up. If I use args.PermissionRequest.Allow() it just allows without a prompt... How do I prompt a user to Allow or Deny WebNotifications, and then save that permission state to never ask again when my app is restarted? args.PermissionRequest.Defer() doesn't do anything. I would've thought that setting User Notification Listener in Capabilities would've done the trick.

Issue no.2:

In WhatsApp Web there is an option to download a shared file (photo, pdf, etc) locally. The problem is that the Download/Save As Dialog never shows.

Any help on this would be much appreciated.

Thanx in advance.

Continue reading...
 
Back
Top