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 分鐘
- 30 天內合併 PR
- 9
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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 個 reaction ·
維護者通常 1 天內回覆
-
enhancement Linking 🔗
難度 5/5 一週以上 新手友好度 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 個 reaction ·
維護者通常 1 天內回覆
-
bug frontend good first issue help wanted
難度 2/5 1-3 小時 新手友好度 86/100
nikhilb2/simple_invoicing#935 ·