Posts

Showing posts with the label Auto Backup

Setting up Backup Rules in Android: Why Auto-Backup Matters - and Where It Bites

Image
  Undoubtedly, if we all strive everyday to build a robust app which support any Android Device in the world. There’s multiple aspects in Android Development lifecycle which is overlooked; i.e. Auto Backup Machenism . I’ll be talking in detail about this in this article, it has been very popular these days, since the popularity of Offline-first applications drastically increased. Precisely this is governed by android:allowBackup and backup_rules.xml configuration. Whether you’re optimizing a production release or debugging persistent reinstall issues, mastering app backups is really important skill. Highlighting the importance of android:allowBackup By default, android:allowBackup is true , which commands the application to back up the data to Google Drive , which consist of Databases , SharedPreferences , and Files . The purpose of this setting is to protect the user’s Data in case of App Uninstall or Device Migration . Anyways, we should be very cautious while playing with ...