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

发现个bug,如果不给写存储卡的权限,java crash的callback不会走 #2

Closed
ChineseBoyLY opened this issue May 23, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@ChineseBoyLY
Copy link

ChineseBoyLY commented May 23, 2019

如果crash文件创建或者写失败(不给写存储卡的权限), 此时java crash的callback也不会走,native crash的callback会走

@caikelun
Copy link
Collaborator

caikelun commented May 23, 2019

确实是。谢谢反馈,我们尽快修复。

实践中,还是建议tombstone文件路径始终放在files目录中(默认是files/tombstones),这样不用考虑写入权限的问题。因为有些app的native崩溃是一启动就立刻发生了,来不及向用户要存储权限。

@caikelun caikelun added the bug Something isn't working label May 23, 2019
@caikelun
Copy link
Collaborator

@ChineseBoyLY
刚才在新发的 2.1.2 版本中修复了这个问题,方便的话麻烦再验证一下。谢谢~

@caikelun caikelun changed the title 发现个bug 发现个bug,如果不给写存储卡的权限,java crash的callback不会走 Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants