Airplane mode: enabling Trello mobile offline
Feb 15, 2017Dan Lew

Summary
This post details the initial architectural changes for Trello's mobile offline mode, focusing on the Android app. It describes the shift from an online-only architecture (UI interaction directly triggering network requests) to an offline-first architecture where the local database becomes central. The database now acts as a simulacrum of the Trello server, and the network portion is optional. Two key changes are highlighted: making the database mimic the server's logic and implementing a system to sync changes with Trello servers (to be detailed in a future post). The post also introduces the concept of handling local vs. server-assigned identifiers, with a 'local-server barrier' and an annotation-based ID converter.