We want to open calendar events directly in mobile application rather than redirect to web app. Therefore, we need to use Unified Search API to get calendar events and try to match with already synced internal calendar events by Dav5x. So that user can open calendar events in phone.
Dav5x ID and internal Android calendar ID is not matching for calendar events, so we need to provide uniqueness via depending on event name and event start date.
Unified Search API doesn't provide solid date information for the calendar events, we can only get formatted date as String in subline section. We can add createdAt inside the attributes as UNIX Timestamp so that we can have exact date inside the response, and we can compare with internal Android calendar events without parsing the formatted date string.
We want to open calendar events directly in mobile application rather than redirect to web app. Therefore, we need to use Unified Search API to get calendar events and try to match with already synced internal calendar events by Dav5x. So that user can open calendar events in phone.
Dav5x ID and internal Android calendar ID is not matching for calendar events, so we need to provide uniqueness via depending on event name and event start date.
Unified Search API doesn't provide solid date information for the calendar events, we can only get formatted date as String in subline section. We can add createdAt inside the attributes as UNIX Timestamp so that we can have exact date inside the response, and we can compare with internal Android calendar events without parsing the formatted date string.
Current Implementation
Suggestion
Is the subline variable formatted according to the user's locale settings, or can we get a consistent format regardless of locale settings?