Advanced
Advertising ID
≥ 1.4 Automatic collection of the advertising ID has been removed from native sdks.
- Android's methods
setCanUseAdvertisingIDandcanUseAdvertisingIDfromBatchPluginConfigurationare now deprecated and do nothing. - Android's manifest configuration
com.batch.flutter.use_gaidhas been removed. - iOS's property
canUseIDFAfromBatchPluginConfigurationis now deprecated and does nothing. - iOS's Info.plist property
BatchFlutterCanUseIDFAhas been removed.
You need to collect it from your side and pass it to Batch with:
BatchUser.instance.newEditor()
.setAttributionIdentifier("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX") // Null to erase.
.save();