|
/

UMCrash.registerUMCrashCallback发生Crash没有触发回调

Zzen***@hellobike.com
发布于 2 年前
180来自上海
移动统计 U-App

子线程初始化友盟,并且UMCrash注册registerUMCrashCallback,真实场景发生Crash,registerUMCrashCallback并没有回调

try {
MobclickAgent.setPageCollectionMode(MobclickAgent.PageMode.LEGACY_AUTO)
configUm()
val customInfo = Bundle()
customInfo.putBoolean("mCallNativeDefaultHandler", true)
CrashApi.getInstance().updateCustomInfo(customInfo)
umengEnabled = true
setUMengUserProfile()
HuskyAPM.onUmengApmReady()
UMCrash.registerUMCrashCallback {
Log.d("UMCrash","clientId:" + ClientIdUtils.get(context))
"clientId:"+ ClientIdUtils.get(context)

}
} catch (e: Exception) {
e.printStackTrace()
}
1个回答
 
2 年前
来自浙江省

你好, 有没有其他三方的性能检测插件

Loading ...
登录社区,分享你的经验