Skip to content

Instantly share code, notes, and snippets.

@Wenzhi
Wenzhi / AppboySegmentiOS.md
Last active October 21, 2016 19:14
Appboy Segment Integration iOS

iOS

Manifest Set Up

  1. You need to request the location permission to use Appboy's background location tracking.

You can do it by calling [[Appboy sharedInstance].locationManager allowRequestAlwaysPermission]; or [[Appboy sharedInstance].locationManager allowRequestWhenInUseLocationPermission]; and we'll prompt the user for you. If you already request location permission in your app we will listen for the authorization delegate and you don't need to call any Appboy methods for location permission.

  1. To enable background location tracking and configure your time and distance thresholds, contact us at support@appboy.com with values for minimum distance and time to log locations collected. If a significant change location updates arrives sooner or closer to the last logged location than those conditions allow for, we will not log that location.