isAaidCollectionDisabled method

Future<bool> isAaidCollectionDisabled()

Check if AAID (Google Advertising ID) collection is currently disabled on Android Returns true if AAID collection is disabled, false otherwise

Note: This only affects Android. Always returns false on iOS.

Implementation

Future<bool> isAaidCollectionDisabled() async {
  try {
    return await LinkRunnerNativeBridge.isAaidCollectionDisabled();
  } catch (e) {
    developer.log(
      'Linkrunner: Failed to check AAID collection status',
      name: packageName,
      error: e,
    );
    return false;
  }
}