flutter_meta_appads_sdk 1.0.0 copy "flutter_meta_appads_sdk: ^1.0.0" to clipboard
flutter_meta_appads_sdk: ^1.0.0 copied to clipboard

This Flutter plugin provides a simple interface to interact with the Meta SDK. It allows you to initialize the SDK, set user data, log standard events, log purchases, and log custom events.

flutter_meta_appads_sdk #

This Flutter plugin provides a simple interface to interact with the Meta SDK. It allows you to initialize the SDK, set user data, log standard events, log purchases, and log custom events.

Disclaimer #

I'm not sure setUserData is working properly in android since i'm not using it in Android Apps, it works different from iOS apps, so be sure to pass all the data everytime the apps starts.

Installation #

You must first create an app at Facebook developers: https://developers.facebook.com/

Get your app id and client token, follow oficial steps for iOS integration and Android Integration

Key features #

  • Initialization: initSdk() sets up the SDK.
  • User Data: setUserData(FBSetUserDataCommand) provides user information for targeted ads.
  • Event Tracking:
    • logStandardEvent(FBLogStandardEventCommand): Tracks standard events (e.g., level up).
    • logPurchase(FBLogPurchaseCommand): Records purchase events.
    • logEvents(FBLogEventCommand): Logs custom events.
  • Anonymous ID: getFbAnonId() retrieves the Facebook Anonymous ID.

About Meta SDK #

Follow the official Meta SDK guide for correct integration:

Meta App Ads URL

5
likes
0
points
180
downloads

Publisher

verified publishersergio.durban.cat

Weekly Downloads

This Flutter plugin provides a simple interface to interact with the Meta SDK. It allows you to initialize the SDK, set user data, log standard events, log purchases, and log custom events.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface, protobuf

More

Packages that depend on flutter_meta_appads_sdk