Repository navigation
Closed as not planned
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Ship OpenCode Mobile for HarmonyOS NEXT (HarmonyOS 5+) phones and tablets.
OpenCode Mobile is currently distributed through TestFlight (iOS, public beta) and Google Play (Android, coming soon). Neither build can be installed on HarmonyOS NEXT: the platform no longer supports Android APKs, and there is no iOS binary path. As a result, HarmonyOS users have no official way to pair with their computer and steer sessions from their phone, even though opencode pair --remote and the remote API work independently of the client platform.
Why this matters
- HarmonyOS NEXT ships by default on new Huawei phones and tablets, and a large number of developers in China use it as their primary (often only) mobile device.
- Mobile is precisely the "away from the computer" client: voice sessions, permission approvals, and progress checks are most useful on a phone. Those users currently cannot use any of it.
- This is a client port, not a new protocol: the phone only needs to talk to the existing paired/remote server API that the iOS and Android apps already use.
Suggested MVP scope (parity with the existing mobile app)
- Pairing via QR code / one-time link (
opencode pair,--remote) - Session list; open a session and follow streaming output
- Send prompts and interrupt a running turn
- Approve or deny permission requests
- Voice call mode, if feasible with HarmonyOS speech APIs
- Store pairing credentials in secure storage (HUKS)
Implementation notes (non-binding)
- A native ArkTS/ArkUI app that speaks the same HTTP/SSE API as the existing mobile clients, or
- A port of the existing mobile app using the HarmonyOS React Native adaptation (react-native-harmony) if the app is React Native-based.
- Distribution through Huawei AppGallery, plus (optionally) a self-signed build for sideloading.
Alternatives considered
- Sideloading the Android build through a third-party compatibility layer (e.g. 卓易通): unsupported on HarmonyOS NEXT, unstable, and not a realistic long-term path.
- Using the web UI in the HarmonyOS browser: works as a stopgap, but lacks push notifications, secure credential storage, and reliable background behavior.
Additional context
- Related: [FEATURE]:Support OpenHarmony OS and HarmonyOS #16563 requested HarmonyOS/OpenHarmony support for the core runtime; it was closed as stale. This request is specifically about the mobile client.
- I am happy to test builds on HarmonyOS NEXT hardware and provide logs/feedback.
Environment (requester)
- opencode version: 2.2.5
- OS: Linux x64 (issue filed from a desktop; target platform is HarmonyOS NEXT)
- Terminal: xterm-256color
- Shell: /usr/bin/bash
- Install/channel: latest
- Active plugins: none found
Metadata
Metadata
Assignees
Labels
No labels
Activity
opencodejr commentedon Nov 8, 2026
Thanks for the detailed request, @xiaoqinxing! To restate it: you're asking for an OpenCode Mobile build for HarmonyOS NEXT phones and tablets that matches the existing iOS/Android app (pairing via
opencode pair, following sessions, sending prompts, approving permissions, and ideally voice mode), because the current builds can't be installed on HarmonyOS NEXT.Maintainers will consider it. Related issues:
Thanks also for offering to test on HarmonyOS NEXT hardware.
neriousy commentedon Nov 12, 2026
Thanks for the suggestion. This isn't something we plan to build, so closing to keep the tracker focused.