Add the package to pubspec.yaml:

Supported targets

  • plugin targets: ios, android
  • iOS minimum: 15.1
  • Android minimum: 24

Important setup order

  • Register enableSearchAdsTracking() before wrapper configure() on iOS if you want Apple Ads tracking enabled during startup. The native iOS helper still runs after native configure is ready.
  • enableInstallReferrer() should run after configure() on Android.
  • If you need separate keys per platform, use AppActorPlatformKeys instead of a single shared key string.
See Flutter Apple Search Ads for the wrapper-specific ASA setup order.

Native dependency context

The Flutter package is backed by:
  • iOS AppActorPlugin 0.1.8
  • Android com.appactor:appactor-plugin:2.3.7
That matters when you debug platform-specific behavior or compare wrapper semantics with the native SDK docs.