Skip to content

Calendar permission fail on iOS 17 (will be released on Sept 18th) #804

@andrejguran

Description

@andrejguran

Bug summary

In new iOS 17 (to be relased on 18th of Sept)
this permission request:

[[EKEventStore new] requestAccessToEntityType:EKEntityTypeEvent

is deprecated and throw error:
Error: -requestAccessToEntityType:completion: has been deprecated-calling this method is no longer allowed. Instead, use -requestFullAccessToEventsWithCompletion:, -requestWriteOnlyAccessToEventsWithCompletion:, or -requestFullAccessToRemindersWithCompletion:.

Deprication notice: https://developer.apple.com/documentation/eventkit/ekeventstore/1507547-requestaccesstoentitytype

Library version

3.9.0

Environment info

ios 17

Steps to reproduce

request calendar permissions on iOS 17

Reproducible sample code

`await request(PERMISSIONS.IOS.CALENDARS);`

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions