adaptyteam / AdaptySDK-Flutter

SDK for growing mobile in-app purchases
https://docs.adapty.io/docs/quickstart
MIT License
95 stars 17 forks source link

adapty appsflyer integration not working #26

Closed Horum-dev closed 2 years ago

Horum-dev commented 3 years ago

Hello Adapty! we integrated a service 2 months ago and added AppsFlyer as integration. However, the event list is empty!

Adapty package has only updateAttribution and we provided it like this: appsflyer.appOpenAttributionStream.listen((event) async { logInitialSource(event); Adapty.updateAttribution(event, source: AdaptyAttributionNetwork.appsflyer, networkUserId: await appsflyer.getAppsFlyerUID()); });

But the list is empty, and your docs says that there should be events

Снимок экрана 2021-08-19 в 10 15 05

here https://docs.adapty.io/docs/event-feed you show logging subscriptions to appsflyer image

Help please!

Horum-dev commented 3 years ago

any news?

AKyashkin commented 3 years ago

Hey, sorry for long response. We'll take a look and get back to you.

Horum-dev commented 3 years ago

Hey, sorry for long response. We'll take a look and get back to you.

we still don't receive any events.. :c

AKyashkin commented 3 years ago

@Horum-dev it's easier and faster to use Intercom for such support cases like you have. But in general, you only need to properly collect attribution. Here is an example of how to obtain it:

@override
Future<bool> initialize() async {
    appsflyerSdk.onInstallConversionData((data) {
        return _applyConversionData(data);
    });

    await appsflyerSdk.initSdk(
    registerConversionDataCallback: true,
    registerOnAppOpenAttributionCallback: true,
    registerOnDeepLinkingCallback: true
    );

    return Future<bool>.value(true);
}
Horum-dev commented 3 years ago

@Horum-dev it's easier and faster to use Intercom for such support cases like you have. But in general, you only need to properly collect attribution. Here is an example of how to obtain it:

@override
Future<bool> initialize() async {
    appsflyerSdk.onInstallConversionData((data) {
        return _applyConversionData(data);
    });

    await appsflyerSdk.initSdk(
  registerConversionDataCallback: true,
  registerOnAppOpenAttributionCallback: true,
  registerOnDeepLinkingCallback: true
    );

    return Future<bool>.value(true);
}

doing the same thing, not working.

AKyashkin commented 3 years ago

Can you send a samples of attribution you receiving from AppsFlyer? And one more time – for such cases it's better to ask support directly through website Intercom.