Show tasks in calendar and synchronize these events

If I turn on “Show tasks in calendar” in the Nextcloud web app, all my tasks are shown in the web calendar app.
But if I synchronize the calendars with my other devices, i can’t see the events in those synchronized apps.
Am I doing anything wrong or is there any possibility to synchronize the tasks in my calendar.