Cordova IOS 7.1 Calendar is read only. -


we using cordova built cross platform app. calendars getting saved in ios 7.0 , prior. in newest version gives error. calendar not found while creating calendar, if create calendar manually using iphone calendar application, calendar read error.

we using calendar plugin of eddyverbruggen.

var startdate = new date(2014,10,1,18,30,0,0,0); var enddate = new date(2014,10,30,19,30,0,0,0); var title = tempitem.name; var location = "home"; var notes = tempitem.description;  var success = function(message) { alert("success: " + json.stringify(message)); }; var error = function(message) { alert("error: " + message); };  var createcaloptions = window.plugins.calendar.getcreatecalendaroptions(); createcaloptions.calendarname = "calendar"; createcaloptions.calendarcolor = "#ff0000"; // optional hex color (with # char), default null, os picks color window.plugins.calendar.createcalendar(createcaloptions,success,error); window.plugins.calendar.createeventinnamedcalendar(title,location,notes,startdate,enddate,"calendar",success,error); 

i resolved issue not giving calendar name while saving events. events getting save in default calendar.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -