|
|
|
|
@ -14,6 +14,9 @@ class AppDelegate : NSObject, UIApplicationDelegate, UNUserNotificationCenterDel |
|
|
|
|
|
|
|
|
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions:[UIApplication.LaunchOptionsKey: Any]?) -> Bool { |
|
|
|
|
// Override point for customization after application launch. |
|
|
|
|
|
|
|
|
|
_ = Guard.main // init guard |
|
|
|
|
|
|
|
|
|
UIApplication.shared.registerForRemoteNotifications() |
|
|
|
|
UNUserNotificationCenter.current().delegate = self |
|
|
|
|
|
|
|
|
|
|