getsentry / getsentry/sentry-react-native

Move `useNativeInit` inside options

オープン
#5,814 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Errors Feature React-Native
主要言語
TypeScript
スター
1.8k
フォーク
367
平均マージ
1日 6時間
マージ済み PR(30日)
94

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、Expo plugin の設定と、既存の useNativeInit の処理を追跡します。提案されている v9 の例に示されているとおり、useNativeInit が options から読み取られるように設定パスを更新し、ドキュメントに記載された設定が新しい構造と一致していることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react-native, typescript
領域
mobile
issue の種類
リファクタリング
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。