0

I'm new to ACRA and i have one question : is there a way to send logcat whithout any crash ?

For ex : when the user close the app ... ACRA just send last logs to server

Thanks

Corneliu
  • 421
  • 1
  • 6
  • 12
  • https://github.com/ACRA/acra/wiki/AdvancedUsage#sending-reports-for-caught-exceptions-or-for-unexpected-application-state-without-any-exception – CommonsWare Jun 21 '16 at 20:37

1 Answers1

2

You can send a report at any time using ErrorReporter.handleException with argument null (or an Exception you just created or caught).

However, it is not possible to send only logcat, unless ACRA is configured to always do that.

F43nd1r
  • 7,690
  • 3
  • 24
  • 62