Hi,
I would like to add custom http headers before sending the crash report from the
device.
Is there a way to do this without editing acra's source code to do this. I'm ok
to extend ACRA.
I would want to do something like this: Get values for apiKey and trafficType
from config and set it in HttpHeader before sending the crash.
@ReportsCrashes(
formUri = "
https://some.server/some-uri", formKey = "",
apiKey="xyz",
trafficType="live")
public class MyApplication extends Application {...
I could create a separate sender to set httpHeaders, but I don't know how to get
values for apiKey and trafficType from config without changing the source of
ReportsCrashes annotation class.
Regards,
Ram