INNER CODE UNIT · Dart
unexpectedTerminatingDetectionEnable
crazecoder/flutter_bugly · lib/src/flutter_bugly.dart:37
bool unexpectedTerminatingDetectionEnable = true, //非正常退出事件(SIGKILL)
bool enableBlockMonitor = true, //卡顿监控
bool symbolicateInProcessEnable = true, //进程内还原符号
int? reportLogLevel, // 设置自定义日志上报的级别,默认不上报自定义日志
//ohos
String? appKey,//必传参数
String? buildNum,
}) async {
assert(
(Platform.isAndroid && androidAppId != null) ||
(Platform.isIOS && iOSAppId != null)||
(isOhos() && ohosAppId != null && appKey != null && deviceId != null),
);
if (!_isSupportPlatform()) {
return InitResultInfo.fromJson(
{"isSuccess": false, "appId": null, "message": "当前平台不支持"});
}
Map<String, Object?> map = {