Skip to content

@sentry/react-native contains invalid configuration #2391

@ajp8164

Description

@ajp8164

Environment

SaaS (https://sentry.io/)

Version

4.2.0

Steps to Reproduce

  1. create a react native app
  2. add @sentry/react-native
  3. run app with metro

Expected Result

No warnings on app start.

Actual Result

Warning appears in console at app start.

warn Package @sentry/react-native contains invalid configuration: "dependency.platforms.ios.sharedLibraries" is not allowed,"dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions