You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
requestPermission() should return an observable or promise so you can send a notification as soon as the user approved the use of the Notification API.
requestPermission()
should return an observable or promise so you can send a notification as soon as the user approved the use of the Notification API.Should be easy to implement as the underlying API call
Notification.requestPermission()
already returns a promise. @see https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermissionThe text was updated successfully, but these errors were encountered: