Skip to content

RNSentryModule.captureEvent is ignoring environment #547

Description

@erlendfh

https://github.com/getsentry/react-native-sentry/blob/f0f56e7579d0a0b870ef2a3e01675d74bfc6042c/android/src/main/java/io/sentry/RNSentryModule.java#L216

Somewhere around here I would have expected to find

 if (event.hasKey("environment")) {
eventBuilder.withEnvironment(event.getString("environment"));
}

Has this been left out on purpose or can it just be added?

Activity

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