Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android postException 没有传递crash_data数据 #163

Open
OnesMobile opened this issue Sep 29, 2024 · 1 comment
Open

android postException 没有传递crash_data数据 #163

OnesMobile opened this issue Sep 29, 2024 · 1 comment

Comments

@OnesMobile
Copy link

private void postException(MethodCall call) {
String message = "";
String detail = null;
if (call.hasArgument("crash_message")) {
message = call.argument("crash_message");
}
if (call.hasArgument("crash_detail")) {
detail = call.argument("crash_detail");
}
if (TextUtils.isEmpty(detail)) return;
CrashReport.postException(8, "Flutter Exception", message, detail, null);

}
@OnesMobile OnesMobile changed the title postException 没有传递crash_data数据 android postException 没有传递crash_data数据 Sep 29, 2024
@crazecoder
Copy link
Owner

不太明白你的意思,官方文档也没查到crash_data字段相关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants