Unsurprisingly it has been very difficult to get syncing to work. Only today did I finally get syncing working between two copies of the self-hosted version of the app. Now we'll figure out if I can get syncing working between iOS -> iOS and then iOS -> self-hosted. I already know self-hosted -> iOS works. There's also two separate systems at play, because we're trying to do smart publishing so both systems need to generate the same identical html and hash it the same way, this has been annoying...