Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Component/s: JavaScript Client
-
Labels:None
-
Environment:ICEpush, HTML5
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
A JavaScript application should be able to invoke Cloud Push.
Activity
Ted Goddard
created issue -
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mircea Toma [ mircea.toma ] |
Ted Goddard
made changes -
Fix Version/s | 3.4 [ 10971 ] |
Mircea Toma
made changes -
Assignee Priority | P1 [ 10010 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #37776 | Wed Sep 04 16:22:21 MDT 2013 | mircea.toma | |
Files Changed | ||||
MODIFY
/icepush/trunk/icepush/core/src/main/javascript/application.js
MODIFY /icepush/trunk/icepush/core/src/main/java/org/icepush/servlet/BrowserBoundServlet.java |
Deryk Sinotte
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Affects | Documentation (User Guide, Ref. Guide, etc.) [ 10003 ] |
Mircea Toma
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 11383 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The current JavaScript API includes:
ice.push.notify(groupName)
and the current PushContext API provides:
PushContext.push(groupName, new PushNotification(subject, detail));
ice.push.notify can be enhanced as follows:
ice.push.notify(groupName, options);
Where options is an object containing defined parameters, for example:
ice.push.notify(groupName,
{subject:'hello', detail:'how are you'});
Would set up a Cloud Push message with subject and detail as specified. Future use for the options object would include a pushOthers flag and additional Cloud Push parameters, such as a sound clip or badge reference.
The notifyBackURI is managed by the JavaScript client so is not a parameter to this API.