Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18901] iOS: Getting error when using example code about Calendar

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-05-26T22:03:03.000+0000
Affected Version/sRelease 3.5.1, Release 4.0.0
Fix Version/sRelease 4.1.0
ComponentsiOS
Labelscalendar
ReporterShuo Liang
AssigneeChee Kiat Ng
Created2015-05-13T03:01:13.000+0000
Updated2015-06-02T10:58:07.000+0000

Description

Reproduce:

1. Run the example code "**Events in a year*" in our [doc](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Calendar). 2. Then click the views events button

Expect Result:

Should display the result.

Actual Result:

There will be a error in log console: "Error getting shared calendar invitations for entity types 3 from daemon: Error Domain=EKCADErrorDomain Code=1013 "The operation couldn’t be completed. (EKCADErrorDomain error 1013.)""

Comments

  1. Chee Kiat Ng 2015-05-26

    Did some check. Not reproducible on iOS 7.1 Only occurs on > iOS8. Most likely due to devices with non-existing shared calendars. Reference: https://support.apple.com/kb/PH11557?locale=en_US
  2. Chee Kiat Ng 2015-05-26

    PR Here: https://github.com/appcelerator/titanium_mobile/pull/6871
  3. Satyam Sekhri 2015-06-02

    No error shown with the example code. Verified on: Ti SDK: 4.1.0.v20150601234429 Device: iPhone 6Plus (v8.1), iOS simulator 8.3, 7.1

JSON Source