getAdvertisingId static method

Future<String> getAdvertisingId()

Implementation

static Future<String> getAdvertisingId() async {
  var advId;
  try {
    advId = TBLSdkPlugin.getAdIdOrIdfa();
  } catch (e) {
    TBLLogger.logException(e.toString());
  }
  return advId == null ? "" : advId;
}