NativeScript / NativeScript/runtimes

Share code with Android runtime

Open
#7 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
25
Forks
4
Avg merge
5d 19h
Merged PRs (30d)
3

Description

Base runtime code like URL, CommonJS can be shared. Even debugger support. Only difference is mainly the FFI, which is very different for Android and iOS/macOS. Shared runtimes codebase will make it easier to add more platforms as well. In future, maybe FFI code could be refactored to have a common interface which makes it easier to handle like native objects and their memory management across different FFI types (ObjC runtime, JNI).

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

Start by comparing the existing iOS/macOS runtime structure with the Android runtime and identify which URL, CommonJS, and debugger components are shared versus FFI-specific. Review the ObjC runtime and JNI boundary, then define the scope of a common runtime interface. Done means the shared base runtime works across Android and iOS/macOS while keeping their FFI implementations separate.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.