Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Mobile Development

5 min read

iOS 27.2 Introduces China-Exclusive Shake-to-Jump Block and Secure Erase

iOS 27.2 adds two China-specific features: a motion-data restriction that prevents apps like Taobao and Douyin from triggering accidental shake-to-jump redirects, and an extended erase option that overwrites storage for secure device disposal; other updates include iPhone Duo Apple Pencil support and delayed Apple Intelligence rollout.

15 min read

Ctrip Flight App Replaces Polling with SSE: Full-Stack Streaming Implementation & 11.8% Faster Multi-Batch Loading

Ctrip Flight team replaced polling with Server-Sent Events (SSE) across Web and mobile (Native + React Native), detailing implementation layers, optimizations like pre-connection, pre-request, caching, and Brotli compression, achieving 11.8% faster multi-batch loading and enabling heterogeneous batching for API granularity conflicts.

38 min read

Debug HarmonyOS 7 XiaoYi Skills: From Platform Evaluation to On-Device Testing

This article details a systematic debugging methodology for HarmonyOS 7 XiaoYi skills, showing how to trace discrepancies from platform evaluation reports through tool integration to on-device testing by comparing fixed inputs, expected outputs, and actual results at each execution stage to locate the earliest point of failure.

18 min read

One Engineer, Three Platforms: AI-Native Mobile Development Without Cross-Platform Frameworks

Ant Financial's 'one person, three platforms' approach uses LLMs to let a single engineer natively develop for iOS, Android, and HarmonyOS simultaneously, replacing cross-platform frameworks with AI-assisted workflows, shared asset repositories, and automated testing, cutting development hours by 40% and achieving 80%+ AI code adoption.

11 min read

OkHttp 5.5 Upgrade: Real Value Lies in 5.2–5.4 Features, Not ECH

This article analyzes OkHttp 5.5's features, concluding that Encrypted Client Hello (ECH) requires Android 17 and offers limited immediate value, while versions 5.2–5.4 deliver practical upgrades like Zstd compression, 16KB page alignment, enhanced interceptor permissions, DNS-over-HTTPS, and QUERY method support, recommending a staged upgrade starting with 5.4.

13 min read

Building a Local-First AI Recording App to Escape Cloud-Locked Recorders

The author builds an offline iOS app called Lynsight using a $27 open-protocol Bluetooth recording card and on-device Gemma 4 model for transcription, speaker diarization, and summarization, integrating with Xiaoyuzhou, Bilibili, Obsidian, and Apple Reminders under a one-time purchase model.

15 min read

Phone-Harness: Let AI Agents Control Your Phone — Tap, Read, No Jailbreak Needed

Phone-Harness is a Python CLI tool that lets AI agents like Claude Code control real iPhones and Android devices via four connection paths — iPhone Mirroring, ADB, cloud emulators, and cloud iPhones — providing 20+ functions for tapping, swiping, typing, and reading screen text via OCR, with built-in validation rules and safety guards, enabling mobile automation without jailbreak or root.

13 min read

How Product Managers Can Adapt Apps for iPhone Duo with Duology AI Skills

This article introduces Duology, an open-source AI skill pack that helps product managers and developers adapt iOS apps for Apple's foldable iPhone Duo by providing layout patterns, state continuity guidance, design recipes, and automated code checks for folded, unfolded, book, and tabletop postures.

11 min read

Google's ARTEMIS: Natural-Language Android Automation Hits 99% Benchmark Success

Google's open-source ARTEMIS framework enables natural-language-driven Android automation with dual Flash/Pro execution modes, MCP integration for AI IDEs, and a three-layer fallback location strategy, achieving 99% success on AndroidWorld benchmarks while supporting CI/CD and real-device farms.

18 min read

Compose State Management: When to Use ViewModel vs remember vs rememberSaveable

The article distinguishes three lifecycle events that reset UI state — recomposition, configuration change, and process death — and maps each to the appropriate Compose state holder (remember, retain, rememberSaveable, ViewModel) with a counter example, showing how to persist user-modified data and enable JVM unit testing.

12 min read

Build a WeChat Mini-Program in 2 Hours with AiOnly + WorkBuddy: A $5K Case Study

This case study details how to develop a WeChat event-registration mini-program in two hours using AiOnly's model aggregation platform and WorkBuddy's AI-assisted coding, covering requirements definition, tool configuration, code generation, testing, and deployment for a 5,000 RMB project.

15 min read

Share Everything Except UI: KMP Native UI Practice with Compose and SwiftUI

The author shares their KMP engineering practice of sharing all business logic via Kotlin while implementing platform-native UIs with Jetpack Compose on Android and SwiftUI on iOS, detailing the module structure, state observation via SKIE, screen layering, and why native UI beats Compose Multiplatform for iOS fidelity.

16 min read

Building a Stock App with Kuikly: Multi-Module KMP Setup & Reactive System Deep Dive

The author shares hands-on experience building a stock viewing app with Tencent's Kuikly Kotlin Multiplatform framework, covering multi-module project setup, network layer migration, component encapsulation, and a deep technical analysis of Kuikly's reactive update mechanism with practical solutions for child component observation.

16 min read

HarmonyOS 7 Agent: Build Enterprise RAG Knowledge Base with Cloud Embeddings

The article demonstrates implementing a Retrieval-Augmented Generation (RAG) pipeline on HarmonyOS 7 for enterprise private knowledge base Q&A, covering document chunking with sliding window overlap, deterministic vectorization for offline testing, cosine similarity search, orchestrated index/retrieve/generate phases, system prompt constraints to prevent hallucination, UI citation display, and 27 offline unit tests.

16 min read

DroidDeck: Native SteamOS on Snapdragon Handhelds, Run Windows Games via Proton

DroidDeck is an Android app that creates a Linux runtime to run Valve's official ARM64 Steam client and Proton, enabling native Windows gaming on Snapdragon 8-series handhelds without streaming, including KDE Plasma desktop, multi-store aggregation, and controller support, but requires Adreno 730+ GPU and disabling a system setting.

41 min read

JD's KMP Split Delivery: Per-Component Builds & Compiler Fixes for iOS & HarmonyOS

JD engineers detail their migration from monolithic KMP delivery to per-component builds for iOS and HarmonyOS, sharing a stdlib/runtime carrier, fixing bridge numbering mismatches and type ID issues in the KN compiler, implementing custom Gradle plugins and CI/CD for independent XCFramework/HAR publishing, enabling on-demand integration and faster builds.

28 min read

Kuikly Cross-Platform Architecture for Financial AI Apps: A Three-Platform Case Study

Changjiang Securities adopted Tencent's Kuikly framework (based on KMP) to build their AI-native financial app 'Chang Xiaoniu' across Android, iOS, and HarmonyOS, detailing their four-layer architecture, unified Bridge, AI-assisted migration from H5, packaging strategy, and real-device performance improvements over H5.

21 min read

HarmonyOS 6 3D Spotlight: One Light Pulls Models from Darkness

The article demonstrates creating a dramatic 3D spotlight effect on HarmonyOS 6 by setting up a near-dark environment, adding a configurable spotlight with adjustable intensity, cone angle, and color temperature, and providing complete ArkTS code for real-time interactive lighting control on a MatePad Edge device.

28 min read

Tencent Shiply: Android Hotfix Evolution from VM Hook to Full Dex Replacement

This article details Tencent Shiply's three-generation Android hotfix evolution—VM Hook, function instrumentation, and full Dex replacement—explaining each approach's principles, trade-offs, and why full Dex became the chosen solution, plus how Shiply adds build verification, release control, gray rollout, and monitoring for a complete hotfix platform.