Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PushRegistrationManager

This article needs a technical review. How you can help.

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

Returns an interface to register or unregister a push registration, get an active registration, or check the permission status of the registration. This interface has been superceded by PushManager.

Methods

PushRegistrationManager.register()
Returns a promise that resolves to a PushRegistration with details of a new registration.
PushRegistrationManager.unregister()
Returns a promise that resolves to a PushRegistration with details of the unregistered registration.
PushRegistrationManager.getRegistration()
Returns a promise that resolves the PushRegistration associated with the current webapp.
PushRegistrationManager.hasPermission()
Returns a promise that resolves to the PushPermissionStatus of the requesting webapp.

Specifications

Specification Status Comment
Push API
The definition of 'PushRegistrationManager' in that specification.
Working Draft Initial definition

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 42.0 ? ? ? ?
Feature Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? ? ? ? ? ? 42.0

Document Tags and Contributors

 Contributors to this page: Sebastianz, jpmedley, kscarfone
 Last updated by: Sebastianz,