BlogsUberLive Activity Integration for Rider App

Live Activity Integration for Rider App

Live Activity Integration for Rider App

1
posts
2024

Uber has successfully integrated Apple's Live Activities feature into its Rider app, enabling users to receive real-time trip updates directly on their iOS devices without needing to open the application. This involved significant engineering efforts to overcome challenges related to limited UI space, lack of direct networking and state in Live Activities, dynamic asset handling, and ensuring reliable updates through a combination of background app execution, push notifications, and a new backend service for server-driven content.

2024

Pickup in 3 minutes: Uber’s implementation of Live Activity on iOS

7/25/2024

This post details the engineering challenges and solutions for integrating Apple's Live Activities into the Uber Rider app. It covers UI prioritization for glanceable information, technical hurdles like dynamic asset handling without direct networking (solved by serializing URLs to disk via App Groups), ensuring reliable updates through a backend service and push notifications (OOA Service) to mitigate background app termination, estimating backend API impact, measuring engineering metrics with incomplete data, and implementing feature flags by writing values to disk. It also touches on achieving feature parity with Android push notifications using a server-driven DSL.