
There is a persistent myth in the mobile development world: “Flutter is great for quick MVPs, but for massive scale, you need to go native.”
At Leenspace, we’ve spent the last few years debunking that notion. Nowhere is this more evident than in our work with Agora Shop—the digital backbone of Intercorp, the largest retailer in Peru. Serving over 5 million users, the app combines supermarkets, pharmacies, and home improvement stores into one "Super App."
When managing a complex retail ecosystem, scalability is both a technical and operational requirement. Here is how we evolved Flutter from a peripheral tool into a high-concurrency gateway.
The journey didn't start with a blank slate. Initially, the project utilized Flutter Add-to-App, embedding Flutter modules into existing native legacy codebases to prove the framework's value. However, as the vision expanded, so did our technical ambition.
We transitioned from a hybrid approach to a comprehensive, full-Flutter architecture. This evolution unified the developer experience and eliminated the overhead of maintaining multiple bridge layers, allowing us to build a truly seamless "Super App."
We treated the app like a puzzle made of seamless pieces. The core requirement was that modules must be reusable for standalone applications (e.g., a dedicated app for a single store) while functioning perfectly within the Super App.
Managing dozens of independent modules across 5 million users requires heavy-duty orchestration. To keep this massive puzzle organized, we leveraged Melos and pubspec workspaces.
At 5 million users, performance must be democratic. Your audience is using everything from the latest flagship to five-year-old budget Androids.
We leveraged Flutter’s Impeller rendering engine to eliminate "jank" (stuttering animations). By pre-compiling shaders, we ensured that scrolling through a 20,000-item catalog feels as fluid as a native system app. This technical choice directly impacts conversion—if the app feels fast, the user stays in the funnel.
When an app serves millions, a "small bug" can affect tens of thousands of people in minutes. We moved beyond simple testing into a multi-layered QA strategy:
The success of Agora Shop proves that Flutter is an enterprise-ready powerhouse. By evolving from "Add-to-App" to a modular, customizable puzzle-based architecture, Leenspace helped transform a complex retail vision into a resilient reality for millions of users.
Ready to scale your product to millions of users?
Let’s build something BIG together.