expose setCrashReportingEnabled function