enableApm static method

  1. @Deprecated('This function is deprecated, please use "enableAppStartTimeTracking" of CountlyConfig.apm instead')
Future<String?> enableApm()

Enable APM features, which includes the recording of app start time. Should be call before Countly init

Implementation

@Deprecated('This function is deprecated, please use "enableAppStartTimeTracking" of CountlyConfig.apm instead')
static Future<String?> enableApm() async {
  log('Calling "enableApm"');
  log('enableApm is deprecated, use enableAppStartTimeTracking of CountlyConfig.apm instead', logLevel: LogLevel.WARNING);
  final String? result = await _channel.invokeMethod('enableApm');

  return result;
}