Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Need to re-initialize the sdk when versionSuffix changes

オープン
#850 コメント 5 件 リアクション 6 件 担当者 1 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@sbarrio がすでに取り組んでいます。

2025年11月24日 から。

評価

この issue はまだ評価されていません。

説明

awaiting response enhancement
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:

  1. App starts
  2. jsbundle#111 is loaded
  3. datadog initialize is called with versionSuffix=111
  4. then, an OTA update is received
  5. jsbundle#112 is loaded (without a native app restart)
  6. 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DataDog/dd-sdk-reactnative のほかの issue

DataDog/dd-sdk-reactnative の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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