diff --git a/sdk/src/main/java/io/radar/sdk/RadarActivityLifecycleCallbacks.kt b/sdk/src/main/java/io/radar/sdk/RadarActivityLifecycleCallbacks.kt index a8f8da95..a8e18af3 100644 --- a/sdk/src/main/java/io/radar/sdk/RadarActivityLifecycleCallbacks.kt +++ b/sdk/src/main/java/io/radar/sdk/RadarActivityLifecycleCallbacks.kt @@ -58,14 +58,14 @@ internal class RadarActivityLifecycleCallbacks( } val sdkConfiguration = RadarSettings.getSdkConfiguration(activity.applicationContext) - if (sdkConfiguration.trackOnceOnAppOpen) { + if (sdkConfiguration.trackOnceOnAppOpen || sdkConfiguration.startTrackingOnInitialize) { Radar.trackOnce() } } }) } else { val sdkConfiguration = RadarSettings.getSdkConfiguration(activity.applicationContext) - if (sdkConfiguration.trackOnceOnAppOpen) { + if (sdkConfiguration.trackOnceOnAppOpen || sdkConfiguration.startTrackingOnInitialize) { Radar.trackOnce() } }