Skip to content

Instantly share code, notes, and snippets.

@Serginho
Last active March 14, 2019 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Serginho/4c2201cedab206e0dfb3621c49093459 to your computer and use it in GitHub Desktop.
Save Serginho/4c2201cedab206e0dfb3621c49093459 to your computer and use it in GitHub Desktop.
push subscription change implementation
self.addEventListener('pushsubscriptionchange', (event: PushSubscriptionChangeEvent) => {
//Renew your subscription here.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment