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

camera and reminder usage with iOS 17 #319

Closed alexanderpuchta closed 1 year ago

alexanderpuchta commented 1 year ago

Goal

since iOS 17 has released fullAccess, writeOnly usage to reminders and calendars we need to adjust the requestsAuthorization calls.

ivanvorobei commented 1 year ago

Thanks for PR! Merged and shortly release new version

alexanderpuchta commented 1 year ago

@ivanvorobei i have a second improvement to provide .calendar or .calendarWriteOnly this will use eventStore.requestFullAccessToEvents and eventStore.requestWriteOnlyAccessToEvents. I will raise another PR, if you want to use it, feel free :)