cannot set when recurring event ends
See original GitHub issueRNCalendarEvents.saveEvent('title', { location: 'location', notes: 'notes', startDate: '2017-05-20T19:26:00.000Z', endDate: '2017-05-20T20:26:00.000Z', alarms: [{ date: -1 // or absolute date - iOS Only }], recurrence: 'daily' })
This will create a recurring event from 19:26 to 20:26 daily. And it goes on forever.
In your RNCalendarEvent.m, you set the end date to be nil,
if ([validFrequencyTypes containsObject:frequency]) { rule = [[EKRecurrenceRule alloc] initRecurrenceWithFrequency:[self frequencyMatchingName:frequency] interval:1 end:nil]; }
which means the recurring event goes on forever.
Can you update this part to allow user to set an end date.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
@zalesky I push a new android-recurrence branch with WIP changes for creating and reading recurrence rules. Hopefully this can help until I can get the next release out.
These changes are now in 1.4.0.