Dropbox Mar 16, 2022

Making Camera Uploads for Android Faster and More Reliable

Article Summary

Dropbox rewrote their Android camera uploads feature from scratch. It took 2 engineers 2 full years, but first-time uploads now finish 4x faster.

The original camera uploads feature ran on shared C++ code between iOS and Android. After 5+ years in production, it struggled with Android's background restrictions and had grown too risky to maintain. The team rebuilt it in Kotlin with platform-native tools.

Key Takeaways

Critical Insight

The rewrite delivered immediate reliability gains and positioned the team to iterate faster as Android continues evolving.

Their hash validation in production uncovered a rare bug in the old C++ code that nobody knew existed.

Recent from Dropbox

Related Articles