Prebuilt node-api facade for published addons
メンテナーはふだん 1 日以内に返信
@kraenhansen がすでに取り組んでいます。
2026年11月1日 から。
評価
この issue はまだ評価されていません。
説明
Let published prebuilds record a neutral node-api library name, provided by a small prebuilt library the host embeds in the app. Addons then never name an engine, and a Hermes rename or a new engine means adding a facade rather than rebuilding addons. Deferred: the RFC in #447 doesn't need this. It depends on the stub generator in #494.
The facade has no code, table or injection step. On Apple it re-exports the Node-API symbols from Hermes, and on Android it's an empty library with a DT_NEEDED on Hermes. Details are in #493, and the spike findings are in this comment: 18 of 18 tests passed on an iOS simulator and an Android emulator, with async recording only node-api and resolving into Hermes.
Steps
- Run a Release build on a physical iPhone, through signing and App Store validation. This is the main remaining risk and should come first.
- Add a way for a module to tell
linkto keep its exact name. The spike hacksgetLibraryName. - Add a prebuilt facade per backend, built with
cmake-rnagainst a stub of the engine, with a generated re-export list on Apple. - Make
linkchoose which facade to embed.
Open questions
- Can
weak-node-apibe built under thenode-apiname as an alternative backend, so one addon binary works with either? - Should in-app and from-source addons use the same path, so there's only one to maintain?
node-api becomes a stable ABI contract once prebuilds ship, so settle the name before publishing any.
- 主要言語
- TypeScript
- スター
- 206
- フォーク
- 12
- 平均マージ
- 4時間 35分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/react-native-node-api のほかの issue
-
Android 🤖
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
callstackincubator/react-native-node-api#379 ·
メンテナーはふだん 1 日以内に返信
-
Sanity check of Hermes source directory via environment variable, when building Android projectsオープンAndroid 🤖 good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
callstackincubator/react-native-node-api#163 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue gyp-to-cmake
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
callstackincubator/react-native-node-api#161 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement Linking 🔗
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
callstackincubator/react-native-node-api#499 ·
メンテナーはふだん 1 日以内に返信
-
enhancement Linking 🔗
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
callstackincubator/react-native-node-api#497 ·
メンテナーはふだん 1 日以内に返信
callstackincubator/react-native-node-api の issue をすべて見る
似ている issue
-
[UI] Guard webApis against undefined window in SSR environments対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
headroomlabs-ai/headroom#4992 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
paperclipai/paperclip#22575 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
lingdojo/kana-dojo#34502 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
bug frontend good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
nikhilb2/simple_invoicing#935 ·