Need to re-initialize the sdk when versionSuffix changes
メンテナーはふだん 3 日以内に返信
@sbarrio がすでに取り組んでいます。
2025年11月24日 から。
評価
この issue はまだ評価されていません。
説明
Feature description
When a user downloads an OTA update (a jsbundle), we do not fully restart the app (as it would be way slower).
We instead call the native side for a js bundle reload.
The issue we are facing is that the datadog initialize method, because already initialized when the app started, will skip the call to initialize after bundle js swap.
To clarify the process, this is happening:
- App starts
- jsbundle#111 is loaded
- datadog initialize is called with versionSuffix=111
- then, an OTA update is received
- jsbundle#112 is loaded (without a native app restart)
- datadog initialize is called with versionSuffix=112
that last call gets omitted... and the sdk interface does not offer any method to re initialize.
I was about to make a patch for the js side of the library, but it looks like it is a bit more involved, as the swift/kotlin implementations are also prepared for a single time initialization.
Is there a workaround for this?
Thanks
Proposed solution
No response
Other relevant information
No response
- 主要言語
- TypeScript
- スター
- 145
- フォーク
- 65
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DataDog/dd-sdk-reactnative のほかの issue
-
Expose Android app startup Activity filtering in the React Native SDK対応中かも @sbarrio が 2 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
DataDog/dd-sdk-reactnative#1485 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
GraphQL variables with non-ASCII contents will make Apollo Client request throw error対応中かも @cdn34dd が 4 日前に担当しました。 オープンawaiting response bug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
DataDog/dd-sdk-reactnative#1482 · コメント 2 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Interaction tracking records nothing: the babel plugin's injected import makes Metro bundle a second copy of the SDK, so DdBabelInteractionTracking.config is set on a different class than instrumented handlers call対応中かも @cdn34dd が 2 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
DataDog/dd-sdk-reactnative#1377 · コメント 1 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Babel plugin emits untransformed JSX when a tracked component has .map() children, breaking the Hermes build対応中かも @cdn34dd が 2 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
DataDog/dd-sdk-reactnative#1353 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
iOS: network error events from JS-tracked requests bypass the drop_resource deduplication and cannot be filtered — expose a native error mapper?対応中かも @marco-saia-datadog が 2 日前に担当しました。 オープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
DataDog/dd-sdk-reactnative#1338 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
DataDog/dd-sdk-reactnative の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
cline/mcp-marketplace#2932 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
lingdojo/kana-dojo#32188 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Portkey-AI/gateway#1844 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
rjsf-team/react-jsonschema-form#5495 ·
メンテナーはふだん 2 日以内に返信