NativeScript / NativeScript/napi-android

Allow to init the runtime using `napi_register_module_v1`

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
33
Forks
3
PR merge metrics
No merged PRs in 30d

Description

For embedding NativeScript in React Native using https://github.com/callstackincubator/react-native-node-api we need to add support for initializing the runtime with napi_register_module_v1.

  • Add a build flag to build the runtime as a napi module
  • Disable parts of runtime code that are unrelated or might cause issues when running as a module
  • Update to Hermes V1 if possible

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the runtime initialization and Android build configuration, then determine how napi_register_module_v1 should be exposed and which runtime parts must be disabled; done means the checklist works for React Native embedding, with a clear decision on Hermes V1 support.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp, react-native
Domain
build-system, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.