Alarm Kit - Change Alert settings after authorization request

Hello,

I am starting work on adding AlarmKit to an existing project. During testing, I ran into an issue that if I hit Deny during the authorization request, I can't find any way to turn the alarm back on in settings. The only way I can get an authorization request again is by uninstalling the app and installing it again. I would like to be able to prompt my users where they can turn the Alarm back on if they accidentally hit Deny. Am I just not seeing the settings to change this somewhere?

Thanks for the post. Yes the documentation says:

If a person using your app denies authorization, all attempts to schedule alarms fail.

https://developer.apple.com/documentation/alarmkit/alarmmanager/requestauthorization()

My question to you is, if you call

func requestAuthorization() async throws -> AlarmManager.AuthorizationState

when is denied, will that allow your app to request authorization again? Probably not due when the user denies a request fore authorization from the user, the system keeps that for default to avoid re-requesting the same permissions. Because the OS remembers the "Deny" state in the TCC database.

The best approach for this in my opinion is to request an enhancement request to a reset of that privacy permissions without deleting the app from configuration.

Hope this helps

Albert
  Worldwide Developer Relations.

Alarm Kit - Change Alert settings after authorization request
 
 
Q