Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: None
-
Component/s: Push Server
-
Labels:None
-
Environment:Notification Service / BridgeIt
Description
When a web app generates a push request, it supplies optional information for generating a cloud notification, should that be required. Currently that includes 2 strings: subject and detail.
BridgeIt consumes these cloud notifications, alters the user through some device-specific means, and is responsible for reactivating the application when the user acknowledges the alert. In order for BridgeIt to act as a transparent surrogate to the application it must have some other application-specific data in the notification.
Android notifications include:
ticker - hint that is shown when notification status added to status bar.
icon - displayed in the status bar
title - subject from above
message - detail from above
Additionally, bridgeit needs a URI to activate when the notification his handled by the user. This means that at least the following cloud notification parameters need to be added.
hint - a short string that describes the notification
icon - a small image to place in the status bar
uri - the uri for bridgeit to return to.
There may be other parameters that make sense for other platforms.
BridgeIt consumes these cloud notifications, alters the user through some device-specific means, and is responsible for reactivating the application when the user acknowledges the alert. In order for BridgeIt to act as a transparent surrogate to the application it must have some other application-specific data in the notification.
Android notifications include:
ticker - hint that is shown when notification status added to status bar.
icon - displayed in the status bar
title - subject from above
message - detail from above
Additionally, bridgeit needs a URI to activate when the notification his handled by the user. This means that at least the following cloud notification parameters need to be added.
hint - a short string that describes the notification
icon - a small image to place in the status bar
uri - the uri for bridgeit to return to.
There may be other parameters that make sense for other platforms.
One fundamental problem with including the URL in the push request is the fact that a push group can function for multiple different pages in the application. In this case, the application would indicate that the "current" URL should be loaded, however this may be difficult to determine client or server-side. One possibility is to use a cooperative history mechanism where a page containing BridgeIt (or ICEpush) will store the location (local storage) of the most recent page active in that application and corresponding to the push event.