Details
-
Type: New Feature
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.0.0.GA
-
Fix Version/s: EE-4.2.0.GA
-
Component/s: Push Server
-
Labels:None
-
Environment:supported browsers
Description
Provide a way for web apps to prompt users to enable cloud push as necessary. This can be flexibly achieved by providing a registration function for callbacks that are invoked when the device ID (AKA notify-back-URI) is missing from the local storage but the bridgeit functionality is present.
To enable cloud push notifications the callback implementation will switch to BridgeIt to retrieve the deviceID and then returns, the DeviceID is stored in the browsers local storage for that browser.
To enable cloud push notifications the callback implementation will switch to BridgeIt to retrieve the deviceID and then returns, the DeviceID is stored in the browsers local storage for that browser.
Introduce ice.push.onMissingNotifyBackURI function that can be used to register callbacks that need to be notified when deviceID is missing.