ICEmobile
  1. ICEmobile
  2. MOBI-1113

IOS8 GeoTracker not running in background

    Details

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

      Description

      We've seen intermittent geo tracking when enabled on IOS 8. As it turns out there is a slightly new security model that we are not adhering to.

      When setting up a back ground locationManager we need to do a couple things:

      1.) make sure the locationManager has a strong reference
      2.) If IOS 8 we call [self.locationManager requestAlwaysAuthorization]; to get the new authorization alert dialog which the user must agree too.
      3.) And finally we need to add a new key "NSLocationAlwaysUsageDescription" to the BridgeIt-Info.plist which specifies the subtext for the dialog in 2.)

      Once these steps are complete the background service for location properly runs.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s BridgeIt 1.0.5 [ 11574 ]
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: