Advertising ID

1.4 Automatic collection of the advertising ID has been removed from native sdks.

  • Android's methods setCanUseAdvertisingID and canUseAdvertisingID from BatchPluginConfiguration are now deprecated and do nothing.
  • Android's manifest configuration com.batch.flutter.use_gaid has been removed.
  • iOS's property canUseIDFA from BatchPluginConfiguration is now deprecated and does nothing.
  • iOS's Info.plist property BatchFlutterCanUseIDFA has been removed.

You need to collect it from your side and pass it to Batch with:

  .setAttributionIdentifier("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX")  // Null to erase.