title: How to know if a user blocked himself from PWA notifications in Angular
body: <p>I have added PWA to my existing application using the NGSW and SwPush libraries (I am using angular 8). I have an unsubscribe button to unsubscribe from getting notifications. If the user unsubscribes himself using this button then I am calling an HTTP Post call that removes his subscription from the DB.</p>
  <p>There is also a way to remove yourself from notifications using the browser. I want to know how I can tell if the user unsubscribed himself that way so I can remove his subscription object from the DB.</p>
  <p><a href="https://i.stack.imgur.com/kP4OI.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kP4OI.gif" alt="Removing notifications from browser" /></a></p>