Confirmed users
93
edits
No edit summary |
|||
Line 87: | Line 87: | ||
// you simply call push.register | // you simply call push.register | ||
navigator.pushNotifications.register(); | navigator.pushNotifications.register(); | ||
// to unregister, you simply call.. | // to unregister, you simply call.. | ||
navigator.pushNotifications.unregister(channelID); | navigator.pushNotifications.unregister(channelID); | ||
</pre> | </pre> | ||