Skip to content

Sentry.captureException not working on Android #4703

Open
@jclaren

Description

@jclaren

What React Native libraries do you use?

React Native without Frameworks

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

6.9.1

How does your development environment look like?

Hi!

Doing all with sentry wizard, but the captureException not works.
The sessions looks good:

Image

But steel waiting for the first issue:

Image

The DNS is right and also the sentry.properties file in the Android directory.

Sentry.init()

Sentry.init({
dsn: SENTRY_DSN // From env file
});

Steps to Reproduce

Sentry.captureException(new Error('Sentry started ok'));

Expected Result

See issues in sentry panel

Actual Result

Empty issues

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    • Status

      Needs More Information
    • Status

      Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions