Calendar.findEvent() crashes the app


#1

I can create events, but when I try to find an event the app crashes. Any help on this? I am using the cordova plugin and ionic native.

Calendar.findEvent(title,eventLocation,notes,startDate,endDate).then(function (result) {
console.log(“Event exists”);
}, function (err) {
console.error("There was an error: " + err);
});


#2

When the app doesnt have the permissions to use the plugin it usually crashes.

Are you using it on a device? If so what kind of OS doest it run? We could use some more info.


#3

I can .createEvent() but not .findEvent(). It makes the app crash on a real device and emulator for both iOS and android.