Most mobile apps need to stay offline for some periods of time, and mobile users expect their apps to work gracefully in both connected and disconnected states. Hundreds of millions of mobile device users might not be aware of needs that the apps have with regard to online and offline states; they simply expect the apps to work under any circumstances. In this article I'll show you ways to enable your mobile app to work in both states and synchronize data gracefully with the cloud in Windows, iOS and Android using cross-platform Xamarin tooling and Microsoft Azure Mobile Services. As a mobile app developer myself, I encountered the need to synchronize offline data early on. For my Winter Sports ski app (winter-sports.co) and Active Fitness activity tracking app (activefitnessxo), it's somewhat expected that you can't get a decent connection on the slopes or on the run. So those apps need to be able to synchronize data collected offline, without significant impact on battery life and reliability. In other words, the apps need to work efficiently in any conditions.
展开▼