Skip to content

refactor(mobile): 将三端原生应用迁移至 OpenBitFun-Mobile - #3981

Merged
wgqqqqq merged 3 commits into
mainfrom
wgq/extract-native-mobile
Nov 18, 2026
Merged

wgqqqqq merged 3 commits into
mainfrom
wgq/extract-native-mobile

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Migration

The native Android, iOS, and HarmonyOS apps moved to openBitFun/OpenBitFun-Mobile in b3a1d36. Use the new repository for native mobile development, issues, and releases.

This PR removes the migrated src/apps/mobile/ tree, including the three apps, shared Kotlin modules, MiniApp packaging, the mobile design system, and documentation. It also removes native-only Argon2 and terminal WebView assets, browser regression tests, native architecture and resource-generation scripts, and the native release workflow. The remaining version checks, brand and locale generators, and audits are updated, along with the READMEs and architecture docs.

src/mobile-web, Desktop, CLI, Relay, Rust execution logic, and shared host-side protocol contracts remain in this repository. The mobile web and host protocol version check still runs here. The desktop release notes link to the new repository.

Completeness and compatibility

The migration includes the HarmonyOS UI changes reviewed on a physical foldable device in folded and unfolded layouts. Each native source file removed by this PR was checked against its counterpart in the new repository. The new repository can install dependencies, generate resources, and build independently of this checkout.

The migration preserves directory structure, app IDs, version numbers, persisted formats, protocol versions, and user data. Shared build inputs record their source commits and hashes. Cross-repository protocol changes still require synchronized contracts and capability negotiation. Machine-specific signing material was excluded from the migration. HarmonyOS signing uses an ignored local configuration file.

While resolving conflicts with main, the HarmonyOS AgentFork session rendering changes and their regression coverage were carried over to OpenBitFun-Mobile@732a0aa. All 31 focused HarmonyOS tests passed.

Verification

OpenBitFun-Mobile

  • Built the Android Debug APK and HarmonyOS HAP from the new repository. The HarmonyOS build used portable project configuration and local signing.
  • Ran 784 shared Kotlin JVM checks with 1 existing skip, 65 Android unit tests, 620 HarmonyOS host tests, and standalone Swift checks.
  • Passed 7 MiniApp tests, 2 browser WebView tests, 2 brand asset tests, and the release workflow contract tests.
  • Passed architecture, design constant, color audit, locale, and version checks. The color audit covered 7 native, preview, and MiniApp surfaces.
  • Native mobile CI #44092148507 passed contracts, android, and ios. The follow-up commit fixed existing assertions and test socket timing. Production connection logic was unchanged.

OpenBitFun

  • Passed repository hygiene, GitHub configuration, i18n, and color audits for the 23 retained surfaces.
  • Passed 87 workflow, release, brand asset, protocol, and CI scope tests with 1 existing environment-dependent skip. The mobile web build-cache tests also passed.
  • Passed git diff --check and the Git object size check.

Local iOS verification was limited to standalone Swift checks because the machine lacks a full Xcode installation. The mobile CI covered Kotlin compilation for the iOS simulator and Swift checks. Earlier device UI testing used an actual account and Relay remote control. SSH workspaces, Peer Device Mode, and Detached Dispatch were outside the scope of end-to-end migration testing.

AI-assisted. Platform releases still require each platform's signing and publishing process.

@wgqqqqq
wgqqqqq merged commit 4fcba42 into main Nov 18, 2026
15 checks passed
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.

1 participant