appsflyer-flutter-plugin icon indicating copy to clipboard operation
appsflyer-flutter-plugin copied to clipboard

import com.appsflyer.AppsFlyerLib; doesnt works in flutter project

Open alexandrepd opened this issue 3 years ago • 2 comments

Hello!

I'm trying to import import com.appsflyer.AppsFlyerLib in MainActivity.kt in flutter project and i'm getting error: /android/app/src/main/kotlin/com/bifrost/app/MainActivity.kt: (9, 22): Unresolved reference: AppsFlyerLib

What is wrong? what I need to do? In ios the code works pretty well. #import "AppsflyerSdkPlugin.h"

i'm following this https://support.appsflyer.com/hc/en-us/articles/207364076-Measuring-push-notification-re-engagement-campaigns

alexandrepd avatar Jan 19 '22 17:01 alexandrepd

I can't access AppsFlyerLib in android. AppsflyerSdkPlugin is only class I have access from android. I'm doing something wrong?

D/AppsFlyer_6.4.3: Initializing AppsFlyer SDK: (v6.4.3.132)

image

alexandrepd avatar Jan 20 '22 17:01 alexandrepd

@alexandrepd facing the same issue, how have you bypassed it?

ibnshamas avatar Mar 25 '23 03:03 ibnshamas