sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

iOS 17: Migrating to the new Calendar access levels #318

Closed ostatnicky closed 1 year ago

ostatnicky commented 1 year ago

As mentioned in https://github.com/sparrowcode/PermissionsKit/issues/316 (and not sure why it was closed without any interaction) iOS 17 has new API for calendar access.

eventStore.requestAccess

https://github.com/sparrowcode/PermissionsKit/blob/d10e48fb51a49b1a8db2a814ff7f7353415b72a3/Sources/CalendarPermission/CalendarPermission.swift#L54

should be replaced with new requestFullAccessToEvents.

So this PermissionKit will not work on iOS 17!

alexanderpuchta commented 1 year ago

@ostatnicky https://github.com/sparrowcode/PermissionsKit/pull/319 you can use my fork as long as this PR will be merged

ostatnicky commented 1 year ago

@ostatnicky #319 you can use my fork as long as this PR will be merged

You're a legend!

ivanvorobei commented 1 year ago

@ostatnicky hey. You miss my response - last release don't have any UI, only logic of request permissions. So it's very old release.

For now I see point of check it and shortly confirm PR.

ivanvorobei commented 1 year ago

released v9.1.0 you can upgrade now. thanks for PR and info!

ostatnicky commented 1 year ago

Thank you very much!

alexanderpuchta commented 1 year ago

you're welcome guys!