@sergio Workaround still works (using DAVx⁵ 2.2.1-ose and OpenTasks 1.1.15), however, once I check a task as done in OpenTasks the issue returns with the next sync.
Now I’m using aCalendar+ as calendar app and OpenTasks to sync tasks. When I get a notification for a due task, I just check it as done in the aCalendar+ notification. Notifications from OpenTasks are deactivated. A sync thereafter does not trigger Vibration.
So the Vibration only happens after checking within the OpenTasks notification.
Don't sync until Android says it has internet connectivity
I connected to a hotel wifi which requires signing-in on a separate html page, a common thing. I saw two notifications popping up: Android’s “This wifi requires signing in” and DavDroid’s “SSL connection error”. I assume Android has some API that tell you when current network gets real internet connectivity. Would be nice if DavDroid only tried to sync after that moment.
Hello, thanks for the suggestion. But how should DAVdroid detect whether there is “real” Internet connectivity? Also, the sync process is not initiated by DAVdroid but by Android.
Well, I don’t really know Android APIs. I know that the notification area wifi icon is grey when there’s a wifi connection and blue when there’s actual internet connectivity. I assumed there’s some API to tell us this state. However if it’s Android who initiates the sync and it does that in the wrong moment probably there’s nothing you could do.
I guess your suggestion would be a good idea, but as the sync is triggered by Android, I don’t see any chance, so I’ll close this for now.