Skip to content

Commit 1f29225

Browse files
committed
[fix] 임시권한 삭제
1 parent a415a5d commit 1f29225

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Projects/App/Sources/AppDelegate/AppDelegateFeature.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,9 @@ public struct AppDelegateFeature {
5959
group.addTask {
6060
let setting = await self.userNotifications.getNotificationSettings()
6161
switch setting.authorizationStatus {
62-
case .authorized:
62+
case .authorized, .notDetermined:
6363
guard try await self.userNotifications.requestAuthorization([.alert, .sound])
6464
else { return }
65-
case .notDetermined, .provisional:
66-
guard try await self.userNotifications.requestAuthorization(.provisional)
67-
else { return }
6865
default: return
6966
}
7067
await self.registerForRemoteNotifications()

0 commit comments

Comments
 (0)