TODOs: Try to join with exponential backoff

Previously, we would only attempt to join a syncgroup twice. Now,
we'll do it up to 5 times (though we can change that default). These
tries are done with exponential backoff, so theoretically there is
no need for a limit.

The reason this wasn't included before is that it seemed to trigger
sync breakages; however, those problems have been resolved now that
syncgroup ad failures don't break sync anymore.

Change-Id: I7ba05a178c243718a24b5c2920a9a510be48fe25
2 files changed
tree: 510b148fe6389cccf85d53e312e8a3b93f25b29a
  1. app/
  2. gradle/
  3. .gitignore
  4. .jshintignore
  5. .jshintrc
  6. AUTHORS
  7. build.gradle
  8. CONTRIBUTING.md
  9. CONTRIBUTORS
  10. gradle.properties
  11. gradlew
  12. gradlew.bat
  13. LICENSE
  14. PATENTS
  15. README.md
  16. settings.gradle
  17. VERSION
README.md

TODOs demo: Syncbase and Firebase

This is a TODOs application for Android which uses either Firebase or Syncbase as a persistence layer.

Building & running

Switching between persistence layers

To switch between Firebase and Syncbase use: Build -> Select Build Variant and choose between the various options (e.g., firebaseDebug, syncbaseDebug etc.)

Firebase

The firebase app is at https://vivid-heat-7354.firebaseio.com/. Ross Wang and Alex Fandrianto manage the administration of the database.

WARNING: There is no authentication required in this demo, and the TODO list is global, accessible to all. In a real TODOs app this would not be the case of course. In the mean time, don't put anything sensitive there!