enableAttribution static method

  1. @Deprecated('This function is deprecated, please use "recordIndirectAttribution" instead')
Future<String?> enableAttribution()

Enable campaign attribution reporting to Countly. This does not do anything returns error message

Implementation

@Deprecated('This function is deprecated, please use "recordIndirectAttribution" instead')
static Future<String?> enableAttribution() async {
  log('Calling enableAttribution');
  String error = 'enableAttribution is deprecated, use recordIndirectAttribution instead';
  log(error);
  return 'Error : $error';
}