ICEmobile
  1. ICEmobile
  2. MOBI-917

Push doesn't resume when switching to BridgeIt and back

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: BridgeIt 1.0
    • Fix Version/s: BridgeIt 1.0
    • Component/s: Containers
    • Labels:
      None
    • Environment:
      Android

      Description

      While running my own GeoSpy location tracking app on both the iPhone and the Android phones, the Android device doesn't seem to resume push after switching to BridgeIt and back again. In my application I call:


      function startGeoSpy(updateStrategy, duration) {
          var geospyURL = "http://" + window.location.host + "/locate/location/geospy";
          bridgeit.geoSpy('geospytracker', 'geoSpyCallback', {postURL: geospyURL, parameters: {strategy: updateStrategy, duration: duration, _jguid: getUID()}});
      }

      On the both devices, this will properly:

      - trigger BridgeIt to send a request to the Location Service
      - store the location and id information in the database
      - make a push call

      On the iPhone this works fine. On the Android device, when it returns to the browser, push is no longer functioning. The remote dev console for Chrome shows that the heartbeat has stopped and no notifications are coming in.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38708 Thu Oct 31 14:46:46 MDT 2013 ted.goddard do not clean up push listeners automatically on window close, instead rely on liveness detection (MOBI-917)
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/application.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: