PrasandP / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

Feature : Improve way reports are submited #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I want to use bugsense as my bugtracker for my apps. But I also want that 
crashes get logged on GoogleDocs.
It seems that ACRA is not able to send report crash to bugsense and google docs 
at same time. Would be great if this can be fixed.

Thanks.

Original issue reported on code.google.com by raul.fer...@gmail.com on 27 Oct 2011 at 8:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
You can do that using the API to add reports senders.

For example, you can configure your @ReportsCrashes annotation for Google and 
add the following line just after your call to ACRA.init(yourApp):

ErrorReporter.getInstance().addReportSender(new HttpPostSender(yourBugSenseURL, 
null));

You can do it the other war around by configuring the annotation for Bugsense 
and add another provided sender:
ErrorReporter.getInstance().addReportSender(new GoogleFormSender(yourFormKey);

References:
http://code.google.com/p/acra/wiki/AdvancedUsage#Implementing_your_own_sender
http://acra.googlecode.com/svn/javadoc/4.2.3/org/acra/sender/HttpPostSender.html
http://acra.googlecode.com/svn/javadoc/4.2.3/org/acra/sender/GoogleFormSender.ht
ml

Original comment by kevin.gaudin on 27 Oct 2011 at 10:30

GoogleCodeExporter commented 8 years ago
Many thanks. Didn't know that I cand add a new sender.

Original comment by raul.fer...@gmail.com on 27 Oct 2011 at 10:32