assignCurrentActivity
Explicitly sets the current activity. Intended for use in advanced scenarios where LifecycleMonitor cannot capture an activity's com.klaviyo.core.lifecycle.ActivityEvent.Started event.
Note: It is best to allow the SDK to track activities internally via Application.ActivityLifecycleCallbacks. However, this explicit override allows us to work around launch timing issues on certain platforms.
See also: Klaviyo.registerForLifecycleCallbacks which allows for registering callbacks prior to initializing which is typically a better workaround for launch timing issues.
Parameters
activity