Building for Cross Platform Apps
summary
Dropbox moves core sync logic into a shared C++ library (live Dropbox / Li mailbox) that runs on iOS and Android, replacing duplicate Java/Objective‑C implementations. The library keeps a sqlite cache, a sync thread with delta updates, and an operation queue that applies local edits before returning results; JNI generator tooling reduces bridge boilerplate and websockets are implemented in C++ for stability. This cuts duplicate work, finds bugs once, enables Android beta testing at scale, and accelerates cross‑platform UI iteration for millions of users.
AI-written summary · about
chapters (10)
- 0:00Start
- 1:031 BILLION DEVICES
- 2:32A Tale of Two Codebases
- 6:02libdropbox
- 10:59Initial Load
- 11:58Struct - Native Object
- 14:36Example: rmdir()
- 16:26Setting boundaries
- 21:35Product / Market Fit
- 24:19Benefits of libmailbox
related talks
47mCloud Powered iOS Apps with Azure
29mFast, Cross-Platform Desktop Apps with Electron
27mBuilding Cross Platform Desktop Apps With Electron
27mnode.js + CouchDB == Crazy Delicious
36mUsing Electron in the Development of a Corporate Message-Video-Phone Platform
34mReal world Electron: Building Cross-platform desktop apps with JavaScript
27mProxygen Mobile: Cross-platform Mobile Networking Challenges
37mPushing Envoy Beyond the Edge
