Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0.BETA, 4.0
    • 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 ]
        Hide
        Ted Goddard added a comment -

        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.

        Show
        Ted Goddard added a comment - 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.
        Ted Goddard made changes -
        Fix Version/s 3.4 [ 10971 ]
        Mircea Toma made changes -
        Assignee Priority P1 [ 10010 ]
        Hide
        Mircea Toma added a comment -

        Added ability to send parameters along with the push notification.

        Show
        Mircea Toma added a comment - Added ability to send parameters along with the push notification.
        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 PUSH-267 Add ability to send parameters along with the push notification.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/application.js
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/java/org/icepush/servlet/BrowserBoundServlet.java
        Hide
        Deryk Sinotte added a comment -

        Please document API changes.

        Show
        Deryk Sinotte added a comment - Please document API changes.
        Deryk Sinotte made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Affects Documentation (User Guide, Ref. Guide, etc.) [ 10003 ]
        Hide
        Mircea Toma added a comment -

        Added documentation for the optional parameter in http://www.icesoft.org/wiki/display/PUSH/JavaScript+Integration page.

        Show
        Mircea Toma added a comment - Added documentation for the optional parameter in http://www.icesoft.org/wiki/display/PUSH/JavaScript+Integration page.
        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 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: