+ Add Question

Autosync

Hi. When should the Android app autosync? I quite often find that I need to explicitly go to 'Refresh' on the menu. Is it time-based? Or does it use push? If it's time based, then it kindof makes sense, as I only recently added the todo items via the Chrome extension that I was expecting to see in the Android app. It had been around 10 minutes though - so it must be an infrequent auto-sync. If it's push, then it doesn't seem to work properly.

All my apps are up-to-date, so I'll be using the latest version at the time of writing.

Thanks,
Dan

All responses

David Trey staff
Replied on Apr 09, 2014 - 12:14

Hello Dan,

The sync behavior of our Android app is as follows:
- It syncs when it gets push notifications to sync
- It syncs when it gets an internet connection after having lost it
- It syncs when the app is opened and was not in memory (meaning Android killed it since the last time it was opened, or it's after a fresh boot).


Best regards,
David

Dan premium
Replied on Apr 09, 2014 - 13:31

I think this issue I'm seeing is with the push notifications then. I've just done the following as a test:

- Android: Loaded Todoist app, and backgrounded it by going back to my Android home screen (so the Todoist process is definitely running).
- Web: Created a test task
- Waited a few minutes
- Android: Opened Todoist via the desktop icon. My test task wasn't there.
- Android: Explicitly choose refresh from the menu, and my test task then appeared.

Brendon Wadey staff
Replied on Apr 09, 2014 - 13:59

Dan,

If any changes are made, such as adding of a task, or changing the view, it should sync changes as well. So it would appear it's not working.

Can you let me know which Android version you are using, and if you clear the data for the app and log back in, does it still happen?

Regards,
Brendon.

Dan premium
Replied on Apr 09, 2014 - 15:00

Hi Brendon,

I'm using Android 4.4.2.

I've just tried clearing the app's data, clearing it's cache, uninstalling and reinstalling. Then performed the same test as I described above. Unfortunately, it still does it.

J
joaquin
Replied on Apr 09, 2014 - 16:18

Same for me.

I guess that my Android app only syncs manually.
Any suggestion?

Thks.

Brendon Wadey staff
Replied on Apr 09, 2014 - 16:20

Dan,

So it will update, but only manually. What type of connection do you have, are you on a strong WiFi signal? Is ti corporate or home based? To be clear, if you switch views, say from Inbox to Today view, does it update the data?

Regards,
Brendon.

Brendon Wadey staff
Replied on Apr 09, 2014 - 21:13

We don't seem to be able to reproduce this issue. I have tested this on a few different Android devices, they all seem to sync when they should.

I will try to see if there would be a reason loading the app wouldn't be working though. If there are anything you are doing, apps you are using (battery savers) etc, or anything such as this it could help.

Regards,
Brendon.

Dan premium
Replied on Apr 10, 2014 - 13:09

Hi Brendon,

Sorry for the delay replying. Was UK night time, then had to go to work once I woke up!

The wifi is my home wifi, and using a standard router. It's a reliable fibre optic connection.

I've just installed a push notification tester app (https://play.google.com/store/apps/details?id=com.firstrowria.pushnotificationtester), and this successfully sends push notifications to my phone.

I've actually just noticed that if the Todoist app is open when I add the task via the web, then it does sync immediately. So it looks like it might be an issue with whether Todo is backgrounded or not.

Brendon Wadey staff
Replied on Apr 10, 2014 - 13:35

Dan,

That sounds about right, as if Todoist was not opened for awhile, it would be closed out from Android, and not get updated until re-opened, but your issue is still that when you open Todoist, it does not update correct?

As if Todoist was not fully closed out, as in, running in the background, it wouldn't update upon opening exactly, if you changed views though, or added something it should update. We have been talking with the developer, and basically, if Todoist is running, unless the above things happen, nothing will update.

So to confirm,

- Does changing views, or adding something, or manually refresh work?
- If you wipe away (close for good) the App, re-open does it update?

Regards,
Brendon.

Dan premium
Replied on Apr 10, 2014 - 13:57

Hi Brendon,

"- Does changing views, or adding something, or manually refresh work?
- If you wipe away (close for good) the App, re-open does it update?"

Neither of the above work.

I think the key thing I've spotted is that it "does" push if the Todoist app is in the foreground.

If I have Todoist open, then a task added on the web appears immediately.

If I have it in the background (but the process still open (ie. I've not swiped it away)), then it doesn't appear until I manually sync.

Dan premium
Replied on Apr 10, 2014 - 13:58

"That sounds about right, as if Todoist was not opened for awhile, it would be closed out from Android"

When I've been testing this, and have backgrounded Todoist - it hasn't been backgrounded for long - literally just a couple of minutes.

Dan premium
Replied on Apr 10, 2014 - 14:09

Just to clarify a statement I made in my last but-one post:

"If I have it in the background (but the process still open (ie. I've not swiped it away)), then it doesn't appear until I manually sync."

It also doesn't sync if I HAVE swiped it away. Ie. regardless of if the process was running in the background or not it doesn't work.

Just thought I'd clarify that - as when I read that sentence back, is sounded a bit misleading.

Brendon Wadey staff
Replied on Apr 10, 2014 - 19:24

Dan,

This does seem odd. As we are having trouble reproducing the issues you are having. Do you have any custom ROM's installed, rooted or anything such as this?

Was this always the case for you, or did it start happening at a certain point?

Regards,
Brendon.

Dan premium
Replied on Apr 11, 2014 - 01:33

> Do you have any custom ROM's installed, rooted or anything such as this?

I don't have any custom ROM's and it's not rooted. It's stock Android (Nexus 4 bought directly from Google Play).

I do use a GO Launcher EX as the launcher. And I have Avast mobile Anti-virus installed. I've just tried killing the antivirus process and also reverting to the stock launcher - but this hasn't made a difference. I have quite a few apps installed - but nothing that stands out as something that would cause this (like potentially the launcher and anti-virus could have done).

> Was this always the case for you, or did it start happening at a certain point?

I'm a new user of Todoist (literally about a week), so I'm not sure if it's a new issue or not.

Brendon Wadey staff
Replied on Apr 11, 2014 - 10:52

Dan,

Thanks. I am going to pass this along to the developers and see if they can come up with any ideas, though so far we have had no such luck in reproducing it.

I was not referring to you knowing if it's a new issue, I was just seeing it if started when you started using Todoist, or was it recently a new issue for you. That being said, I will see what I can find out.

If there is anything else you can think of let us know.

Regards,
Brendon.

Brendon Wadey staff
Replied on Apr 11, 2014 - 11:11

Dan,

One other question, are you able to receive the test push notification. From the settings page, Reminders (top right corner, gear icon)?

Regards,
Brendon.

Dan premium
Replied on Apr 11, 2014 - 13:58

Yes, that push notification test works fine.

Just done a few more tests, and the pattern is always the same:

- Sync/push happens within a couple of seconds if the Todoist app is foregrounded
- The sync/push doesn't do anything when the Todoist app is backgrounded
- Changing projects/views doesn't force the sync

Brendon Wadey staff
Replied on Apr 11, 2014 - 14:23

Dan,

Thanks, we are looking into it.

Regards,
Brendon.

Brendon Wadey staff
Replied on Apr 12, 2014 - 11:42

Dan,

When the app is in the background, it syncs the data every 15 minutes. Have you waited longer then this to see if it works?

Thanks,
Brendon.

Dan premium
Replied on Apr 12, 2014 - 11:48

I haven't. I'll try this now.

Dan premium
Replied on Apr 12, 2014 - 12:40

Hmmm, now the test task that I created when I did my last post at isn't appearing at all in the Android app. Even when doing a manual sync. It's showing when I visit the web and Chrome extension, but not the Android app.

I must admit, I'm starting to get a bit concerned about using Todoist. It seems rather flaky. I love the user interface, but I need a todo list solution where I can be confident in the sync / data integrity. I really hope that these are just a temporary issues, as I really love everything else about it!

Dan premium
Replied on Apr 12, 2014 - 12:43

I've just completed another task on the web, and this also isn't updating on the Android app. I've killed the app, and restarted it, but the same issue. I definitely have an internet connection as other apps can access the internet successfully.

Dan premium
Replied on Apr 12, 2014 - 13:04

I've tried rebooting my phone, and this appears to now have synced. Maybe I was a bit quick to blame Todoist in my previous comment, as I guess this could have been an issue with my phone. Although, I'd still expect the Todoist app to tell me if it failed to sync rather than silently failing (otherwise I might not know it wasn't syncing properly). Still, I shouldn't have said it seems flaky, so I'm sorry for putting that.

I'll do another test now to test the 15 minute thing.

Dan premium
Replied on Apr 14, 2014 - 15:53

Hi. Sorry I realised that I hadn't updated you on the 15 minute test. I've just done this, and it did update after a period of time. Seemed a bit longer than 15 minutes, but I didn't time it, so I couldn't be 100% sure. Either way, it did work.

I still get the same issue with the push though.

Brendon Wadey staff
Replied on Apr 14, 2014 - 17:02

Dan,

Which Push are you referring too? As you just said, it does update within 15 minutes as it should? We are looking into sync related issues though, and looking to improve it.

Regards,
Brendon.

Dan premium
Replied on Apr 15, 2014 - 16:14

Surely the 15 minute is just a scheduled sync / poll? Not a push? I presume initiated from the device? The push happens immediately, so is something completely different than the 15 minute sync.

When I add a test on the web, it *immediately* appears on my phone *if* the Android Todoist app is open. This shows that the push is getting to my phone correctly. Nothing outside my phone knows whether or not I have the Todoist app backgrounded - so the push is successfully getting to my phone immediately regardless of whether it's the background or foreground.

The issue is that when the app is backgrounded, the push isn't doing anything (even though it's still being received).

The issue isn't with the 15 minute sync - this seems to work.

Brendon Wadey staff
Replied on Apr 15, 2014 - 20:09

Dan,

If the 15 minutes was working, then you'd have no issue when you re-open your app when it was backgrounded.

Though, I think we need to re-confirm the main issue you are having, as we have gone through some details and different situations. From re-reading your posts, the issue is with the background syncing which is 15 minutes.

Regards,
Brendon.

Dan premium
Replied on Apr 16, 2014 - 01:17

> If the 15 minutes was working, then you'd have no issue when you re-open your app when it was backgrounded.

What if I go to the Android app 10 minutes after adding a task via the web?

> From re-reading your posts, the issue is with the background syncing which is 15 minutes.

No, it's not. The 15 minute sync works. It's the "immediate push" that doesn't work.

The main issue is that push works when the app is foregrounded, but it doesn't work when it's backgrounded. I'm talking about the immediate push here, not the 15 minute sync (which probably is a poll, not a push anyway).

As most people won't have the app open when making changed via the web - then means that your immediate push notification functionality just doesn't work.

Brendon Wadey staff
Replied on Apr 16, 2014 - 08:29

Dan,

I have passed this along to the developers already. From my understanding, the issue is the background syncing, which should grab items 15 minutes, but also grab when you open the app, which is what is not happening.

They have already been looking into these types of issues, and I will let you know what we find.

Regards,
Brendon.

Dan premium
Replied on Apr 16, 2014 - 08:34

Okay, thanks. Although I don't understand why you think it's the background syncing that's at fault. It's clearly that the push notification isn't updating the local database when the app is backgrounded.

As you say, forcing a sync when the app opens will get around / hide the issue - but that's just a sticking plaster to get around the fact that the push is not working.

CB
Christine Brestlin premium
Replied on May 07, 2014 - 07:37

Dan, I'm wondering if you ever got these issues resolved...
I'm experiencing something similar. If I edit a To Do item via the Web, it does not update on my Android app (if it's backgrounded). If I edit via the Web, while the app is open on the phone, it does seem to update. Problem not strictly limited to editing - added a new item via web and it doesn't show on app.
Really liking the program. Would consider the Premium, if I knew this synching problem could be fixed, making the system reliable.
Thank you, Christine.

Yu LIANG premium
Replied on May 07, 2014 - 08:09

I think this problem still exist.
If the android app is in background, any modifications won't be synchronized automatically.
That means I need to refresh it when I reopen the app each time.

Dan premium
Replied on May 07, 2014 - 08:29

Hi. Yep, I'm still experiencing the issue. @Christine: I wouldn't let this put you off going Premium though. I'm using it quite happily. If I make a change via the web, and immediately go to my phone, then I do a manual sync just to make sure. If I've not made a change on another device recently, then it seems to get synced automatically by the 15 minute sync. It would be nice if this push bug was fixed - but personally, I don't find it a deal breaker. It's by far the best personal todo app that I've used (and I've tried most of them).

CB
Christine Brestlin premium
Replied on May 07, 2014 - 08:49

Thanks for the responses. Unfortunately, that's one layer of the problem, the "Refresh" in upper right hand corner does NOTHING on the Android phone app. Items still do not synch.

And I should further clarify - Android app on a Samsung tablet does not seem to have this problem. Item entered via web was auto synched after the 15 minutes. And, were it not, at least the Refresh option does the trick.

And @Dan, I agree, it's a great app. I WANT to go Premium, but if I can't rely on the functions, I'm hesitant. I typically use a desktop, laptop, tablet and the phone. The selling point behind an app like Todoist is that it works cross platform/hardware. Since the main ways I'd be using the app (really, I am already, via the free option) is via the phone and web, the bulk of my additions / changes to the app are iffy at best for being syched across devices, how can I rely on it? If the "Refresh" button worked, I could live with that, I guess. But it doesn't. I've had to go into App control and clear the data from the program. That is not an efficient/acceptable way to use a productivity tool.



David Trey staff
Replied on May 07, 2014 - 10:13

Hello Christine,

We can guarantee you that this will be fixed. Cross-platform support is one of the most basic features we offer and we will of course do everything to address this issue and make syncing as reliable as it was for years.

That said, please tell me - if you reinstall the app, log in and then add a task on the web while being online, you don't see the task appear automatically on your phone at all? The refresh button shouldn't even be necessary as changes are pushed from our server automatically.

Also, please let us know what version of Android and our app are you using.


Best regards,
David

CB
Christine Brestlin premium
Replied on May 07, 2014 - 12:16

David,
Thanks for the reply. I'm glad to hear it will be corrected. Hopefully sooner, rather than later! ;-)

I have not uninstalled the app, but I will give that a try.

My Android phone is using Android 4.1.2
My Android tablet is using android 4.2.2

And the Todoist version is 3.2.3 on both - will be upgrading to 4.

Christine

CB
Christine Brestlin premium
Replied on May 14, 2014 - 19:19

@David,
I was so pleased - all was working fine after the uninstall and re-installation - however, it didn't last long. As of today, we're back to edits, additions, etc made on the web are not synching to the Android phone app.

I upgraded to the Premium, as I thought this was working fully and completely. Now not the case.

Christine

David Trey staff
Replied on May 15, 2014 - 08:56

Christine,

We're sorry to hear that :-( We're looking into this, but if there's anything in particular that you suspect to be the source if this issue, please let me know. For example, did you access the web once in a different browser and then it started to happen or did you import some tasks or used Todoist offline - anything that might have been the trigger.


Best regards,
David

JH
Jae H. Lee
Replied on May 27, 2014 - 13:34

I'm having the same issue. I make modifications to the webapp - adding tasks, changing current tasks, completing tasks, etc. - and nothing is updating on my Android app. It's also not working the other way around (i.e. Android changes no updating to webapp).

In the webapp the refresh icon just keeps running as well without stopping.

Brendon Wadey staff
Replied on May 27, 2014 - 13:42

Jae,

Your issue may be different then the above. As we are having server issues which we hope to have resolved soon.

Regards,
Brendon.

Ed Trumbull  premium
Replied on May 27, 2014 - 13:53

I'm having the same problem. Updates fine on web and my Android tablet (v4.2.2) but not synching at all with my Android phone (v4.1.2). I have items that have not synched for 3 days. I have turned phone on and off. I have signed out and back in on my phone, have hit refresh and it still does not synch.

Brendon Wadey staff
Replied on May 27, 2014 - 18:34

Ed,

So this has been occurring more than just today correct? As mentioned above, today was filled with server issues.

That being said, as David mentioned above, any more details about it could help us reproduce it. As so far, we have not been able to do so.

Regards,
Brendon.

T
Ted
Replied on Aug 10, 2014 - 18:03

My sync worked great till a few weeks ago. Now my phone and web do not sync. And when I try to refresh on the phone I get "Couldn't Refresh, Please try again later." I am connected via wifi, but that never mattered before. I am on Android 4.4.2 on a moto X. Please help! Thanks.

Clyde Romo staff
Replied on Aug 10, 2014 - 23:18

Hi Ted,

Please logout and log back in again in all devices that's using Todoist. Let us know if the issue persists after.


Regards,
Clyde

T
Ted
Replied on Aug 11, 2014 - 14:51

Thanks for the response. I logged out and logged back onto the pc and android apps. PC cam back up fine, but the android is now empty and I still get the ""Couldn't Refresh, Please try again later." note. When I go to the apps, it shows 268kb of data, so I assume the items that were on the phone that had not synced are still there (i hope :).
I also powered down and back up and this made no difference. I am on todoist 2.1.3.

Brendon Wadey staff
Replied on Aug 11, 2014 - 14:53

Ted,

The issue is now clear, 2.1.3 is a very old version of our app and should not be working at all. Please update to the latest version.


Regards,
Brendon

T
Ted
Replied on Aug 11, 2014 - 16:49

that did it! thank you very much!