diff --git a/GMERemittance/AppDelegate.swift b/GMERemittance/AppDelegate.swift index d3c87877..f0813d9f 100644 --- a/GMERemittance/AppDelegate.swift +++ b/GMERemittance/AppDelegate.swift @@ -109,17 +109,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD } private func registerForNotification(application: UIApplication) { -// if #available(iOS 10.0, *) { -// // For iOS 10 display notification (sent via APNS) -// UNUserNotificationCenter.current().delegate = self -// let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound] -// UNUserNotificationCenter.current().requestAuthorization( -// options: authOptions, -// completionHandler: {_, _ in }) -// } else { -// -// } -// + let settings: UIUserNotificationSettings = UIUserNotificationSettings(types: [.alert, .badge, .sound], categories: nil) application.registerForRemoteNotifications() diff --git a/GMERemittance/Module/Main/User Interface/Wireframe/MainWireframe.swift b/GMERemittance/Module/Main/User Interface/Wireframe/MainWireframe.swift index 2ea1d3ec..46e222c5 100644 --- a/GMERemittance/Module/Main/User Interface/Wireframe/MainWireframe.swift +++ b/GMERemittance/Module/Main/User Interface/Wireframe/MainWireframe.swift @@ -78,7 +78,6 @@ extension MainWireframe: MainWireframeInput { store.removeObject(forKey: "com.gmeremit.password") store.removeObject(forKey: " com.gmeremit.isReferred") store.removeObject(forKey: " com.gmeremit.isReferred") -// store.removeObject(forKey: UserKeys) store.removeObject(forKey: UserKeys.primaryAccountNumber) store.removeObject(forKey: UserKeys.primaryBankName) store.removeObject(forKey: UserKeys.province)