NativeScript / NativeScript/napi-android

Allow to init the runtime using `napi_register_module_v1`

未关闭
#30 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C++
星标
33
派生
3
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定文件、测试或入口点。首先定位运行时初始化和 Android 构建配置,然后确定应如何暴露 napi_register_module_v1,以及必须禁用运行时的哪些部分;完成的标准是该清单适用于 React Native 嵌入,并且对 Hermes V1 支持有明确的决定。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, cpp, react-native
领域
build-system, mobile-dev
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。