Leave analytics client running on sign out.

Only identify with a running session.
This commit is contained in:
Doug
2021-12-13 17:30:38 +00:00
parent 3332203788
commit 56883906d8
4 changed files with 56 additions and 28 deletions
@@ -28,9 +28,13 @@ protocol AnalyticsClientProtocol {
/// - Parameter id: The ID to associate with the user.
func identify(id: String)
/// Stop the analytics client reporting data and reset all stored properties and events.
/// Reset all stored properties and any event queues on the client. Note that
/// the client will remain active, but in a fresh unidentified state.
func reset()
/// Stop the analytics client reporting data.
func stop()
/// Send any queued events immediately.
func flush()