Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24042] iOS / Android: Creating and deleting calendars, recurrence rules

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, iOS, TiAPI
Labelsandroid, calendar, demo_app, ios, parity
ReporterFlavio De Stefano
AssigneeVijay Singh
Created2016-05-24T13:04:48.000+0000
Updated2019-01-03T16:21:00.000+0000

Description

Added possibility to create and delete calendars

Comments

  1. Sharif AbuDarda 2016-05-24

    Hello, Thanks for creating the ticket. The Calendar module provides an API for accessing the native calendar functionality.This module supports retrieving information about existing events and creating new events. Modifying or deleting existing events and creating recurring events are only supported on iOS. Currently, on Android, calendar permissions must be explicitly configured in tiapp.xml in order to access the calendar. http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Calendar Regards, Sharif.
  2. Hans Knöchel 2016-08-07

    Reopening ticket, since it is the reference ticket of [this community-PR](https://github.com/appcelerator/titanium_mobile/pull/8016). [~kopiro] Please add some more infos, demo-code and (if possible) a time-frame when we can plan with the PR. I will move it to the TIMOB-namespace afterwards. Thank you!
  3. Sharif AbuDarda 2016-08-30

    Hello, [~kopiro], Can you please add some more infos, demo-code and (if possible) a time-frame when we can plan with the PR. Thanks.
  4. Sharif AbuDarda 2016-09-08

    Hello [~kopiro], Can you please add some more infos??
  5. Flavio De Stefano 2016-09-16

    I'm sorry for the delay, I'll quickly add examples codes during this weekend.
  6. Sharif AbuDarda 2016-10-13

    Hello [~kopiro]????
  7. Flavio De Stefano 2016-10-17

    Hello. So, we made breaking changes to the Calendar Module. This PR is not about "Creating and deleting" no more. *Additions:* - Creation and deletions of calendars - Support for iOS and Recurrence rules from strings (like Android) - Added the rrule property to the Events in Android - Added the save method for events in Android *BREAKING CHANGES:* - The months in JS + Android are 0-based, instead in iOS are 1-based. we merged this behaviour and now iOS is zero-based too. Maybe we should discuss about this.
  8. Hans Knöchel 2016-10-17

    Hey Favio, interesting fact regarding the month-count. I would like to know how other platforms handle this, can you check that? And if we migrate it, we need to find a way to inform users about the changed behavior, so: docs update, warn-log and mention in the release-notes. As soon as the PR is up, we can schedule a release for it, I will already move it TIMOB. Thanks!
  9. Flavio De Stefano 2016-10-18

    In PhoneGap, they use 0-based months (https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin) ... but, they rely on the timestamps: https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/blob/master/src/ios/Calendar.m#L740 The main problem in Titanium implementation is that the function method declarations are bad for this purpose: - *getEventsInDate(Year, Month, Day)* - *getEventsInMonth(Year, Month)* this forces to re-index the month for the current platform. Maybe, an option could be to declare these two methods as deprecated and continue using only getEventsBetweenDates that is not index-based.
  10. Hans Knöchel 2016-12-16

    Some update here: We didn't forget you :-) But since it's a breaking change, we need to put it in 7.0.0 anyway. That also gives us some more time to test this intensively on both platforms. And maybe we can even achieve parity with Windows until then. Thanks guys!
  11. Hans Knöchel 2017-05-15

    Moving up one release, so we will expose it in 6.2.0 instead of 7.0.0. This is made possible by keeping the month-index where it is for now. For parity reasons, that should be aligned in 7.0.0. *EDIT*: Due to other changes and bugfixes that had to move before this feature, we schedule it for 7.0.0 and do the indexing right the first place. Sorry for the up and down, hopefully it makes sense to everyone!
  12. Kiley Williams 2019-01-03

    This seems to still be open. Any update on this?

JSON Source