Tagged articles

UseCase

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.

C++UseCaseWeChat 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
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.

AndroidDomain LayerMVVM
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.

C++UseCaseWeChat 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 OptimizationUseCase
0 likes · 14 min read
How WeChat Pay’s C++ Cross‑Platform Framework Solved Mobile Payment Challenges