MicrosoftEdge / MicrosoftEdge/WebView2Samples
Wpf Permissions for Push Notification Sample
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1k
- Forks
- 521
- Avg merge
- 13m
- Merged PRs (30d)
- 1
Description
I am trying to make Push Notification work in WPF. I am using https://webpushdemo.azurewebsites.net/ to test the notification but it is throwing "Uncaught (in promise) DOMException: Registration failed - permission denied" error.
I have tried to hook the PermissionRequested event but it is not triggered.
Maybe an example on how to do it should be added to the sample project.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the permission-denied error at https://webpushdemo.azurewebsites.net/ in the WPF sample and inspect how the PermissionRequested event is handled. Done means the sample explains or demonstrates the required permission flow for push notifications without the reported failure.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100