-
Notifications
You must be signed in to change notification settings - Fork 8
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
Added support for recurring events on Android and iOS #142
base: develop
Are you sure you want to change the base?
Added support for recurring events on Android and iOS #142
Conversation
+ Added new API method to delete recurring or normal events with specified span (needs to be tagged with @SInCE in JsDoc) Info: The new API endpoint needs to be added to the example app
@@ -381,6 +383,8 @@ export interface CapacitorCalendarPlugin { | |||
|
|||
/** | |||
* Deletes events from the calendar given their IDs. | |||
* If the event is recurring it will automatically delete this and future events. |
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.
This might lead to unwanted behaviors. Could you add an optional span
property for being able to choose between this or all future events to be deleted?
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.
The problem kind of is that this only needs to be supplied for recurring events.
It would be possible to add an EventSpan
array but this would have a lot of overhead for the caller of the function.
Maybe we could think of a different approach?
This Merge Request adds support for recurring events on the following platforms:
Additions
deleteEventById
(JsDoc needs to be updated with@since
)Important Info
Contributions
Closes #99