Os Bastidores Android Dos Armazéns Do Mercado Livre
Article Summary
Victor Oliveira from Mercado Libre reveals how their warehouse management system went from drowning in duplicate code to shipping features without app updates. The secret? A bold architectural bet that changed everything.
Mercado Libre built Mercury WMS to power their Latin American logistics operation. As the business exploded, their Android app architecture couldn't keep up—similar flows replicated entire MVP layers, creating maintenance nightmares. The team needed a radical solution to scale without constant app deployments.
Key Takeaways
- Replaced dozens of duplicate Activity screens with single reusable components using Server-Driven UI
- Created Flan, a JSON-based DSL that lets backend teams build mobile UIs without Android knowledge
- Eliminated app store deployment bottlenecks for UI changes across warehouse operations
- Solved internal device management issues where Play Store updates were not viable
- Traded code duplication for granularity challenges requiring flexible component design
Mercado Libre transformed their warehouse Android app from a maintenance nightmare into a flexible system where UI changes deploy instantly from the server, no app updates required.
About This Article
The Mercury WMS Android app started falling apart as business rules kept changing and UI patterns got copied across different warehouse flows. The team needed a way to modify individual features without breaking the shared components.
Victor Oliveira's team built Server-Driven UI using Flan, a JSON-based Domain-Specific Language. This let backend teams create and update mobile UIs without needing Android developers, so they didn't have to wait for Play Store releases.
Mercado Libre could now push UI changes from the server and see them instantly across warehouse operations. They no longer had to wait for Google account syncing or app store updates on internal warehouse devices.