File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " cordova-plugin-calendar" ,
3- "version" : " 4.4.1 " ,
3+ "version" : " 4.4.2 " ,
44 "description" : " This plugin allows you to manipulate the native calendar." ,
55 "cordova" : {
66 "id" : " cordova-plugin-calendar" ,
Original file line number Diff line number Diff line change 33 xmlns =" http://apache.org/cordova/ns/plugins/1.0"
44 xmlns : android =" http://schemas.android.com/apk/res/android"
55 id =" cordova-plugin-calendar"
6- version =" 4.4.1 " >
6+ version =" 4.4.2 " >
77
88 <name >Calendar</name >
99
Original file line number Diff line number Diff line change @@ -279,7 +279,8 @@ - (void) deleteEventFromCalendar:(CDVInvokedUrlCommand*)command
279279 NSTimeInterval _endInterval = [endTime doubleValue ] / 1000 ; // strip millis
280280 NSDate *myEndDate = [NSDate dateWithTimeIntervalSince1970: _endInterval];
281281
282- NSArray *matchingEvents = [self findEKEventsWithTitle: title location: location notes: notes startDate: myStartDate endDate: myEndDate calendar: calendar];
282+ NSArray *calendars = [NSArray arrayWithObject: calendar];
283+ NSArray *matchingEvents = [self findEKEventsWithTitle: title location: location notes: notes startDate: myStartDate endDate: myEndDate calendars: calendars];
283284
284285 NSError *error = NULL ;
285286 for (EKEvent * event in matchingEvents) {
You can’t perform that action at this time.
0 commit comments