I have a notifications system setup with the notifications API - works great. The only issue i am having is that the app by default should start in an opt-out state where the permission to send notifications is disabled, and it does this, however it then requests permission but i get no pop-up for this request and i assume it looks at the windows settings for this?
Specifically my question is this: How does permission get requested and can i set the permission dynamically at runtime through the app. I would like to give the user the ability to opt in or out of notifications via the UI that i am building.
Right now, it just happens auto-magically and i am lost where it gets the perms from.
