Pincode Migration Journey with Compose Multiplatform
Article Summary
Chethan N from PhonePe's Pincode team just shared how they migrated their Android seller app to desktop using Compose Multiplatform. The twist? They kept both codebases running in the same repo during migration.
PhonePe's Pincode seller app needed to expand beyond Android to support sellers managing catalogs, orders, and billing on Windows desktops. Rather than building separate apps, the team chose Compose Multiplatform to share code across platforms while keeping iOS as a future option.
Key Takeaways
- Migrated module by module while keeping Android releases flowing from same repository
- Used 12 column grid system for adaptive UI across mobile and desktop
- Built custom solutions like KMP Chucker equivalent when libraries weren't available
- Chose Squirrel for silent Windows updates, bypassing Windows Store entirely
- Replaced Hilt with Koin, OkHttp with Ktor, Glide with Coil for multiplatform
Critical Insight
PhonePe successfully unified their Android and desktop development using Compose Multiplatform, reducing code redundancy while delivering consistent seller experiences across platforms.