I am using ACRA woth my android app. My question is, when a crash happens, how can I make sure I execute some code before the crash is reported. I mean I would like to add some custom variables when the crash happens so I know what state the app was in?
Please help
Thank you
Implement your own sender as described here. It can be simply a wrapper around some existing sender, forwarding the sending functionality there.
Inside the sender code, you can take any special actions before actually sending the report.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With