Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Deleting events from native using ngcordova deleteEvent but not working

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>