[TIMOB-17450] Android: Ti.Calendar.Event should expose the attendees of the meeting invite as a property (Parity with iOS)
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-08-30T15:15:08.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.2.0 |
Components | Android |
Labels | calendar, parity |
Reporter | Bert Grantges |
Assignee | Yordan Banev |
Created | 2014-08-03T16:46:19.000+0000 |
Updated | 2017-08-30T15:15:15.000+0000 |
Description
All properties associated with a Calendar Event should be exposed. Currently for example you can't see the attendees of the event, which is an important aspect of the Calendar event.
Has there been any review of this issue? It seems that it is exposing a property that is cleanly available through both the Android Platform and the iOS platform. I'd like to help on this if possible, since it is directly impacting a project I am working on. Let me know if I can help!
Hi [~Yrkh8trnoy], we have reviewed it, but not scheduled it for a release. I would expect that you should be able to view the existing calendar code and see if you can arrive at a proposed implementation. I would suggest first coming up with a proposal of what the property would look like.
Thanks for the quick reply @ingo. Since the property is an array of EKParticipant objects (for iOS, haven't checked Android yet). Keeping in mind that on iOS, "attendees" is a read-only property, and they suggest not creating new EKParticipant object, here's what i am thinking: * Create an EKParticipantProxy (or some better name) that I can then access through my Titanium code and iterate over it there. This seems to be overkill, especially for a read-only, 5-property object, but it seems like the only actual valid way of doing it.
So I see this was never resolved and has popped up as an issue once again in our code.
Hi, I've started to use the Ti.Calendar.Event in my code and this functionality will be important for me. This issue seems to be a couple years old and I was wondering if there are any updates on it?
iOS: https://developer.apple.com/library/ios/documentation/EventKit/Reference/EKParticipantClassRef/index.html#//apple_ref/c/tdef/EKParticipantType Android: http://developer.android.com/guide/topics/providers/calendar-provider.html#attendees Not all properties can be mapped since there is certain variation or non-existing properties. The following can be considered name: The attendee name email: The attendee email. For iOS this is URL.resourceSpecifier http://stackoverflow.com/questions/13642786/how-to-get-ekevent-ekparticipant-email role: Role of attendee - required, optional. EKParticipant.role in iOS, ATTENDEE_TYPE in Android. status: Attendee status - unknown, accepted, declined, tentative.
Thanks @Srikanth. Looking forward to working with it soon! I'm guessing the Windows implementation of this would be via hyperloop?
Hi folks, I see this is in progress. How's it coming along?
PR for iOS and Android: https://github.com/appcelerator/titanium_mobile/pull/7981 Use the following app.js to test the code
PR has been closed and rejected as the Android portion doesn't compile.
Has there been any new movement on this folks?
Scheduling for 6.2.0 for now. TIMOB-18927 exposed this for iOS, the Android equivalent should be handled in this ticket.
PR: https://github.com/appcelerator/titanium_mobile/pull/9325
FR Passed for master. PR merged.
6_2_X: https://github.com/appcelerator/titanium_mobile/pull/9376