ICEmobile
  1. ICEmobile
  2. MOBI-737

GPS does not get cancelled in icemobilespring geolocation example

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 Final
    • Fix Version/s: 1.3 Final
    • Component/s: Applications
    • Labels:
      None
    • Environment:
      icemobilespring geolocation

      Description

      If high precision is turned on for geolocation, it does not get cancelled when navigating away from the page, so the GPS remains on. Unlike JSF, where we can detect the navigation and cancel the position watch, the Spring MVC provides no such facility so it needs to be handled at the application level.

        Activity

        Hide
        Greg Dick added a comment -

        There is no facility for the framework detecting when we leave the page in Spring. I've implemented an application level timer to stop GPS after 2 minutes.

        Show
        Greg Dick added a comment - There is no facility for the framework detecting when we leave the page in Spring. I've implemented an application level timer to stop GPS after 2 minutes.

          People

          • Assignee:
            Philip Breau
            Reporter:
            Steve Maryka
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: