+ Add Question

My android app and web not syncing

U

Does authentication via google account creates separate account? I cant see data created in web on my phone and vice versa. I've tried to log in and out with no luck.

All responses

Brendon Wadey staff
Replied on May 13, 2013 - 09:23

Hi,

Yes authentication through Google can sometimes create a new account if you have more than one account. For example, people have a Gmail account attached their Android device (which is what authentication uses by default), but is not the same email used to sign up with Todoist.

Please sign-out of the Android app and make sure to sign in (not using Google Authentication) with the same Email/Password combination as you use on the web version. You have to manually enter the email and password that you want to use.

If you head to Todoist.com and at the top right corner hit the "gear" icon, and then "settings'. You can then get to the "account" page, and see the email address that you are using. This would be the one you want to sign into on Android.

Let me know if you can accomplish this.

Thanks,
Brendon.

U
Unknown
Replied on May 13, 2013 - 09:27

I am using same email address for both and logged in as you suggested using signin instead of authenticate via google, and pressing sync button still cant see projects.

Brendon Wadey staff
Replied on May 13, 2013 - 09:37

Please clarify, on the left hand side, there are no Projects shown. If you go to the "Today" view there are no tasks to be seen? You could possibly be on a view or project that doesn't currently have any tasks.

Please try re-setting the application. You can do this by going to System Settings on your Android, finding the Applications area, scrolling till you find Todoist, and from that page there should be a "Force Stop" and "clear data".

Then you will have to sign back in once more. Let me know if this solves the issue. If not, could you please answer these questions.

What version of Android are you running?
Do you have any custom ROMs?
Are you running the latest version of our app? What version?

Thanks,
Brendon.

U
Unknown
Replied on May 13, 2013 - 10:20

Hi Brandon,

I've double checked that in web and on android, there are same name and email. The thing I've found that in settings->todoist, when I enable checkbox for syncing, it says:"An unknown error occured. Please try in few seconds." Does the app outputs into logcat? If so, i can give you the message.

App version 1.1.3
Android 4.2.2
Stock Nexus 4

While doing this check discovered another bug: Todoist settings activity is not handling sync checkbox triggering in case when I switched to that activity using "List of applications" button. Going back and entering Todoist settings again stil no response.

One more. When I do Force stop(Not clearing data), app prompts me to authenticate again.

Regards,
Alex

Brendon Wadey staff
Replied on May 13, 2013 - 16:23

Hi,

Could you please try un-installing the application, rebooting your phone, and then re-installing the application.

Once that is done, do the google authentication and I am hoping that will clear up the issue.

Let me know,
Thanks,
Brendon.

U
Unknown
Replied on May 13, 2013 - 16:37

Did that with no luck.
My impression that it managed to communicate with server because it can handle wrong password, but afterwards it fails to sync even the data created before wiping.

Brendon Wadey staff
Replied on May 13, 2013 - 16:47

Just to clarify, please do the following.

1. Re-install, or clear the app's data
2. Login using Google or using Email/Password
3. After the login completes, reboot the phone
4. After the phone starts up, open Todoist
5. ???

Let me know what happens from doing these instructions.

It should either open normally, but doesn't sync, or the app asks for the login information again.

Thanks,
Brendon.

AC
Alex Chmyr
Replied on May 14, 2013 - 06:30

Hi Brandon,

I did the steps you suggested with same effect(no data synced between device and web).
I've manage to resolve my problem by creating another account (you can't remove yourself and register again via webpage- bug???)
and not using Google auth at all. All works fine. If you think that it is important that this issue should be fixed, I can try to report it step by step.

1. open android app (not opening web before) and use Google auth to enroll
2. Create some projects and tasks in app.
3. added widget to screen.
4. after update to latest version widget asked me to login again.
5. when I opened web page, I've used Google auth again but didn't found any projects and tasks created in app.
6. On the webpage I've created some another projects and tasks, but they never been in sync with app ones.

Hope this will help.

Alex.

David Trey staff
Replied on May 14, 2013 - 06:48

Hello Alex,

Please tell me - do you have one Google Account or multiple? If multiple, are you always logged in on the web to the same account you're logged into on Android? It is technically not possible to have a Todoist account either not syncing the data at all or have two different accounts created with the same email address.

Please double-check what addresses are used on both accounts and make sure that you're logged into Google with the correct account as you authorize - try to open GMail and log out, then try to log into Todoist and you will see a window asking you to log into Google.


Best regards,
David

AC
Alex Chmyr
Replied on May 14, 2013 - 06:53

David,

I have 2 accounts set for android and it prompts me which account to pick, so I'm sure that my personal account is used on phone, secondly I've double checked in Google privacy settings that todoist.com has permission to access my account.

Alex

David Trey staff
Replied on May 14, 2013 - 06:58

Alex,

Please confirm - did you also check it on the web? If you've logged into Google in your browser, it may not ask you to choose an account when you log into Todoist. Again, it is technically not possible for two accounts to share the same email address, therefore you must have 2 Todoist accounts - each with a different Google Account.


Best regards,
David

AC
Alex Chmyr
Replied on May 14, 2013 - 07:30

Ok.
To be clear.
The Google privacy setting are accessible from the web.
Secondly, after fail with Google authentication, I've tried to use Log-in instead and that ended up into 2 different project and tasks set(previously set on web and app), furthermore, when I wiped all app data on the phone, the projects and tasks disappeared completely, but those on web were in place.
Thirdly, I've removed account using web form, but it actually didn't (just cleared list of projects and tasks) and now both device and web in sync.

I am not aware of your data model for account, but my impression was that you may have 2 profiles attached to same email - one from app Google auth's , second from the web Google auth's. But none of those would automatically ended up in normal account, as I wasn't prompted to neither enter password for newly created account, nor welcome email.
I've double checked - once you do Google auth from web (not doing this firstly from app) you automatically receive at least welcome email.
So that would explain why I need to remove account twice to get it working properly.

Regards
Alex


David Trey staff
Replied on May 14, 2013 - 07:39

Alex,

I'm glad to hear that it works now.

Just to clarify - one email address can have one account at Todoist and you must use the exact same login method and credentials across all platforms (mobile, web, plugins, add-ons, desktop apps etc.). If you use different credentials - you get a different account with separate data.

The only exception is - what you create a Todoist account manually (without Google) and you use a non-Gmail email address, you can then associate a Gmail address by authorizing this account with your Google account (assuming you have not used this Gmail address with Todoist before). We've made a short video showing how the authorization works: https://www.youtube.com/watch?v=GQl8yud60Fo


Best regards,
David