This is a simple 'up-down' synchronizer: it fetches changed records and writes them into storage, and uploads a client record if needed. No synchronization per se.
Attacking this and tabs together: https://github.com/mozilla/firefox-ios/pull/330
Created attachment 8591773 [details] [review] Pull req. There are some todos. The caller into SyncAuthState needs to know the token server URI, so I hard-code prod. Suggestions welcome. This only hooks into refresh. Each refresh will result in an i/c fetch.
Landed apart from the prod URI switchover. https://github.com/mozilla/firefox-ios/commit/2824e8b62f83a2450b5735efd536f5141b807c81
Comment on attachment 8591773 [details] [review] Pull req. Reviewed on GH, IRC, and in person.