Updated on 2026-08-14
This commit is contained in:
parent
fc223990a4
commit
9fd13fdc46
11 changed files with 149 additions and 176 deletions
|
|
@ -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),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue