I've this special case where in I need to send the crash reports from my app to both BugSense and my own server. And AdvancedUsage - ACRA/acra Wiki says :
"You can even send reports to multiple destinations."
But where and how exactly do I specify these?
The only solution I can think of is by implementing my own ReportSender
and making it post the data to both the servers. And I'm guessing that there is a simpler way to do this.
Apart from the solution I already talked about in the question (by implementing our own version of ReportSender
), we can apparently also use the less obvious :
ACRA.getErrorReporter().addReportSender(ReportSender sender)
This adds the ReportSender
to List<ReportSender> mReportSenders
, which is then iterated over while sending reports.