I am trying to add a calendar event but I am getting an undefined for Ti.Calendar.defaultCalendar and Ti.Calendar.getAllCalendars() is an empty array. I am trying this on a device. Does anybody know if there is an issue with this in iOS7? I do not have an iOS6 device to test on so I cannot see if this works there.
SDK 3.1.2.GA