builttoroam / device_calendar

A cross platform plugin for modifying calendars on the user's device
https://pub.dev/packages/device_calendar
BSD 3-Clause "New" or "Revised" License
267 stars 267 forks source link

No email in calendar data #405

Closed antoijo closed 2 years ago

antoijo commented 2 years ago

Hi,

I don't understand why we don't have the user email in the calendar info.

I try to find "myself" in the attendees list of an event but I don't have enough data : attendee has only an email which can be different from calendar accountName or Name.

How do you proceed when you want a specific UI for events with different attendance statuses ?

Thanks!

thomassth commented 2 years ago

In our dev branch, there should now be a function that show whether you are the same person accessing a calendar event.

antoijo commented 2 years ago

I found this line in the dev branch :

https://github.com/builttoroam/device_calendar/blob/4fd197967887503f71257cd7fa244e05f447b80f/lib/src/models/attendee.dart#L23

It will solve my problem thanks! Do you have an idea when this will be published / stable ?