Home » Android » android – Flutter – how to connect to Facebook's SDK app event using a codeless setup

android – Flutter – how to connect to Facebook's SDK app event using a codeless setup

Posted by: admin April 23, 2020 Leave a comment

Questions:

I want to promote my apps using Facebook ads app install using codeless app setup :

enter image description here

I try and shake my phone, but I’m still not getting any response that my setup is successful (I’m using Android to test).

My project was built using Flutter (not native android) and I’m using the below Facebook SDK plugin on my pubspec.yaml :

flutter_facebook_login:
  git:
   url: https://github.com/roughike/flutter_facebook_login
   ref: e69fef3

Moreover, on my developer Facebook dashboard I can see events (install, launch, remove, etc). It seems the Facebook SDK has been integrated.

I also have tried to verify through Facebook helper but I get no message that this app event for CPA is successful.

This message always appears when I want to setup Facebook app ads :

enter image description here

Any idea how to solve this ?

How to&Answers:

You need to implement the native Facebook SDK. Because Facebook login doesn’t send install and other analytics data. Older version of Facebook SDK have all feature but Facebook’s current SDK version separated the SDK like login, core, share, place, etc. You can fix with the native solution. You can find more detail from here under STRUCTURE section

Answer:

My project was built using Flutter and I’m using the below Facebook SDK plugin on my pubspec.yaml :

dependencies:
logs:
   git: https://github.com/pq/logs
flutter:
  sdk: flutter

flutter_facebook_login: ^2.0.1
flutter_account_kit: 0.7.0