Rather than waiting for crashlytics to send on next launch, send reports

immediately.
(related to #20)
This commit is contained in:
geeksville 2020-04-24 18:42:57 -07:00
parent dd2b6041ac
commit 975c7d41db

View file

@ -30,6 +30,7 @@ class MeshUtilApplication : GeeksvilleApplication() {
// Attach to our exception wrapper
Exceptions.reporter = { exception, _, _ ->
crashlytics.recordException(exception)
crashlytics.sendUnsentReports()
}
if (isAnalyticsAllowed) {