getAdvertiserTrackingEnabled method

Future<bool> getAdvertiserTrackingEnabled()

Implementation

Future<bool> getAdvertiserTrackingEnabled() async {
  if (foundation.defaultTargetPlatform == foundation.TargetPlatform.iOS) {
    bool attEnabled = await _platform.invokeMethod('getAdvertiserTrackingEnabled');
    return attEnabled;
  }

  return false;
}