Details
-
Type: Bug
-
Status: Resolved
-
Priority: 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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion