Skip to content

User location

Latest
Compare
Choose a tag to compare
@AnthonyOliveri AnthonyOliveri released this 15 Dec 22:49
· 57 commits to master since this release

Added

  • Collecting the user's current location automatically (when the Analytics.userIdentity changes or the app enters foreground) and manually with the new Analytics.logLocation() method. To opt in to automatic location collecting, there is a new parameter, collectLocation, in Analytics.initialize(appName:apiKey:hasUserContext:collectLocation:deviceEvents:).

Fixed

  • In Swift 3 for iOS, DeviceEvent.lifecycle events were not being recorded because there was no observer watching for app foreground events.