shoutem / react-native-calendar-manager

1 stars 3 forks source link

Permission error #4

Open helloagain-dev opened 8 months ago

helloagain-dev commented 8 months ago

Calling CalendarManager.addEvent gives the following permission error

LOG  {"message": "-requestAccessToEntityType:completion: has been deprecated-calling this method is no longer allowed. Instead, use -requestFullAccessToEventsWithCompletion:, -requestWriteOnlyAccessToEventsWithCompletion:, or -requestFullAccessToRemindersWithCompletion:.", "type": "permission"}
helloagain-dev commented 8 months ago

This is deprecated: https://developer.apple.com/documentation/eventkit/ekeventstore/1507547-requestaccesstoentitytype

And should be replaced by: https://developer.apple.com/documentation/eventkit/ekeventstore/4162274-requestwriteonlyaccesstoeventswi