NTP-56897 | Sohan | TrustedTimeAccessor integration with Pulse (#15859)
This commit is contained in:
committed by
GitHub
parent
f2a0f86dc6
commit
8dc3fe2489
@@ -69,12 +69,13 @@ object NaviTrackEvent {
|
||||
)
|
||||
}
|
||||
PulseManager.init(
|
||||
pulseConfig,
|
||||
appContext,
|
||||
sdkConfig = pulseConfig,
|
||||
context = appContext,
|
||||
pulseCallback =
|
||||
if (analyticsConfiguration.flavor == QA && !BuildConfig.DEBUG)
|
||||
analyticsConfiguration.pulseConfig.pulseCallback
|
||||
else null,
|
||||
pulseDependencyProvider = PulseDependencyProviderImpl(),
|
||||
)
|
||||
AppsFlyerUtil.instance.init(
|
||||
appContext,
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
*
|
||||
* * Copyright © 2025 by Navi Technologies Limited
|
||||
* * All rights reserved. Strictly confidential
|
||||
*
|
||||
*/
|
||||
|
||||
package com.navi.analytics.utils
|
||||
|
||||
import com.navi.base.utils.TrustedTimeAccessor
|
||||
import com.navi.pulse.sdk.PulseDependencyProvider
|
||||
|
||||
class PulseDependencyProviderImpl : PulseDependencyProvider {
|
||||
override fun getTimeStamp(): Long {
|
||||
return TrustedTimeAccessor.getCurrentTimeMillis()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user