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
[TIMOB-3035]iOS: EventKit module #3951
Conversation
description: | | ||
Always returns `AUTHORIZATION_AUTHORIZED` on iOS pre-6.0. | ||
|
||
If `contactsAuthorization` is `AUTHORIZATION_RESTRICTED`, you should not |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contactsAuthorization? Also, what sort of issues? (If Apple is vague, can we link to their docs?)
|
||
-(EKEventStore*)store | ||
{ | ||
if (store == NULL) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor quibble. For Obj-C objects, we should use nil.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed
if (result == NO || error != nil) { | ||
DebugLog(@"Unable to remove event from eventStore."); | ||
NSDictionary *errorEvent = [NSDictionary dictionaryWithObject:NUMINT(result) forKey:@"result"]; | ||
[self fireEvent:@"complete" withObject:errorEvent errorCode:[error code] message:[TiUtils messageFromError:error]]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there ever a time we fire a complete that's successful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have no clue why its even there. removed in next commit.
Talked with Sabil for new commit on things that need doing. |
CR and FR passed. Pressing big green button. |
[TIMOB-3035]iOS: EventKit module
EventKit module contains:
** Basic Calendar fetching and reading all of its properties.
** Accessing, modify and delete events.
** Create , update alerts
** Create, delete recurrence rules for events.
There are some sample code for testing within the documentation.
Detailed testing code will be provided along with JIRA TICKET