Updated on 2026-08-14

This commit is contained in:
Tangem 2026-01-21 14:21:10 +04:00
parent fc223990a4
commit 9fd13fdc46
11 changed files with 149 additions and 176 deletions

View file

@ -73,7 +73,7 @@ class AppsFlyerDeepLinkListener @Inject constructor(
private fun storeConversionData(refcode: String, campaign: String?) {
coroutineScope.launch {
mutex.withLock {
appsFlyerConversionStore.store(
appsFlyerConversionStore.storeIfAbsent(
value = AppsFlyerConversionData(refcode = refcode, campaign = campaign),
)
}

View file

@ -30,10 +30,10 @@ class AppsFlyerClient @AssistedInject constructor(
setAppId(context.packageName)
setDebugLog(true)
init(apiKey, ConversionListener, context)
subscribeForDeepLink(appsFlyerDeepLinkListener)
init(apiKey, ConversionListener, context)
Timber.i("Starting AppsFlyer SDK")
start(context, apiKey, InitializationListener)
Timber.i("AppsFlyer SDK started")