SimpleMobileTools / Simple-Calendar

A simple calendar with events, tasks, customizable colors, widgets and no ads.
https://www.simplemobiletools.com
GNU General Public License v3.0
3.53k stars 1.15k forks source link

CalDAV-synchronization not working #1959

Open LukeV1 opened 1 year ago

LukeV1 commented 1 year ago

Hi there,

unfotunately I am not able to find my synchronized calendar in Simple-Calendar. I followed the suggested 3-party-software approach, but instead of using DAVx5, I had to choose ICSx5 (since my source calendar format is a ics file). The ICSx5-Sync app shows up as described in the device settings and the synchronizations works fine in the default google calendar.

settings google_cal

But infortunately in the Simple-Calendar app i just get an error message that no calendar was found..

simple_cal_error

Really looking forward to your answer,

Luke

tibbi commented 1 year ago

have you maybe tried other apps too?

LukeV1 commented 1 year ago

Yes, i tried. But so far without success:

If you know any sync-app which may work I am happy to test it!

tibbi commented 1 year ago

What issue you have with DAVx5? That seems to work the best and you can insert url there too, if thats how you can find the .ics file.

LukeV1 commented 1 year ago

Sorry for the delayed answer!

DAVx5 just doesn't seem to support .ics files. I've just reinstalled it to test it again: I entered the URL (the identical URL which works in ICSx5) an got the following error: Screenshot_20230212-155415_DAVx (in english: it couldn't find a CalDAV or CardDAV service). Since you asked I even bothered to check through the logfile of DAVx5 and got this: Screenshot_20230212-155716_Total_Commander The first lines show the last rows of the recieved ics data that DAVx5 pulled, but then failed to detect the used "service". The unfortunately cutted line servicedetection.DAVResourceFinder reports out of screen that it couldn't detect a DAV service. Which, indeed, is true since it is a ics file. Ergo: DAVx5 can't handle .ics-webcals.


And thats the reason why I am stuck with ICSx5 which SimpleCalendar Pro doesn't seem to like.. 😢

tibbi commented 1 year ago

right, will keep it here. It seems to work to others though

eneller commented 1 year ago

This issue should at least be renamed, because ics is explicitly not webdav. So, there is no issue within the CalDAV synchronization of SimpleCalendar.

@LukeV1 i would suggest attempting to import your calendar into your phone's main calendar and displaying it in SimpleCalendar, if possible. Beware of missing functionality with ics sync, so it might not work altogether.

raffaem commented 1 year ago

I was looking for a way to sync my Office 365 calendar in Simple Calendar Pro.

I found this topic and used ICSx5 (installed from F-Droid) to sync my Office 365 calendar in Simple Calendar Pro and it worked correctly.