CrashHandler
Platform-specific crash handler that captures session data on uncaught exceptions.
On Android, installs a Thread.UncaughtExceptionHandler that saves crash session data to the Downloads folder via SessionFileExport. On iOS, uses NSSetUncaughtExceptionHandler to capture crash sessions. On other platforms, this is a no-op.
Usage:
CrashHandler(platformContext, sessionCapture).install()Content copied to clipboard
Parameters
platformContext
The platform context for file access
sessionCapture
The session capture instance for recording events