EddyVerbruggen / Calendar-PhoneGap-Plugin

:date: Cordova plugin to Create, Change, Delete and Find Events in the native Calendar
774 stars 403 forks source link

On iOS modifyEventWithOptions mixes up arguments #549

Open dreusel opened 3 years ago

dreusel commented 3 years ago

This happens because it expects an extra newOptions argument before the callbacks, which is neither documented nor provided by the variation functions calling it. So the successCallback is received as newOptions and errorCallback is received as successCallback. The result is that on success, the errorCallback is invoked and on error no callback is invoked.