ICEpush
  1. ICEpush
  2. PUSH-149

Cloud Push is delivered even when the client is in the foreground.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: Push Library
    • Labels:
      None
    • Environment:
      ICEfaces 2.1, ICEmobile, ICEpush

      Description

      The changes for ICE-7242 have caused a regression in Cloud Push notification -- Cloud Push is now delivered even when the client is in the foreground.

      Created this JIRA to find common solution that will work for both MyFaces and Could Push for 2.1 final.

        Activity

        Hide
        Ted Goddard added a comment -

        Some aspects of this may be resolved by Cloud Push notification queuing: if an ICEpush notification is issued but the browser does not respond in a timely fashion with a "listen" request, then a Cloud Push notification should be issued. However, to detect "in a timely fashion" it is necessary to schedule the task to check for the subsequent listen (since the Cloud Push is sent only if the "listen" is not received).

        Show
        Ted Goddard added a comment - Some aspects of this may be resolved by Cloud Push notification queuing: if an ICEpush notification is issued but the browser does not respond in a timely fashion with a "listen" request, then a Cloud Push notification should be issued. However, to detect "in a timely fashion" it is necessary to schedule the task to check for the subsequent listen (since the Cloud Push is sent only if the "listen" is not received).
        Hide
        Mircea Toma added a comment -

        Separated the clearing of the pending notification from the incoming pushId notification sent to the PushGroupManager since they occur at different times during blocking connection's lifecycle. Introduced PushGroupManager.clearPendingNotifications(String[] ids) method.

        Show
        Mircea Toma added a comment - Separated the clearing of the pending notification from the incoming pushId notification sent to the PushGroupManager since they occur at different times during blocking connection's lifecycle. Introduced PushGroupManager.clearPendingNotifications(String[] ids) method.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: