Giter Club home page Giter Club logo

Comments (7)

gyf-dev avatar gyf-dev commented on June 2, 2024

什么手机,android版本是多少?是偶现还是必现?你是点击如下按钮出现的奔溃吗?还是启动就报错了?
20191114105605
或者
20191114125138

from cactus.

gyf-dev avatar gyf-dev commented on June 2, 2024

说下为什么会出现这个问题的原因,因为android 8.0之后隐藏通知栏,使用的是deleteNotificationChannel方法隐藏,当app奔溃时候,cactus会进行拉活,但是发现不存在这个相应的渠道信息,所以就报错了。但是cactus会继续拉活,再一次拉活就不会出现这个问题了。除非你使用hideNotificationAfterO(false)方法不隐藏android 8.0之后的通知栏,或者保证你们的app永远不会奔溃(理论上不可能)。PS:我也在寻找其他方法解决此问题,目前还没有找到

from cactus.

xiaohaoWit avatar xiaohaoWit commented on June 2, 2024

感谢大佬的解答!

from cactus.

mysiga avatar mysiga commented on June 2, 2024

碰到同样问题,如果目前找不到方案解决可以先try_catch了,每个app都有崩溃率的kpi。所以还是要慎重

from cactus.

gyf-dev avatar gyf-dev commented on June 2, 2024

碰到同样问题,如果目前找不到方案解决可以先try_catch了,每个app都有崩溃率的kpi。所以还是要慎重

RemoteServiceException是系统级别的异常,try_catch无法捕获,如果不介意还是把android8.0之后的通知显示出来吧hideNotificationAfterO(false)

from cactus.

wflian avatar wflian commented on June 2, 2024

设置hideNotificationAfterO(true) 之后,出现的概率还是很大了,间隔一段时间 就会出现奔溃

from cactus.

walker8 avatar walker8 commented on June 2, 2024

设置hideNotificationAfterO(true) 之后,出现的概率还是很大了,间隔一段时间 就会出现奔溃

同样的问题,目前有好的解决方案不?

from cactus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.