Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding attendees when creating an event #75

Closed
GlennHendriksen opened this issue Jan 14, 2019 · 7 comments
Closed

Adding attendees when creating an event #75

GlennHendriksen opened this issue Jan 14, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@GlennHendriksen
Copy link

Hello there,

I have a problem with attendees. I'm creating calendar events for a flutter app I'm building. The user can select a person that he wants to schedule a meeting with, the app creates an event in the users calendar. Now I'm at the point that I want to add the selected person as an attendee so that the calendar event will be send to this person, and the selected person can accept/deny the invitation.

My problem is the following: I can't add attendees based on their e-mail address. The Attendee class only has a name property and (as far as I have tested) doesn't add anything to the actual event when I check the android calendar. Are there any plans to support this? Or am I doing something wrong?
This functionality sort of "makes or breaks" the plugin for me.

@MaikuB MaikuB added the enhancement New feature or request label Jul 5, 2019
@MaikuB
Copy link
Contributor

MaikuB commented Jul 5, 2019

We could potentially look at this in the future. Feel free to submit a PR

@MaikuB
Copy link
Contributor

MaikuB commented Aug 20, 2019

Just a follow-up on this, it's not possible to add attendees, at least not on iOS. See here for documentation about this

@thanhhuan1990
Copy link

Just a follow-up on this, it's not possible to add attendees, at least not on iOS. See here for documentation about this

Actually, now I can create an event with attendees by two step:

  1. Create event by code from this package.
  2. Insert or edit attendees for iOS and android by my native code.
    Android: ContentResolver + CalendarContract.
    iOS: EKParticipant + ekEvent!.setValue(attendees, forKey: "attendees")

Thanks for your response.

@MaikuB
Copy link
Contributor

MaikuB commented Aug 21, 2019

Thanks for the info, we know it can be done in Android and did recently come across that way you mentioned for iOS

@MaikuB
Copy link
Contributor

MaikuB commented Aug 23, 2019

@thanhhuan1990 what versions of iOS did you run the code on? there have been accounts of this approach not working in the past, which is a concern https://stackoverflow.com/questions/30627694/modifying-ekparticipants-attendees-in-eventkit-like-sunrise

@thanhhuan1990
Copy link

I'm not sure for all iOS version, but I released my application on Testflight for my team member (near 30 members), they use iPhone from 5s ~ X, and no problem happen with them until now.
If you found any issue about this, please let me know, thanks.

@MaikuB
Copy link
Contributor

MaikuB commented Aug 28, 2019

This should be in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants