Crafting Seamless Journeys with Live Activities - Lyft
Article Summary
Lyft built Live Activities that update millions of users per week—but iOS sandboxing, 4KB payload limits, and image rendering nearly killed the project.
Lyft's iOS team shares how they architected server-driven Live Activities for ride tracking. Max Husar walks through lifecycle management, dynamic UI components, and creative workarounds for iOS constraints.
Key Takeaways
- Server-driven architecture enables instant updates across all app versions simultaneously
- Protobuf and image compression fit driver photos into 4KB APNs payload limits
- Stale date monitoring kills outdated activities within 3 minutes automatically
- SDUI framework with RichText, ProgressBar, and RemoteImage powers all ride states
- App Groups share cached images between extension and main app
Critical Insight
Lyft's fully server-driven Live Activities architecture scales to millions of weekly users while handling iOS sandboxing, payload constraints, and real-time image updates.