Why integrated fabric(crashlytics) with gitlab doe

2019-06-11 02:58发布

问题:

I use fabric-Crashlytics in my android app and initiate it in Application class via

Fabric.with(new Fabric.Builder(this)
        .kits(new Crashlytics(), new Answers())
        .debuggable(true)
        .build()
    );

I integrated fabric with gitlab in fabric's service hooks successfully, It means when I press "Send Test" blue button on fabric I'll receive an issue in gitlab.

BUT when I force app to crash via [Crashlytics.getInstance().crash();] ,I don't get any issue in gitlab, Why?

How Can I fix this problem?

回答1:

My problem solved as I said in comments.Thanks MikeBonnell for the comment:

Mike from Fabric here. What impact level did you choose on the integration? Only if the impact level was set to 1 would a new issue be triggered. Also, this needs to be a brand new issue, that is if you've used that test crash before, then a new issue wouldn't be sent over.