Skip to content

Android: one Go process for its engine, apart from the views it drives #1378

Open

Description

@oneo-me

Context

Part of #1306. The roadmap's Application and windows section lists this item (line 143, line 178 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: NSGo's #12; #12, Android engine and view lifetime

Acceptance

  • The Go process and its pipe outlive the activity's NsgoView, which attaches to them and detaches without ending them, and the pipe names the surface each message is for, so one process drives several views
  • A host retains one NsgoEngine in its Application or foreground service, Activities attach and detach NsgoView surfaces without killing the Go process, two surfaces share one process with independent trees, and explicit engine destruction closes the process once

For: 开发@柚子

Activity

  1. added
    enhancement
    on Nov 21, 2026
  2. self-assigned this
    on Nov 22, 2026
  3. houko commented on Nov 23, 2026

    @houko
    Collaborator

    The Android lifecycle design and runtime paths exist, but the acceptance requires multi-Activity/view process lifetime and independent surface verification. Leaving open for target testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions