getsentry / getsentry/sentry-react-native

Move `useNativeInit` inside options

Open
#5,814 1 comment 0 reactions 0 assignees View on GitHub
Errors Feature React-Native
Dominant language
TypeScript
Stars
1.8k
Forks
366
Avg merge
1d 9h
Merged PRs (30d)
89

Description

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

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

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

Context: https://github.com/getsentry/sentry-react-native/pull/5804#discussion_r2924366187

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.