Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change permissions required for calendar in iOS 17+ #234

Merged
merged 3 commits into from
Oct 6, 2023
Merged

Change permissions required for calendar in iOS 17+ #234

merged 3 commits into from
Oct 6, 2023

Conversation

AndreasStokholm
Copy link
Contributor

This PR fixes an issue caused by iOS 17+ requiring higher permissions for the calendar integration in iAPS.

Enabling calendar when no permissions have been granted or rejected:
Asking permissions from notDetermined state

Enabling calendar when existing permissions are not enough:
Permission elevation required

Untested on xcode 14, but it's a port of these PRs from XDrip4iOS:

JohanDegraeve/xdripswift#461
JohanDegraeve/xdripswift#470

There might also be issues with permissions in Info.plist, but I don't quite understand how to change that information in xcode. I would appreciate someone more knowledgeable had a look at that particular part.

@Jon-b-m Jon-b-m merged commit 533aaaf into Artificial-Pancreas:dev Oct 6, 2023
mountrcg pushed a commit to mountrcg/iAPS that referenced this pull request Oct 6, 2023
…eas#234)

* Change permissions required for calendar in iOS 17+
mountrcg pushed a commit to mountrcg/iAPS that referenced this pull request Oct 7, 2023
…eas#234)

* Change permissions required for calendar in iOS 17+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants