PushRegistrationManager

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. Avoid using it and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work 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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic support
ExperimentalDeprecated
Chrome No support NoEdge ? Firefox ? IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoEdge Mobile ? Firefox Android ? Opera Android No support NoSafari iOS ? Samsung Internet Android No support No
register
ExperimentalDeprecated
Chrome No support NoEdge ? Firefox ? IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoEdge Mobile ? Firefox Android ? Opera Android No support NoSafari iOS ? Samsung Internet Android No support No
unregister
ExperimentalDeprecated
Chrome No support NoEdge ? Firefox ? IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoEdge Mobile ? Firefox Android ? Opera Android No support NoSafari iOS ? Samsung Internet Android No support No
getRegistration
ExperimentalDeprecated
Chrome No support NoEdge ? Firefox ? IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoEdge Mobile ? Firefox Android ? Opera Android No support NoSafari iOS ? Samsung Internet Android No support No
hasPermission
ExperimentalDeprecated
Chrome No support NoEdge ? Firefox ? IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoEdge Mobile ? Firefox Android ? Opera Android No support NoSafari iOS ? Samsung Internet Android No support No

Legend

No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

Document Tags and Contributors

Contributors to this page: ExE-Boss, tocretpa, Sebastianz, jpmedley, kscarfone
Last updated by: ExE-Boss,