WeChat Client Technology Team
Author

WeChat Client Technology Team

Official account of the WeChat mobile client development team, sharing development experience, cutting‑edge tech, and little‑known stories across Android, iOS, macOS, Windows Phone, and Windows.

107
Articles
0
Likes
94
Views
0
Comments
Recent Articles

Latest from WeChat Client Technology Team

100 recent articles max
WeChat Client Technology Team
WeChat Client Technology Team
Oct 21, 2021 · Fundamentals

Why We Built Our Own C++ Coroutine Framework and How It Boosts Development Efficiency

This article explains the motivation behind creating the C++ coroutine framework "owl" for the cross‑platform WeChat client, compares callback, promise, and coroutine approaches with code examples, and details its design choices such as stackful coroutines, single‑thread scheduling, structured concurrency, and performance characteristics.

AsynchronousC++Framework
0 likes · 19 min read
Why We Built Our Own C++ Coroutine Framework and How It Boosts Development Efficiency
WeChat Client Technology Team
WeChat Client Technology Team
Sep 23, 2021 · Mobile Development

How Enterprise WeChat Scaled to Millions with Flutter: Architecture & Lessons

This article details how Enterprise WeChat tackled the challenges of five‑platform UI development by adopting Flutter, describing its multi‑module architecture, hybrid stack engine management, communication via pigeon and dart‑ffi, performance optimizations, tooling, and dynamic‑loading strategies that enabled large‑scale cross‑platform deployment.

Cross-PlatformDart FFIFlutter
0 likes · 34 min read
How Enterprise WeChat Scaled to Millions with Flutter: Architecture & Lessons
WeChat Client Technology Team
WeChat Client Technology Team
Sep 8, 2021 · Mobile Development

Uncovering Hidden Android Thread Pitfalls: Memory Leaks, Monitoring, and Hook Solutions

This article explores obscure Android thread issues—including uncontrolled thread creation, stack memory leaks, and the impact of thread‑priority settings—while presenting monitoring techniques, a pthread hook implementation, and performance considerations to help developers detect and resolve thread‑related crashes.

AndroidHookMonitoring
0 likes · 15 min read
Uncovering Hidden Android Thread Pitfalls: Memory Leaks, Monitoring, and Hook Solutions
WeChat Client Technology Team
WeChat Client Technology Team
Aug 10, 2021 · Mobile Development

How We Built a Cross‑Platform Hardware‑Accelerated Live‑Streaming SDK for WeChat Video Channels

This article details the design and implementation of a cross‑platform SDK that enables external hardware devices to stream live video on WeChat Video Channels, covering user authentication, network signaling, UI integration, audio‑video encoding, and hardware acceleration across Android, iOS, PC and embedded platforms.

Hardware AccelerationSDKVideo Encoding
0 likes · 11 min read
How We Built a Cross‑Platform Hardware‑Accelerated Live‑Streaming SDK for WeChat Video Channels
WeChat Client Technology Team
WeChat Client Technology Team
Aug 3, 2021 · Mobile Development

Detecting and Fixing Android App Power Drain with BatteryCanary

This article explains how Android apps consume power, details the underlying BatteryStatsService, introduces the BatteryCanary tool for monitoring and diagnosing power‑drain issues, and shares practical optimization cases and benchmark results for developers seeking to reduce app energy usage.

AndroidBatteryCanaryPower Monitoring
0 likes · 27 min read
Detecting and Fixing Android App Power Drain with BatteryCanary
WeChat Client Technology Team
WeChat Client Technology Team
Jul 19, 2021 · Mobile Development

How to Build a Complete ANR Monitoring Solution on Android

This article explains the Android ANR workflow, analyzes the system's appNotResponding logic, and presents a robust monitoring strategy that captures SIGQUIT signals, validates true ANR events, and hooks trace writes to reliably detect and diagnose ANRs in mobile apps.

ANRAndroidPerformance Monitoring
0 likes · 22 min read
How to Build a Complete ANR Monitoring Solution on Android
WeChat Client Technology Team
WeChat Client Technology Team
Jul 13, 2021 · Mobile Development

How to Accurately Detect UI Lag and ANR on Android: Advanced Monitoring Techniques

This article explains the relationship between UI stutter and ANR, critiques common monitoring tools, and presents three robust Android lag‑detection methods—WatchDog polling, Looper Printer replacement, and specialized handlers for IdleHandler, TouchEvent, and SyncBarrier leaks—complete with probability analysis and sample code.

ANRAndroidIdleHandler
0 likes · 17 min read
How to Accurately Detect UI Lag and ANR on Android: Advanced Monitoring Techniques