How can I create a synchronized calendar for web and mobile devices (initially)?

I created a web application in PHP using CodeIgniter. The application is based largely on a calendar that allows the user to add, edit and delete events in this calendar.

One of the main requirements for the system is to use your own calendar on iPhone and Android devices. The user should be able to not only view, but add, edit and delete items from his calendar. I can create a vcal file that the user can upload to his calendar, but this is only one-way synchronization.

Is there a way this can be achieved? I was thinking about Google Calendars, but using the API before I know how this can be, and I'm not sure about the support.

Any help is appreciated.

+6
source share
1 answer

You need to implement the calendar server protocol (CalDav). Take a look at http://www.davical.org/ which implements this very well.

Remember that this is a huge task, because all customers have their own small quirks that you need to support.

0
source

Source: https://habr.com/ru/post/894020/


All Articles