requestAuthorization()
Requests permission to use the alarm system if it hasn’t been requested before.
Declaration
func requestAuthorization() async throws -> AlarmManager.AuthorizationStateDiscussion
If a person using your app denies authorization, all attempts to schedule alarms fail.