Skip to content

Can't saveEvent With Id #341

@cormacncheese

Description

@cormacncheese

When I try to add an id to my new event I get an error: "Unknown error from a native module". I'm running it on iOS iPhone 11 Pro

I can add a basic event just fine without an id:

RNCalendarEvents.saveEvent(classDoc.name,
        {
          startDate: st,
          endDate: et,
        },
) 

but as soon as I add an id, it breaks:

RNCalendarEvents.saveEvent(classDoc.name,
        {
          id: 'FE6B128F-C0D8-4FB8-8FC6-D1D6BA015CDE',
          startDate: st,
          endDate: et,
        },
) 

Error: Unknown error from a native module

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions