[TIMOB-17245] Android: Android Calendar fix for Recurring events
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2018-06-12T11:05:19.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | n/a |
Components | Android |
Labels | android, calendar |
Reporter | David Call |
Assignee | Yordan Banev |
Created | 2014-06-05T18:15:53.000+0000 |
Updated | 2018-06-12T11:05:19.000+0000 |
Description
We have found it is very simple to enable this with a few lines of code. Our app currently depends on this fix. We would appreciate it if you could add these lines of code to your repository for the next release.
In EventProxy.java under android/modules/calendar/src/java/ti/modules/titanium/calendar
add the following to the createEvent function - i put it after the data.containsKey("end") section
if (data.containsKey("rrule")) {
event.recurrenceRule = TiConvert.toString(data, "rrule");
eventValues.put("rrule", event.recurrenceRule);
}
Thanks for your report! The priority will be set by the Platform Team.
Recurring alarms can be simply provided on Android with AlarmManager.setRepeating() also.
This fix is for Recurring Events not alarms.
Amazing how adding two lines of code (given to you) takes over 3 years!!!!!!!