@vinaypatil wrote:
hi
below is the code i m using to delete events from native calendar , but not working. i m getting the result success but resulted calendar name is different from which i have assigned,plz help me
$cordovaCalendar.deleteEvent({
newTitle: item.eventname,
//location: 'Africa',
// notes: 'Bring a saddle',
startDate: startdate,
endDate: enddate,
calendarName: $scope.resultedcalname
}).then(function (result) {
// success
console.log("Deleted in Native Cal = "+result);
}, function (err) {
// error
console.error("errrrrrorrrrr Delete Event= "+err);
});thank u
Posts: 1
Participants: 1