Skip to content

Commit

Permalink
[CHORE] some code
Browse files Browse the repository at this point in the history
Co-authored-by: 홍승현 <[email protected]>
  • Loading branch information
minji0801 and WhiteHyun authored Feb 25, 2023
1 parent 0852bcd commit 2cb07ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions PPAK_CVS/Sources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

// User Notification Authorization
let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound]
UNUserNotificationCenter.current().requestAuthorization(
options: authOptions,
completionHandler: { _, error in
UNUserNotificationCenter.current().requestAuthorization(options: authOptions) { _, error in
print("Error request notifications Authorization: \(error.debugDescription)")
}
)
application.registerForRemoteNotifications()

Thread.sleep(forTimeInterval: 1.0)
Expand Down

0 comments on commit 2cb07ac

Please sign in to comment.