Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow RN package initialization to configure crash reporting #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

cpetzel
Copy link
Contributor

@cpetzel cpetzel commented Jan 18, 2019

By default, the Instabug React Native Android SDK will enable crash reporting, which will set the default thread exception handler... If I want to use a different crash handler, I have no option of disabling this, until my javascript code executes Instabug.setCrashReportingEnabled(false); . This means that there are potentially a few seconds of critical startup time where crashes will be sent to instabug.

This PR lets the developer opt out of crash reporting when initializing the Instabug React Native package.

@HeshamMegid
Copy link
Contributor

@cpetzel thanks for the pull request.

This makes sense. We will give it a round of testing then merge it.

@salmamali salmamali merged commit 99cfd06 into Instabug:master Jan 22, 2019
@HeshamMegid
Copy link
Contributor

@cpetzel this is included in v8.0.23, which will be available shortly.

@cpetzel cpetzel deleted the allow_setting_crash_reporting branch January 23, 2019 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants