Repository navigation
refactor(mobile): 将三端原生应用迁移至 OpenBitFun-Mobile - #3981
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 HarmonyOSAgentForksession rendering changes and their regression coverage were carried over to OpenBitFun-Mobile@732a0aa. All 31 focused HarmonyOS tests passed.Verification
OpenBitFun-Mobile
contracts,android, andios. The follow-up commit fixed existing assertions and test socket timing. Production connection logic was unchanged.OpenBitFun
git diff --checkand 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.