Skip to content
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

[React-Native] React-Navigation Plugin will crash app #1143

Closed
KDederichs opened this issue Nov 25, 2020 · 2 comments
Closed

[React-Native] React-Navigation Plugin will crash app #1143

KDederichs opened this issue Nov 25, 2020 · 2 comments
Labels
bug Confirmed bug released This feature/bug fix has been released

Comments

@KDederichs
Copy link

Describe the bug

When trying to execute react-native in remote debug mode the app will crash, since synchronous calls are apparently no-op.
Too bad Bugsnag.getPlugin seems to fall in that category as well...

Steps to reproduce

  1. Use bugsnag react navigation plugin
  2. remote debug

Environment

  • Bugsnag version:
    "@bugsnag/plugin-react-navigation": "^7.5.0",
    "@bugsnag/react-native": "^7.3.5",
  • Browser framework version (if any):
    • React: react-native 0.63.3

Example code snippet

At the application root level:

Bugsnag.start({
  plugins: [new BugsnagPluginReactNavigation()],
});
const { createNavigationContainer } = Bugsnag.getPlugin('reactNavigation');
Error messages :

_Bugsnag$getPlugin is undefined

@mattdyoung
Copy link
Contributor

Hi @KDederichs

This is the same underlying issue as described on #1112 and we're considering how best we can fix this to cater for when a debugger is attached.

Until a fix is available you'd need to use a workaround similar to the one described on that issue:
#1112 (comment)

@mattdyoung mattdyoung added backlog We hope to fix this feature/bug in the future bug Confirmed bug labels Nov 30, 2020
@bugsnagbot bugsnagbot added scheduled Work is starting on this feature/bug and removed backlog We hope to fix this feature/bug in the future labels Jan 7, 2021
@yousif-bugsnag
Copy link
Contributor

Fixed in v7.6.1

@yousif-bugsnag yousif-bugsnag added released This feature/bug fix has been released and removed scheduled Work is starting on this feature/bug labels Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug released This feature/bug fix has been released
Projects
None yet
Development

No branches or pull requests

4 participants