Mobile Development 6 min read

Xianyu’s Experience with Flutter: Adoption, Challenges, and Benefits

Xianyu became the first Chinese app to adopt Flutter after its 2018 preview, choosing it for performance and a single codebase, and used it to solve hybrid integration, page‑stack, video and component issues while overcoming Armv7, font, ICU and memory challenges, achieving comparable or better performance, modest APK growth, and a stable production page, though dynamic updates remain limited, prompting continued collaboration with Google.

Xianyu Technology
Xianyu Technology
Xianyu Technology
Xianyu’s Experience with Flutter: Adoption, Challenges, and Benefits

At the 2018 GMTC conference Google announced Flutter preview; Xianyu was the first Chinese large‑scale app to adopt Flutter in critical scenarios, influencing its evolution.

Why Xianyu chose Flutter: it offers native‑level performance with a cross‑platform UI framework, enabling a single codebase for Android and iOS while maintaining smooth experience. Pre‑research on Flutter’s architecture, team, and trends convinced the team.

Key problems Flutter solved for Xianyu include hybrid integration, build and compilation issues, page‑stack management, native video player reuse, and component mixing.

Hybrid engineering, compilation, and build

Hybrid page‑stack management

Native video player reuse

Native component integration

Compatibility challenges addressed: Armv7 compilation, video playback white‑screen, Chinese fonts, ICU data, screenshot handling, image memory‑overflow crashes.

Performance and efficiency gains: Flutter pages match or exceed native performance on low‑end devices; development speed improves for new pages and post‑migration features, with hot‑reload and unified codebase benefits. Some crashes remain, requiring deeper Flutter knowledge.

Package size concerns: Android APK grows ~8 MB, iOS bundle ~16 MB. Tree‑shaking reduces unused code; migrating native pages can offset the base size.

Dynamic updates: Flutter currently lacks built‑in online dynamic updates; Android can update Flutter artifacts more easily than iOS due to review constraints. Strategies include faster release pipelines and component‑based server‑driven UI.

Stability: The migrated product detail page is now stable in production, supporting video, images, ListView, keyboard, overlays, animations, and screenshots.

Xianyu continues to collaborate with Google and the community to refine Flutter and build an integrated development model.

fluttermobile developmentPerformancecross-platformHybrid Architecture
Xianyu Technology
Written by

Xianyu Technology

Official account of the Xianyu technology team

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.