Tagged articles
7 articles
Page 1 of 1
Architect's Guide
Architect's Guide
Jul 2, 2025 · Mobile Development

How We Built a Cross‑Platform Architecture for WeChat Pay on iOS & Android

This article explains how the fragmented iOS and Android implementations of WeChat Pay were unified by introducing a C++ cross‑platform framework, abstracting business flows into UseCases, adding a routing mechanism, redesigning network request handling, and standardizing data passing to improve stability, reduce code size, and boost development productivity.

CUseCaseWeChat Pay
0 likes · 15 min read
How We Built a Cross‑Platform Architecture for WeChat Pay on iOS & Android
Sohu Tech Products
Sohu Tech Products
Jun 20, 2024 · Fundamentals

Mastering UseCase: Avoid Common Pitfalls and Follow Best Practices in Android Architecture

This article examines the role of UseCase in Android's modern architecture, clarifies its responsibilities, demonstrates proper naming, thread‑safety, signature design, referential transparency, and interface abstraction, and provides concrete Kotlin examples of both incorrect and correct implementations.

AndroidClean ArchitectureDomain Layer
0 likes · 10 min read
Mastering UseCase: Avoid Common Pitfalls and Follow Best Practices in Android Architecture
Sohu Tech Products
Sohu Tech Products
Jan 24, 2024 · Mobile Development

The Purpose of UseCase in Android Architecture

UseCase objects, placed in the Domain layer of modern Android architecture, encapsulate complex business logic that was previously crammed into ViewModels, thereby enforcing clean separation of concerns, adhering to the Single Responsibility Principle, and making the codebase clearer, more maintainable, and scalable.

AndroidClean ArchitectureDomain Layer
0 likes · 7 min read
The Purpose of UseCase in Android Architecture
Architect's Guide
Architect's Guide
Aug 25, 2023 · Mobile Development

Cross‑Platform Architecture for WeChat Pay: Reducing Bugs and Boosting Productivity with a C++ Framework

The article describes how a C++‑based cross‑platform framework was built to unify iOS and Android implementations of WeChat Pay, addressing bugs, scalability, quality assurance, routing, network request management, and data‑flow discipline, ultimately improving development efficiency and user experience.

CUseCaseWeChat Pay
0 likes · 13 min read
Cross‑Platform Architecture for WeChat Pay: Reducing Bugs and Boosting Productivity with a C++ Framework
21CTO
21CTO
Mar 26, 2020 · Mobile Development

How WeChat Pay’s C++ Cross‑Platform Framework Solved Mobile Payment Challenges

WeChat Pay’s new C++ cross‑platform framework unifies iOS and Android payment flows, reducing code by 45%, cutting development time, improving crash stability, and introducing a routing mechanism, use‑case abstraction, and disciplined data handling to boost productivity and quality across mobile payment services.

C++Performance OptimizationSoftware Architecture
0 likes · 14 min read
How WeChat Pay’s C++ Cross‑Platform Framework Solved Mobile Payment Challenges