track app lifecycle events with segment

This commit is contained in:
Satindar Dhillon 2022-04-28 15:33:16 -07:00
parent 6f12941e32
commit 44bfa600b9

View file

@ -27,8 +27,8 @@ private let segment: Analytics? = {
let config = Configuration(writeKey: writeKey)
.flushAt(20) // default is 20
.trackApplicationLifecycleEvents(false) // default is true
.autoAddSegmentDestination(false) // default is true
.trackApplicationLifecycleEvents(true) // default is true
.autoAddSegmentDestination(true) // default is true
.flushInterval(30) // default is 30 seconds
.trackDeeplinks(true) // default is true