Flurry Error Reporting for Android

前端 未结 6 1562
慢半拍i
慢半拍i 2021-02-09 14:37

Is there anyone using Flurry to generate reports for uncaught exceptions that could post some sample code on how to do this?

I don\'t see any example via Flurry themselv

相关标签:
6条回答
  • 2021-02-09 14:42

    Since people are posting alternatives for getting stack traces, I'll recommend ACRA. ACRA can send the stack trace to a spreadsheet on google drive/docs. Or you can also have it send to your server if you wish too. By default it also includes phone model, android version, memory of device, and other data too.

    0 讨论(0)
  • 2021-02-09 14:42

    This is all good feedback. We're looking into adding full stack traces for error reporting which we'll hopefully see in our next major SDK release. We'll also look at filtering by device model.

    In the meantime we've added a new REST API for exporting your error reports if you want to do your own analysis. If you need help using it you can just contact our support or message me.

    Sean / CTO / Flurry, Inc.

    0 讨论(0)
  • 2021-02-09 14:42

    Flurry does it automatically (if you have it running). However, the error reporting is lame. They only catch the message w/o giving you the stack trace, so you may end up seeing (for example) that people are getting lots of NullPointerExceptions, but you won't have any idea where, or how, they're happening. If you try to do it yourself with the FlurryAgent.onEvent() method you'll quickly discover that they limit you to 255 characters.

    If you need detailed error reporting it really is better to roll your own right now.

    0 讨论(0)
  • I am using bugsense for error reports. It catches full stack trace when an uncaught exception happens and also gives some useful information about the device - OS version, you app's version, is WiFi available on the device, etc. You can add custom messages and tags for specific events.

    I've already fixed a couple crashes in my app thanks to it.

    0 讨论(0)
  • 2021-02-09 14:59

    I'm not using it for uncaught exceptions , but you can catch it and then send it to flurry.

    0 讨论(0)
  • 2021-02-09 15:04

    I wasn't going to post this initially, but since it sounds like Flurry's error reporting sucks, you should check android-remote-stacktrace. It sends the stack trace to a url, which you can use to redirect it to an e-mail or just gather it on the server.

    0 讨论(0)
提交回复
热议问题