setTrackAppLifecycle

Enable or disable app lifecycle event tracking (foreground/background) Call this when SDK starts (true) or disconnects (false)