Skip to content

[Feature][HarmonyOS] Add HarmonyOS app support - #138

Open
cavivie wants to merge 1 commit into
tiktok:mainfrom
lynx-rs:feat/harmony-support
Open

cavivie wants to merge 1 commit into
tiktok:mainfrom
lynx-rs:feat/harmony-support

Conversation

@cavivie

@cavivie cavivie commented Sep 14, 2026

Copy link
Copy Markdown

Summary

Add HarmonyOS support alongside Android and iOS.

  • Generate a runnable HarmonyOS project under harmony/.
  • Add run:harmony, doctor checks, asset copying, and tool discovery.
  • Support navigation, storage, media, bundled images, global props, and page chrome.
  • Support custom ArkTS method scaffolding and autolinking.
  • Update English and Chinese documentation.

Test Plan

  • pnpm -r build
  • pnpm -r test
  • Built, installed, and launched a generated HAP on an emulator.
  • Verified bundled images, multi-page navigation, and custom method autolinking.
  • Ran pnpm exec eslint .; repository-wide baseline issues remain in the existing ESLint setup.

Closes #59
Closes #116

Summary of change:
- Generate Android, iOS, and HarmonyOS app shells from one project.
- Add HarmonyOS build, doctor, asset copy, method autolink, and runtime bridges.
- Document HarmonyOS workflows, host extension points, and platform differences.

TEST: pnpm -r build
TEST: pnpm -r test
TEST: pnpm exec eslint . (runs; existing repository baseline reports 2932 issues)
TEST: generated HarmonyOS HAP builds, installs, launches, and navigates on emulator
@cla-assistant

cla-assistant Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sparkling什么时候支持鸿蒙 [Feature]: HarmonyOS Platform Support

1 participant