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
PushRegistrationwith details of a new registration. PushRegistrationManager.unregister()- Returns a promise that resolves to a
PushRegistrationwith details of the unregistered registration. PushRegistrationManager.getRegistration()- Returns a promise that resolves the
PushRegistrationassociated with the current webapp. PushRegistrationManager.hasPermission()- Returns a promise that resolves to the
PushPermissionStatusof 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 |