Optimizing integrations with the Mapbox Navigation SDK
summary
Delivery Hero integrates the Mapbox iOS Navigation SDK into its rider app, uses Xcode profiling and Sentry telemetry, and sees hangs spike — from moderate to ~37k then ~50k per day after rollout. Root cause is repeated recreation of navigation views (about once per second) combined with UIAppearance stylesheet accumulation so styles pile up in memory and view creation eventually takes ~0.5s, causing UI hangs. Resolution: profile SDKs, collect telemetry, use beta channels, file issues, and limit repeated styling and view recreation.
AI-written summary · about
chapters (7)
- 0:00Introduction and logistics
- 2:05About the speaker and presentation
- 6:03Performance requirements for rider app
- 9:25Mapbox's role in app performance
- 11:32Taking ownership of SDK integration
- 14:06Investigating hangs in rider app
- 19:34Q&A session
related talks
47mIntegrating modern native APIs with legacy code
01h 02mOptimizing iOS App Launch Time
35mSwiftUI Performance for Demanding Apps
45mDynamic navigation in modularised iOS apps
42mTuning your app using Xcode's Instruments
30miOS Observability & Performance Metrics
22mTaming a Four-Year-Old Detail Screen That Slowed Down Over Time
43mHacking your local bus system for the greater good
