Skip to content

Not reporting issues in production on Android, React Native #755

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

Closed
Looveh opened this issue Oct 28, 2016 · 10 comments
Closed

Not reporting issues in production on Android, React Native #755

Looveh opened this issue Oct 28, 2016 · 10 comments

Comments

@Looveh
Copy link

Looveh commented Oct 28, 2016

Do you want to request a feature or report a bug?

bug

What is the current behavior?

Error reports are sent when running app in development mode on Android using React Native, but not in production. Only tested on Android, not iOS.

What is the expected behavior?

For error reports to be sent in both development and production mode.

@Looveh
Copy link
Author

Looveh commented Oct 28, 2016

From my understanding this should have been fixed by #626 but a relaunch doesn't send any stashed reports either.

@Looveh Looveh changed the title Not reporting issues in production on Android Not reporting issues in production on Android, React Native Oct 28, 2016
@Looveh
Copy link
Author

Looveh commented Oct 31, 2016

Just tested on iOS and the problem seems to be the same there

@vikeri
Copy link

vikeri commented Nov 2, 2016

Experiencing the same issue

@briancalvium
Copy link

briancalvium commented Nov 17, 2016

Any update on this? I am trying this out and have only been able to get errors working in DEV on iOS

@benvinegar
Copy link
Contributor

What version of React Native are you all using?

And, did this just start occurring? Or are you new Sentry users and this has never worked?

@Looveh
Copy link
Author

Looveh commented Nov 19, 2016

Confirmed to occur on React Native v0.35.0 for me.

New to Sentry.

@khanghoang
Copy link

I think it's relative with this one #731

@briancalvium
Copy link

briancalvium commented Nov 21, 2016

New to sentry as well, using raven-js 3.8.1, RN 0.27.2

@TSMMark
Copy link

TSMMark commented Dec 15, 2016

@Looveh are you able to catch exceptions and report them to Raven this way?

const onReportToSentry = () => {
  try {
    throw new Error('This exception should be captured and sent to Raven manually!')
  } catch (e) {
    Raven.captureException(e)
  }
}

I have found that the above works for me, but UNCAUGHT exceptions cause the app to close and are not tracked. This is a huge issue.

@HazAT
Copy link
Member

HazAT commented May 10, 2017

Hey,
Check out our official client for react-native -> https://github.com/getsentry/react-native-sentry
Closing this here since it's obsolete.
If you're still having troubles, please create an issue there.
Thanks

@HazAT HazAT closed this as completed May 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants