Skip to content

Move useNativeInit inside options #5814

@antonis

Description

@antonis

Move useNativeInit from a top-level Expo plugin prop into the options object in v9.

Currently:

["@sentry/react-native/expo", {
  "useNativeInit": true,
  "options": {
    "dsn": "https://key@sentry.io/123"
  }
}]

Proposed for v9:

["@sentry/react-native/expo", {
  "options": {
    "useNativeInit": true,
    "dsn": "https://key@sentry.io/123"
  }
}]

Context: #5804 (comment)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions