exportCrashSessionToDownloads

fun exportCrashSessionToDownloads(throwable: Throwable, fileName: String? = null): String

Exports the current session with crash information to the device's Downloads folder.

Return

Path where the file was saved

Parameters

throwable

The exception that caused the crash

fileName

Optional custom file name (defaults to timestamped name)