Prebuilt node-api facade for published addons
Los mantenedores suelen responder en 1 día
@kraenhansen ya está trabajando en esto.
Desde el 1/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 206
- Forks
- 12
- Merge medio
- 4 h 35 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstackincubator/react-native-node-api
-
Android 🤖
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
callstackincubator/react-native-node-api#379 ·
Los mantenedores suelen responder en 1 día
-
Sanity check of Hermes source directory via environment variable, when building Android projectsAbiertoAndroid 🤖 good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
callstackincubator/react-native-node-api#163 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue gyp-to-cmake
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
callstackincubator/react-native-node-api#161 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Support statically linked addonsAbiertoenhancement Linking 🔗
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
callstackincubator/react-native-node-api#499 ·
Los mantenedores suelen responder en 1 día
-
enhancement Linking 🔗
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
callstackincubator/react-native-node-api#497 ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstackincubator/react-native-node-api
Issues similares
-
[UI] Guard webApis against undefined window in SSR environmentsPosiblemente ocupada @madhavzanwar la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
headroomlabs-ai/headroom#4992 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
paperclipai/paperclip#22575 ·
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
lingdojo/kana-dojo#34502 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
bug frontend good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
nikhilb2/simple_invoicing#935 ·