I've been struggling somewhat be able to use the 2.0 synchronization mechanism on my phone. It is now working for the the examples (Simple Weather Survey). Not sure 100% what prevented me from making it work but one of the following has in the end done it for me:
1 - My email account had (...).it@gmail.com in it. Perhaps the dot in the middle of the email address was confusion for some part of the authentication?
2 - In the end I created a new account on my phone (Settings, + Account). A Google account but NOT a google + account. My previously registered account on my phone is Google +.
3 - Also, I can't remember if I was asked by Android at some point with my old account, but when I tried with my new account I was prompted for an authorization for ODK Sync to synch data (by Android, as mentionned in the Survey docs). Perhaps for some reason I didn't get that prompt with my previous account. Thus it would have been Android preventing me from Authenticating properly, not Aggregate.
Also, both the Authentication/Sync/Reset server aren't 100% reliable. In case of any failure, just repeat the steps. Also if you have troubles, going to Settings/Application manager & Force Stop the application can help since they run script at startup but not when they are "close" (but not actually stopped).
If others have had trouble with the authentication / sync, please let us
know.
The code to do this was written several years ago before the big push for
Google+ accounts, so it is entirely plausible that there is something amiss
with Google+ authentication vs. Gmail authentication.
Thank you Francis
ยทยทยท
On Thu, Sep 11, 2014 at 7:39 AM, wrote:
Hi all,
I've been struggling somewhat be able to use the 2.0 synchronization
mechanism on my phone. It is now working for the the examples (Simple
Weather Survey). Not sure 100% what prevented me from making it work but
one of the following has in the end done it for me:
1 - My email account had (...).it@gmail.com in it. Perhaps the dot in the
middle of the email address was confusion for some part of the
authentication?
2 - In the end I created a new account on my phone (Settings, + Account).
A Google account but NOT a google + account. My previously registered
account on my phone is Google +.
3 - Also, I can't remember if I was asked by Android at some point with my
old account, but when I tried with my new account I was prompted for an
authorization for ODK Sync to synch data (by Android, as mentionned in the
Survey docs). Perhaps for some reason I didn't get that prompt with my
previous account. Thus it would have been Android preventing me from
Authenticating properly, not Aggregate.
Also, both the Authentication/Sync/Reset server aren't 100% reliable. In
case of any failure, just repeat the steps. Also if you have troubles,
going to Settings/Application manager & Force Stop the application can help
since they run script at startup but not when they are "close" (but not
actually stopped).