setAttemptDeliveryOnCrash

open fun setAttemptDeliveryOnCrash(attemptDeliveryOnCrash: Boolean)

Whether Bugsnag should try to send crashing errors prior to app termination. Delivery will only be attempted for uncaught Java / Kotlin exceptions or errors, and while in progress will block the crashing thread for up to 3 seconds. Delivery on crash should be considered unreliable due to the necessary short timeout and potential for generating "errors on errors". Use of this feature is discouraged because it: - may cause Application Not Responding (ANR) errors on-top of existing crashes - will result in duplicate errors in your Dashboard when errors are not detected as sent before termination - may prevent other error handlers from detecting or reporting a crash By default this value is false.

Parameters

attemptDeliveryOnCrash

true if Bugsnag should try to send crashing errors prior to app termination