Page 1 of 1

Accounts for Request Sync missing

Posted: 08 Mar 2019 19:22
by andi
Hi

I have a tablet and a phone, on both I use the same flow to sync my CalDAV accounts. Since some days (2 weeks?) I don't see and can't sync my CalDAV account anymore on my phone. Tablet is still OK.

If I create a new "Request Sync" action, the "Accounts" dialog shows no CalDAV accounts anymore (only the CardDAV accounts). I have no clue, what I changed some two weeks OK. Where does Automagic reads the "Accounts" information from and how could this happen?


In Android, I still see my accounts in the "Settings, Accounts" list and I can manually sync my calendar. But I'm not able to sync my account with the Automatic flow anymore.


Any idea?
Andi

I use LOS 15.1 (no updated since end of 2018).
I use the dmfs CalDAV sync app (no update since 2017)

Re: Accounts for Request Sync missing

Posted: 08 Mar 2019 20:06
by andi
I did some more checking (not systematic, more on a try and error base). The following command "adb shell content query --uri content://com.android.calendar/calendars" shows me all calendars I have active.

Re: Accounts for Request Sync missing

Posted: 08 Mar 2019 21:27
by Martin
Hi,

Automagic uses the account manager of the system to get the accounts. Maybe the system does not return the accounts for some reason or there's a bug in Automagic.
Could you please enable debug logging in the settings of Automagic, open the account selection dialog and then send the log to me (menu->Log, menu->Send Log). Please send the log to info@automagic4android.com.

Thanks & Regards,
Martin

Re: Accounts for Request Sync missing

Posted: 09 Mar 2019 06:12
by andi
Hi Martin

Thanks for your reply. Somehow, logging didn't work, only some sparse data is logged, looks like I didn't understand this logging feature.

So I downgraded to the last version 1.36. With this version, I have my calendar list back again! (But somehow, I can't add my widget anymore ;o)

I'll log with this version as well and will send you both files.

Andi

Re: Accounts for Request Sync missing

Posted: 09 Mar 2019 07:23
by andi
I guess, I spare you the logfiles. All I see is:

- Debug Log active
- Clear prefer IPv4 (null, false)
- Clear prefer IPv4 (null, false)
- Flows need not to be saved
- Debug Log inactive

Tomorrow I go back to 1.36 and restore my old widgets.
Andi

Re: Accounts for Request Sync missing

Posted: 11 Mar 2019 18:55
by andi
Hi Martin, did you get the chance to check what changed between 1.36.0 and 1.37.0?

Re: Accounts for Request Sync missing

Posted: 11 Mar 2019 20:28
by Martin
Hi,

Yes, it's a new limitation enforced on Android 8+. The next update which should become available in Google Play right now adds a new button 'other account...' that brings up an account selector from the system which should make the account visible to Automagic again. I'm not sure if this works with every account but the ones I've tested have worked so far.

Regards,
Martin

Re: Accounts for Request Sync missing

Posted: 11 Mar 2019 22:19
by andi
Back to perfect! Thanks for your work.

I'm really sorry for all the trouble you're going through, with this Android changes all the time...

Re: Accounts for Request Sync missing

Posted: 11 Mar 2019 22:21
by Martin
Great! Glad it's working.

No problem. This is part of the game :-)