Skip to content

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

Closed

Description

@Looveh

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.

Activity

  1. Looveh commented on Oct 28, 2016

    @Looveh
    Author

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

  2. changed the title [-]Not reporting issues in production on Android[/-] [+]Not reporting issues in production on Android, React Native[/+] on Oct 28, 2016
  3. Looveh commented on Oct 31, 2016

    @Looveh
    Author

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

  4. vikeri commented on Nov 2, 2016

    @vikeri

    Experiencing the same issue

  5. briancalvium commented on Nov 17, 2016

    @briancalvium

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

  6. benvinegar commented on Nov 18, 2016

    @benvinegar
    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?

  7. Looveh commented on Nov 19, 2016

    @Looveh
    Author

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

    New to Sentry.

  8. khanghoang commented on Nov 21, 2016

    @khanghoang

    I think it's relative with this one #731

  9. briancalvium commented on Nov 21, 2016

    @briancalvium

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

  10. TSMMark commented on Dec 15, 2016

    @TSMMark

    @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.

  11. HazAT commented on May 10, 2017

    @HazAT
    Member

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions