expose setCrashReportingEnabled function
expose setCrashReportingEnabled