Add the TealiumIOSLifecycle.framework file to your project (in the Embedded Binaries section).
The module tracks the following lifecycle events:
App is launched
App sent to background
App sent to foreground
For data added to events but not associated with a lifecycle event
These values are indicated in the lifecycle_type variable.
Configure the Lifecycle Tracking module to automatically listen for the standard UIApplication notifications to automatically trigger launch, wake and sleep events.
Unlink or remove the TealiumIOSLifecycle.framework from your project to remove lifecycle tracking.
Generated on detection of UIApplicationDidFinishLaunchingNotification.
Generated on detection of UIApplicationWillResignActiveNotification.
Generated on detection of UIApplicationWillEnterForegroundNotification.
Available for specific lifecycle paradigms and non-conventional lifecycle tracking. In order to manually track lifecycle events, disable lifecycle auto-tracking by setting setLifecycleAutotrackingIsEnabled to NO.
To manually track a launch event, call: