문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top