Skip to content

Instantly share code, notes, and snippets.

@secondsun
Last active August 29, 2015 14:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save secondsun/68cbbc54366b653f57d6 to your computer and use it in GitHub Desktop.
Save secondsun/68cbbc54366b653f57d6 to your computer and use it in GitHub Desktop.
2.1 Sync Epics

Define Sync Module Interface

We will probable have a Sync Manager, FHSyncConfig, AGSyncConfig etc. SyncManager may be able to wrap the adapters in classes to give native Android sync. Regardless we will need a few drafts to figure this out.

AeroGear Sync Server Sync Module

  • Figure out a way to do auth

Feed Henry Sync Module

  • Feed Henry has an Authentication Mechanism. We will probably need to figure out how to hook AG stuff into it.
  • Seems like the FH android libs auth isn't fully baked in yet.

Shoot and Share and Sync

  • Make a cookbook app for sync based on shoot and share
  • Ideas include an ascii art shoot and share because ag-ss only supports text
  • FH does polling for its sync. Will probably need to make sure we can turn it on and off without subscribing/unsubscribing (IE if networking is bad or if the user is near a data cap or wants to conserve battery).

Android Sync Adapters

  • Authentication

  • May need to expand the auth or authz package to be aware of Authentication Manager

  • See http://developer.android.com/training/sync-adapters/creating-sync-adapter.html

  • NOTE Android native sync needs implementations for Content Provider, Authenticator, Authenticator Service, Sync Adapter, and Sync Adapter Service to work. These are going to be Helper Classess.

  • Using the XMPP stuff will make things a lot easier on the client side. Android handles all of the complicated state transitions, retries, etc.

  • Feed Henry

  • Create helper classes

  • Create Tutorials

  • AeroGear Sync Server

  • Create helper classes

  • Create Tutorials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment